structs_type_ip4
—
structs types for IP addresses
PDEL Library (libpdel, -lpdel)
structs_type_ip4
is a
structs(3)
type for IP addresses. The represented data type is a struct
in_addr
.
The ASCII string parser for this type is stricter than
inet_aton(3).
There must be four numbers, all within the range 0 - 255, separated by
periods. Whitespace is allowed, but only at the beginning or the end of the
string.
The PDEL library was developed at Packet Design, LLC.
http://www.packetdesign.com/
Archie Cobbs ⟨archie@freebsd.org⟩