/external/dhcpcd/ |
D | if-bsd.c | 66 #define ADVANCE(x, n) (x += ROUNDUP((n)->sa_len)) 201 l = ROUNDUP(_su.sa.sa_len); \ in if_route() 257 p = su.sa.sa_len + (char *)&su; in if_route() 258 for (su.sa.sa_len = 0; p > (char *)&su;) in if_route() 260 su.sa.sa_len = 1 + p - (char *)&su; in if_route() 403 rti_info[RTAX_IFA]->sa_len); in manage_link()
|
D | net.c | 427 MIN(ifa->ifa_addr->sa_len, sizeof(iflr.addr))); in discover_interfaces()
|
/external/mdnsresponder/mDNSPosix/ |
D | mDNSUNP.h | 56 #define GET_SA_LEN(X) (sizeof(struct sockaddr) > ((struct sockaddr*)&(X))->sa_len ? \ 57 sizeof(struct sockaddr) : ((struct sockaddr*)&(X))->sa_len )
|
/external/dnsmasq/src/ |
D | network.c | 302 bind(tcpfd, (struct sockaddr *)&addr, sa_len(&addr)) == -1 || in create_ipv6_listener() 304 bind(fd, (struct sockaddr *)&addr, sa_len(&addr)) == -1) in create_ipv6_listener() 342 bind(tcpfd, (struct sockaddr *)&addr, sa_len(&addr)) == -1 || in create_wildcard_listeners() 356 bind(fd, (struct sockaddr *)&addr, sa_len(&addr)) == -1) in create_wildcard_listeners() 374 bind(tftpfd, (struct sockaddr *)&addr, sa_len(&addr)) == -1) in create_wildcard_listeners() 430 if ((rc = bind(new->fd, &iface->addr.sa, sa_len(&iface->addr))) != -1) in create_bound_listeners() 447 if (rc == -1 || bind(new->tcpfd, &iface->addr.sa, sa_len(&iface->addr)) == -1) in create_bound_listeners() 466 bind(new->tftpfd, &iface->addr.sa, sa_len(&iface->addr)) == -1) in create_bound_listeners() 522 if (bind(fd, (struct sockaddr *)&addr, sa_len(&addr)) == 0) in random_sock() 551 if (bind(fd, (struct sockaddr *)&addr_copy, sa_len(&addr_copy)) == -1) in local_bind()
|
D | bpf.c | 76 if (ifr->ifr_addr.sa_len > sizeof(ifr->ifr_ifru)) in iface_enumerate() 77 len = ifr->ifr_addr.sa_len + offsetof(struct ifreq, ifr_ifru); in iface_enumerate()
|
D | util.c | 270 int sa_len(union mysockaddr *addr) in sa_len() function 273 return addr->sa.sa_len; in sa_len()
|
D | netlink.c | 296 &daemon->srv_save->addr.sa, sa_len(&daemon->srv_save->addr)) == -1 && retry_send()); in nl_routechange()
|
D | forward.c | 54 msg.msg_namelen = sa_len(to); in send_from() 325 sa_len(&start->addr)) == -1) in forward_query() 819 connect(last_server->tcpfd, &last_server->addr.sa, sa_len(&last_server->addr)) == -1)) in tcp_request()
|
/external/ipsec-tools/src/racoon/ |
D | sockmisc.c | 98 if (addr1->sa_len != addr2->sa_len 152 if (addr1->sa_len != addr2->sa_len 217 if (addr1->sa_len != addr2->sa_len 855 new->sa_len = len;
|
D | ipsec_doi.c | 4270 saddr->sa_len = sizeof(struct sockaddr_in); 4284 saddr->sa_len = sizeof(struct sockaddr_in6); 4403 saddr->sa_len = sizeof(struct sockaddr_in); 4417 saddr->sa_len = sizeof(struct sockaddr_in6); 4502 saddr->sa_len = sizeof(struct sockaddr_in); 4520 saddr->sa_len = sizeof(struct sockaddr_in6);
|
/external/libpcap/ |
D | fad-getad.c | 96 #define SA_LEN(addr) ((addr)->sa_len)
|
D | fad-gifc.c | 99 #define SA_LEN(addr) ((addr)->sa_len)
|
D | config.h.in | 77 /* if struct sockaddr has sa_len */
|
D | aclocal.m4 | 444 dnl Checks to see if the sockaddr struct has the 4.4 BSD sa_len member 455 [AC_MSG_CHECKING(if sockaddr struct has sa_len member) 460 [u_int i = sizeof(((struct sockaddr *)0)->sa_len)], 465 AC_DEFINE(HAVE_SOCKADDR_SA_LEN,1,[if struct sockaddr has sa_len])
|
/external/tcpdump/missing/ |
D | getnameinfo.c | 124 if (sa->sa_len != salen)
|
/external/ipsec-tools/src/libipsec/ |
D | libpfkey.h | 213 return sa->sa_len; in sysdep_sa_len()
|
/external/wpa_supplicant_6/wpa_supplicant/src/drivers/ |
D | driver_wired.c | 138 sap->sa_len = sizeof(struct sockaddr); in wpa_driver_wired_multi()
|
/external/wpa_supplicant_6/wpa_supplicant/src/eap_common/ |
D | ikev2_common.h | 307 size_t sa_len; member
|
/external/wpa_supplicant_8/src/eap_common/ |
D | ikev2_common.h | 301 size_t sa_len; member
|
/external/tcpdump/ |
D | aclocal.m4 | 526 dnl Checks to see if the sockaddr struct has the 4.4 BSD sa_len member 537 [AC_MSG_CHECKING(if sockaddr struct has sa_len member) 542 [u_int i = sizeof(((struct sockaddr *)0)->sa_len)], 935 dnl Checks to see if the sockaddr struct has the 4.4 BSD sa_len member 938 AC_MSG_CHECKING(if sockaddr struct has sa_len member) 943 [u_int i = sizeof(((struct sockaddr *)0)->sa_len)],
|
D | print-isakmp.c | 290 salen = sa->sa_len; in cookie_sidecheck() 307 salen = sa->sa_len; in cookie_sidecheck()
|
/external/ppp/pppd/plugins/rp-pppoe/ |
D | if.c | 166 (ifr->ifr_addr.sa_len > sizeof(struct sockaddr) in getHWaddr() 167 ? ifr->ifr_addr.sa_len in getHWaddr()
|
/external/wpa_supplicant_8/src/drivers/ |
D | driver_wired.c | 501 sap->sa_len = sizeof(struct sockaddr); in wpa_driver_wired_multi()
|
/external/e2fsprogs/lib/uuid/ |
D | gen_uuid.c | 244 sizeof((i).ifr_name)+(i).ifr_addr.sa_len) in get_node_id()
|
/external/ipsec-tools/ |
D | setup.c | 223 .ss_len = src->sa_len, in spdadd()
|