17 #ifndef CC32XX_SOCK_H_
18 #define CC32XX_SOCK_H_
38 #undef EPROTONOSUPPORT
50 #include "simplelink.h"
66 #define _SS_PADSIZE (128 - (2 * sizeof (unsigned long)))
80 #define KAA_HTONS(hostshort) htons((hostshort))
81 #define KAA_HTONL(hostlong) htonl((hostlong))
82 #define KAA_HTONLL(hostlonglong) kaa_htonll((hostlonglong))
84 #define KAA_NTOHS(netshort) ntohs((netshort))
85 #define KAA_NTOHL(netlong) ntohl((netlong))
86 #define KAA_NTOHLL(netlonglong) kaa_ntohll((netlonglong))
socklen_t ai_addrlen
Definition: sock.h:60
unsigned long __ss_align
Definition: sock.h:70
char * ai_canonname
Definition: sock.h:62
unsigned short ss_family
Definition: sock.h:69
char __ss_padding[_SS_PADSIZE]
Definition: sock.h:71
int ai_protocol
Definition: sock.h:59
int ai_socktype
Definition: sock.h:58
struct addrinfo * ai_next
Definition: sock.h:63
int ai_flags
Definition: sock.h:56
struct sockaddr * ai_addr
Definition: sock.h:61
int ai_family
Definition: sock.h:57