Home
last modified time | relevance | path

Searched refs:SA_LEN (Results 1 – 4 of 4) sorted by relevance

/external/libpcap/
Dfad-getad.c104 #ifndef SA_LEN
106 #define SA_LEN(addr) ((addr)->sa_len) macro
133 #define SA_LEN(addr) (get_sa_len(addr)) macro
135 #define SA_LEN(addr) (sizeof (struct sockaddr)) macro
224 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()
Dfad-gifc.c97 #ifndef SA_LEN
99 #define SA_LEN(addr) ((addr)->sa_len) macro
101 #define SA_LEN(addr) (sizeof (struct sockaddr)) macro
227 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()
/external/mdnsresponder/Clients/
Ddns-sd.c162 # define SA_LEN(addr) (_sa_len(addr)) macro
176 …#define SA_LEN(addr) (((addr)->sa_family == AF_INET6)? sizeof(struct sockaddr_in6) : sizeof(struct… macro
955 else memcpy(result, addrs->ai_addr, SA_LEN(addrs->ai_addr)); in getip()
/external/e2fsprogs/
Dconfigure.ac1109 dnl Check for the presence of SA_LEN