nano-client API Reference
|
Typedefs | |
typedef NANO_u32 | NANO_Ipv4Addr |
A data type to repreent IPv4 addresses. More... | |
Functions | |
void | NANO_OSAPI_Ipv4Addr_from_octets (NANO_Ipv4Addr *const self, const NANO_u8 b0, const NANO_u8 b1, const NANO_u8 b2, const NANO_u8 b3) |
Generate an IPv4 address (as a 32-bit unsigned integer in network endianness) from individual octet components. More... | |
NANO_bool | NANO_OSAPI_Ipv4Addr_is_loopback (const NANO_Ipv4Addr self) |
TODO. More... | |
NANO_bool | NANO_OSAPI_Ipv4Addr_is_multicast (const NANO_Ipv4Addr self) |
typedef NANO_u32 NANO_Ipv4Addr |
A data type to repreent IPv4 addresses.
The address is stored in network endianness (i.e. big-endian).
void NANO_OSAPI_Ipv4Addr_from_octets | ( | NANO_Ipv4Addr *const | self, |
const NANO_u8 | b0, | ||
const NANO_u8 | b1, | ||
const NANO_u8 | b2, | ||
const NANO_u8 | b3 | ||
) |
Generate an IPv4 address (as a 32-bit unsigned integer in network endianness) from individual octet components.
self | The IP address to set. |
b0 | The first (most significant) octet of the address. |
b1 | The second octet of the address. |
b2 | The third octet of the address. |
b3 | The fourth (least significant) octet of the address. |
NANO_bool NANO_OSAPI_Ipv4Addr_is_loopback | ( | const NANO_Ipv4Addr | self | ) |
TODO.
self |
NANO_bool NANO_OSAPI_Ipv4Addr_is_multicast | ( | const NANO_Ipv4Addr | self | ) |
self |