Searched refs:_sa (Results 1 – 2 of 2) sorted by relevance
108 int sockaddr_port(const struct sockaddr *_sa, unsigned *port);112 int sockaddr_pretty(const struct sockaddr *_sa, socklen_t salen, bool translate_ipv6, bool include_…206 const struct sockaddr_ll *_sa = &(sa); \207 size_t _mac_len = sizeof(_sa->sll_addr); \208 assert(_sa->sll_family == AF_PACKET); \209 if (be16toh(_sa->sll_hatype) == ARPHRD_ETHER) \211 if (be16toh(_sa->sll_hatype) == ARPHRD_INFINIBAND) \219 const struct sockaddr_un *_sa = &(sa); \220 assert(_sa->sun_family == AF_UNIX); \222 (_sa->sun_path[0] == 0 ? \[all …]
358 int sockaddr_port(const struct sockaddr *_sa, unsigned *ret_port) { in sockaddr_port() argument359 const union sockaddr_union *sa = (const union sockaddr_union*) _sa; in sockaddr_port()384 const union in_addr_union *sockaddr_in_addr(const struct sockaddr *_sa) { in sockaddr_in_addr() argument385 const union sockaddr_union *sa = (const union sockaddr_union*) _sa; in sockaddr_in_addr()439 const struct sockaddr *_sa, in sockaddr_pretty() argument445 union sockaddr_union *sa = (union sockaddr_union*) _sa; in sockaddr_pretty()