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)) macro185 addr_size = SA_LEN(addr); in pcap_findalldevs_interfaces()211 broadaddr_size = SA_LEN(broadaddr); in pcap_findalldevs_interfaces()219 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)) macro211 n = SA_LEN(&ifrp->ifr_addr) + sizeof(ifrp->ifr_name); in pcap_findalldevs_interfaces()281 netmask_size = SA_LEN(netmask); in pcap_findalldevs_interfaces()312 broadaddr_size = SA_LEN(broadaddr); in pcap_findalldevs_interfaces()351 dstaddr_size = SA_LEN(dstaddr); in pcap_findalldevs_interfaces()395 SA_LEN(&ifrp->ifr_addr), netmask, netmask_size, 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()
1008 dnl Check for the presence of SA_LEN