bend-kit-netip
Releases (1)
-
0.1.0.0 indexed
Definitions (67)
netip.bend
- type AddrV4: the address as one big-endian word.
- def hexvalA hex digit's value, or 16 when c is not one.
- def hex.step
- def hex.go
- def hextet.ok
- def hextetOne IPv6 group: 1 to 4 hex digits, either case.
- def dec.stepA non-digit wraps past 9 in (c - 48), so it fails the digit test.
- def dec.go
- def octet.lead1 to 3 characters, and no leading zero unless the octet is "0".
- def octet.max
- def octet.ok
- def octet
- def v4.parts
- def v4.wordDotted-decimal IPv4 as its big-endian word.
- def v4.wrap
- def v4
- type WalkGroups read so far, each list newest first.
- def walk.push
- def v6.hex
- def v6.gapAn empty inner segment is the one "::".
- def v6.mid.seg
- def v6.mid
- def v6.trailAn empty last segment is the second colon of a trailing "::".
- def v6.dotEmbedded dotted IPv4 fills the last two groups.
- def v6.last.kind
- def v6.last.text
- def v6.last.seg
- def v6.last
- def v6.goh: the current segment; t: the segments after it.
- def v6.words
- def v6.pad"::" stands for at least one zero group.
- def v6.fill
- def v6.fin
- def v6The ":"-split segments.
- def parse.fam
- def parseStrict address text: 4 dotted-decimal octets, or RFC 4291 IPv6 with at most one "::" and an optional trailing dotted IPv4.
- def hex.charHex fields contain no leading zeros.
- def hex.two
- def hex.three
- def hex.four
- def hex.many
- def hex.more
- def hex.group.small
- def hex.group
- def groups
- def zeros.bestKeep the first run when two longest zero runs tie.
- def v6.field.if
- def v6.field
- def v6.render
- def v6.show.run
- def v4.show
- def v6.show.mapped
- def showRFC 5952: lowercase, shortest hex groups, longest leftmost "::" run.
- def eq
- type Prefix
- def prefix.digits
- def prefix.limit
- def prefix.valid
- def prefix.number
- def prefix.addr
- def prefix.parts
- def prefix.parse
- def prefix.show
- def mask
- def leading
- def word.contains
- def containsAddress and prefix families must match.