Home
last modified time | relevance | path

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

/external/libpcap/
Dfad-getad.c103 #ifndef SA_LEN
105 #define SA_LEN(addr) ((addr)->sa_len) macro
132 #define SA_LEN(addr) (get_sa_len(addr)) macro
134 #define SA_LEN(addr) (sizeof (struct sockaddr)) macro
223 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()
Dfad-gifc.c91 #ifndef SA_LEN
93 #define SA_LEN(addr) ((addr)->sa_len) macro
95 #define SA_LEN(addr) (sizeof (struct sockaddr)) macro
221 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()
/external/libwebsockets/lib/misc/
Dgetifaddrs.c128 #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()
/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