Go to the source code of this file.
|
#define | SLNETUTIL_IPV4_VAL(add_3, add_2, add_1, add_0) ((((uint32_t)add_3 << 24) & 0xFF000000) | (((uint32_t)add_2 << 16) & 0xFF0000) | (((uint32_t)add_1 << 8) & 0xFF00) | ((uint32_t)add_0 & 0xFF) ) |
|
|
int32_t | SlNetutil_init (int32_t flags) |
| Initialize the slnetutil module. More...
|
|
int32_t | SlNetUtil_getHostByName (uint32_t ifBitmap, char *name, const uint16_t nameLen, uint32_t **ipAddr, uint16_t *ipAddrLen, const uint8_t family) |
| Get host IP by name
Obtain the IP Address of machine on network, by machine name. More...
|
|
uint32_t | SlNetUtil_htonl (uint32_t val) |
| Reorder the bytes of a 32-bit unsigned value. More...
|
|
uint32_t | SlNetUtil_ntohl (uint32_t val) |
| Reorder the bytes of a 32-bit unsigned value. More...
|
|
uint16_t | SlNetUtil_htons (uint16_t val) |
| Reorder the bytes of a 16-bit unsigned value. More...
|
|
uint16_t | SlNetUtil_ntohs (uint16_t val) |
| Reorder the bytes of a 16-bit unsigned value. More...
|
|
const char * | SlNetUtil_inetNtop (int16_t addrFamily, const void *binaryAddr, char *strAddr, SlNetSocklen_t strAddrLen) |
| Converts IP address in binary representation to string representation. More...
|
|
int32_t | SlNetUtil_inetPton (int16_t addrFamily, const char *strAddr, void *binaryAddr) |
| Converts IP address in string representation to binary representation. More...
|
|