Searched refs:SA_LEN (Results 1 – 4 of 4) sorted by relevance
104 #ifndef SA_LEN106 #define SA_LEN(addr) ((addr)->sa_len) macro133 #define SA_LEN(addr) (get_sa_len(addr)) macro135 #define SA_LEN(addr) (sizeof (struct sockaddr)) macro224 addr_size = SA_LEN(addr); in pcap_findalldevs_interfaces()250 broadaddr_size = SA_LEN(broadaddr); in pcap_findalldevs_interfaces()258 dstaddr_size = SA_LEN(ifa->ifa_dstaddr); in pcap_findalldevs_interfaces()
97 #ifndef SA_LEN99 #define SA_LEN(addr) ((addr)->sa_len) macro101 #define SA_LEN(addr) (sizeof (struct sockaddr)) macro227 n = SA_LEN(&ifrp->ifr_addr) + sizeof(ifrp->ifr_name); in pcap_findalldevs_interfaces()306 netmask_size = SA_LEN(netmask); in pcap_findalldevs_interfaces()337 broadaddr_size = SA_LEN(broadaddr); in pcap_findalldevs_interfaces()376 dstaddr_size = SA_LEN(dstaddr); in pcap_findalldevs_interfaces()420 &ifrp->ifr_addr, SA_LEN(&ifrp->ifr_addr), in pcap_findalldevs_interfaces()
162 # define SA_LEN(addr) (_sa_len(addr)) macro176 …#define SA_LEN(addr) (((addr)->sa_family == AF_INET6)? sizeof(struct sockaddr_in6) : sizeof(struct… macro955 else memcpy(result, addrs->ai_addr, SA_LEN(addrs->ai_addr)); in getip()
1109 dnl Check for the presence of SA_LEN