Lines Matching refs:sockaddr
51 #define sockaddr_storage sockaddr
56 #define GET_SA_LEN(X) (sizeof(struct sockaddr) > ((struct sockaddr*)&(X))->sa_len ? \
57 sizeof(struct sockaddr) : ((struct sockaddr*)&(X))->sa_len )
59 #define GET_SA_LEN(X) (((struct sockaddr*)&(X))->sa_family == AF_INET ? sizeof(struct sockaddr_in)…
60 …((struct sockaddr*)&(X))->sa_family == AF_INET6 ? sizeof(struct sockaddr_in6) : sizeof(struct sock…
62 …define GET_SA_LEN(X) (((struct sockaddr*)&(X))->sa_family == AF_INET ? sizeof(struct sockaddr_in) …
83 struct sockaddr *sa, socklen_t *salenptr, struct my_in_pktinfo *pktp, u_char *ttl);
92 struct sockaddr *ifi_addr; /* primary address */
93 struct sockaddr *ifi_netmask;
94 struct sockaddr *ifi_brdaddr;/* broadcast address */
95 struct sockaddr *ifi_dstaddr;/* destination address */