ip-parser vocabulary
Factor handbook ยป Vocabulary index


Summary
Parsing IPv4 and IPv6 addresses

Metadata
Tags:parsing
Authors:John Benediktsson


Words

Tuple classes
ClassSuperclassSlots
bad-ipv4-component tuplestring
bad-ipv4-embedded-prefix tupleobj
bad-ipv6-component tupleobj
malformed-ipv4 tuplestring
malformed-ipv6 tuplestring
more-than-8-components tuple


Ordinary words
WordStack effect
bad-ipv4-component( string -- * )
bad-ipv4-embedded-prefix( obj -- * )
bad-ipv6-component( obj -- * )
ipv4-aton( ip -- integer )
ipv4-ntoa( integer -- ip )
ipv6-aton( ip -- integer )
ipv6-ntoa( integer -- ip )
malformed-ipv4( string -- * )
malformed-ipv6( string -- * )
more-than-8-components( -- * )
normalize-ipv4( str -- newstr )
parse-ipv4( str -- byte-array )
parse-ipv6( string -- seq )


Class predicate words
WordStack effect
bad-ipv4-component?( object -- ? )
bad-ipv4-embedded-prefix?( object -- ? )
bad-ipv6-component?( object -- ? )
malformed-ipv4?( object -- ? )
malformed-ipv6?( object -- ? )
more-than-8-components?( object -- ? )


Files


Metadata files