Data Structures | |
struct | ipv4addr |
IPv4 address structure. More... | |
Typedefs | |
typedef uint16 | ipv4port |
Functions | |
int | ipv4_parse (const char *s, ipv4addr *addr, const char **end) |
const char * | ipv4_scan (const char *s, ipv4addr *addr) |
const char * | ipv4_format (const ipv4addr *addr) |
unsigned | fmt_ipv4addr (char *buffer, const ipv4addr *addr) |
Variables | |
const ipv4addr | IPV4ADDR_ANY |
const ipv4addr | IPV4ADDR_BROADCAST |
const ipv4addr | IPV4ADDR_LOOPBACK |
|
IPv4 port number.
|
|
Produce a formatted string from an IPv4 address.
The given buffer must be at least 15 bytes long, or 16 bytes if it needs to contain the standard trailing
|
|
Produce a formatted C string from an IPv4 address.
|
|
Parse an IPv4 address.
|
|
Scan a C string for an IPv4 address.
|
|
IPv4 "any" address constant.
|
|
IPv4 broadcast address constant.
|
|
IPv4 loopback address constant.
|