Searched refs:SA_LEN (Results 1 – 5 of 5) sorted by relevance
103 #ifndef SA_LEN105 #define SA_LEN(addr) ((addr)->sa_len) macro132 #define SA_LEN(addr) (get_sa_len(addr)) macro134 #define SA_LEN(addr) (sizeof (struct sockaddr)) macro223 addr_size = SA_LEN(addr); in pcap_findalldevs_interfaces()249 broadaddr_size = SA_LEN(broadaddr); in pcap_findalldevs_interfaces()257 dstaddr_size = SA_LEN(ifa->ifa_dstaddr); in pcap_findalldevs_interfaces()
91 #ifndef SA_LEN93 #define SA_LEN(addr) ((addr)->sa_len) macro95 #define SA_LEN(addr) (sizeof (struct sockaddr)) macro221 n = SA_LEN(&ifrp->ifr_addr) + sizeof(ifrp->ifr_name); in pcap_findalldevs_interfaces()300 netmask_size = SA_LEN(netmask); in pcap_findalldevs_interfaces()331 broadaddr_size = SA_LEN(broadaddr); in pcap_findalldevs_interfaces()370 dstaddr_size = SA_LEN(dstaddr); in pcap_findalldevs_interfaces()414 &ifrp->ifr_addr, SA_LEN(&ifrp->ifr_addr), in pcap_findalldevs_interfaces()
128 #ifdef SA_LEN in getifaddrs2()129 salen = SA_LEN(sa); in getifaddrs2()130 sz = max(sz, sizeof(ifr->ifr_name) + SA_LEN(sa)); in getifaddrs2()
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