/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() 439 if ((rc = bind(new->fd, &iface->addr.sa, sa_len(&iface->addr))) != -1) in create_bound_listener() 456 if (rc == -1 || bind(new->tcpfd, &iface->addr.sa, sa_len(&iface->addr)) == -1) in create_bound_listener() 474 bind(new->tftpfd, &iface->addr.sa, sa_len(&iface->addr)) == -1) in create_bound_listener() 577 if ((rc = bind(new->fd, &iface->addr.sa, sa_len(&iface->addr))) != -1) in create_bound_listeners() 594 if (rc == -1 || bind(new->tcpfd, &iface->addr.sa, sa_len(&iface->addr)) == -1) in create_bound_listeners() [all …]
|
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/dhcpcd/ |
D | if-bsd.c | 67 #define RT_ADVANCE(x, n) (x += RT_ROUNDUP((n)->sa_len)) 211 l = RT_ROUNDUP(_su.sa.sa_len); \ in if_route() 425 rti_info[RTAX_IFA]->sa_len); in manage_link()
|
/external/libppp/src/ |
D | arp.c | 84 addr.sa_len = sizeof(addr); 187 arpreq.arp_ha.sa_len = sizeof(struct sockaddr); in arp_SetProxy()
|
D | route.c | 97 (int)phost->sa_family, (int)phost->sa_len); in p_sockaddr() 325 wp += ROUNDUP(sa[rtax]->sa_len); in route_ParseHdr() 902 p += memcpy_roundup(p, dst, dst->sa_len); in rt_Update() 906 p += memcpy_roundup(p, gw, gw->sa_len); in rt_Update() 909 p += memcpy_roundup(p, mask, mask->sa_len); in rt_Update()
|
D | server.c | 106 else if (sa->sa_len == 0) { in server_Read()
|
/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_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/e2fsprogs/lib/uuid/ |
D | gen_uuid.c | 244 sizeof((i).ifr_name)+(i).ifr_addr.sa_len) in get_node_id()
|
/external/wpa_supplicant_8/src/drivers/ |
D | driver_wired.c | 495 sap->sa_len = sizeof(struct sockaddr); in wpa_driver_wired_multi()
|
/external/ipsec-tools/ |
D | setup.c | 223 .ss_len = src->sa_len, in spdadd()
|