|
RTEMS CPU Kit with SuperCore
4.11.3
|
#include <sys/cdefs.h>#include <sys/types.h>#include <sys/ioctl.h>#include <sys/socket.h>#include <net/if.h>#include <errno.h>#include <ifaddrs.h>#include <stdlib.h>#include <string.h>
Macros | |
| #define | SA_LEN(sa) sizeof(struct sockaddr) |
| #define | SALIGN (sizeof(long) - 1) |
| #define | SA_RLEN(sa) ((sa)->sa_len ? (((sa)->sa_len + SALIGN) & ~SALIGN) : (SALIGN + 1)) |
| #define | ALIGNBYTES XXX |
| #define | ALIGN(p) (((u_long)(p) + ALIGNBYTES) &~ ALIGNBYTES) |
| #define | MAX_SYSCTL_TRY 5 |
Functions | |
| int | getifaddrs (struct ifaddrs **pif) |
| void | freeifaddrs (struct ifaddrs *ifp) |
1.8.13