Procs
proc ipv4ToString(ip: Ipv4): string {....raises: [], tags: [].}
- Returns an IPv4 textual representation of an ip. Source Edit
proc ipv4ToUInt32(ip: Ipv4): uint32 {.inline, ...raises: [], tags: [].}
- Turns an Ipv4 type into uint32. Source Edit
proc isIpv4AndStore(ip: string; stored: var Ipv4): bool {....raises: [], tags: [].}
- Returns true if the value of ip is a valid IPv4 and store the value into stored. Source Edit
proc uint32ToIpv4(ip: uint32): Ipv4 {.inline, ...raises: [], tags: [].}
- Turns a uint32 type into Ipv4. Source Edit