/external/netperf/src/missing/m4/ |
D | salen.m4 | 17 dnl Checks to see if the sockaddr struct has the 4.4 BSD sa_len member 20 AC_MSG_CHECKING(if sockaddr struct has sa_len member) 25 [u_int i = sizeof(((struct sockaddr *)0)->sa_len)], 30 … AC_DEFINE([HAVE_SOCKADDR_SA_LEN],1,[Define if struct sockaddr has the sa_len member])
|
/external/netperf/m4/m4/ |
D | salen.m4 | 17 dnl Checks to see if the sockaddr struct has the 4.4 BSD sa_len member 20 AC_MSG_CHECKING(if sockaddr struct has sa_len member) 25 [u_int i = sizeof(((struct sockaddr *)0)->sa_len)], 30 … AC_DEFINE([HAVE_SOCKADDR_SA_LEN],1,[Define if struct sockaddr has the sa_len member])
|
/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 | 315 bind(tcpfd, (struct sockaddr *)&addr, sa_len(&addr)) == -1 || in create_ipv6_listener() 317 bind(fd, (struct sockaddr *)&addr, sa_len(&addr)) == -1) in create_ipv6_listener() 356 bind(tcpfd, (struct sockaddr *)&addr, sa_len(&addr)) == -1 || in create_wildcard_listeners() 370 bind(fd, (struct sockaddr *)&addr, sa_len(&addr)) == -1) in create_wildcard_listeners() 388 bind(tftpfd, (struct sockaddr *)&addr, sa_len(&addr)) == -1) in create_wildcard_listeners() 454 if ((rc = bind(new->fd, &iface->addr.sa, sa_len(&iface->addr))) != -1) in create_bound_listener() 473 if (rc == -1 || bind(new->tcpfd, &iface->addr.sa, sa_len(&iface->addr)) == -1) in create_bound_listener() 491 bind(new->tftpfd, &iface->addr.sa, sa_len(&iface->addr)) == -1) in create_bound_listener() 639 if ((rc = bind(new->fd, &iface->addr.sa, sa_len(&iface->addr))) != -1) in create_bound_listeners() 656 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 | 274 int sa_len(union mysockaddr *addr) in sa_len() function 277 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() 337 sa_len(&start->addr)) == -1) in forward_query() 832 connect(last_server->tcpfd, &last_server->addr.sa, sa_len(&last_server->addr)) == -1)) in tcp_request()
|
/external/libpcap/Win32/Include/net/ |
D | if.h | 182 ((ifr).ifr_addr.sa_len > sizeof(struct sockaddr) ? \ 184 (ifr).ifr_addr.sa_len) : sizeof(struct ifreq))
|
/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 | 4284 saddr->sa_len = sizeof(struct sockaddr_in); 4298 saddr->sa_len = sizeof(struct sockaddr_in6); 4417 saddr->sa_len = sizeof(struct sockaddr_in); 4431 saddr->sa_len = sizeof(struct sockaddr_in6); 4516 saddr->sa_len = sizeof(struct sockaddr_in); 4534 saddr->sa_len = sizeof(struct sockaddr_in6);
|
/external/avahi/avahi-autoipd/ |
D | main.c | 462 socklen_t sa_len; in open_socket() local 482 sa_len = sizeof(sa); in open_socket() 483 if (getsockname(fd, (struct sockaddr*) &sa, &sa_len) < 0) { in open_socket() 529 socklen_t sa_len; in recv_packet() local 548 sa_len = sizeof(sa); in recv_packet() 549 if ((r = recvfrom(fd, (*packet)->ether_payload, s, 0, (struct sockaddr*) &sa, &sa_len)) < 0) { in recv_packet()
|
D | iface-bsd.c | 353 sa_size = sa->sa_len; in next_sa()
|
/external/libpcap/ |
D | fad-getad.c | 106 #define SA_LEN(addr) ((addr)->sa_len)
|
D | fad-gifc.c | 93 #define SA_LEN(addr) ((addr)->sa_len)
|
D | aclocal.m4 | 738 dnl Checks to see if the sockaddr struct has the 4.4 BSD sa_len member 749 [AC_MSG_CHECKING(if sockaddr struct has the sa_len member) 754 [u_int i = sizeof(((struct sockaddr *)0)->sa_len)], 759 AC_DEFINE(HAVE_SOCKADDR_SA_LEN,1,[if struct sockaddr has the sa_len member])
|
/external/webrtc/webrtc/base/ |
D | macifaddrs_converter.cc | 217 memcpy(&ifr.ifr_ifru.ifru_addr, sock_addr, sock_addr->sa_len); in GetIPAttributes()
|
/external/avahi/avahi-core/ |
D | iface-pfroute.c | 114 #define ADVANCE(x, n) (x += ROUNDUP((n)->sa_len)) 163 if (sa->sa_len == 0) in rtm_addr()
|
/external/tcpdump/missing/ |
D | getnameinfo.c | 119 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 | 297 size_t sa_len; member
|
/external/tcpdump/ |
D | aclocal.m4 | 730 dnl Checks to see if the sockaddr struct has the 4.4 BSD sa_len member 741 [AC_MSG_CHECKING(if sockaddr struct has the sa_len member) 746 [u_int i = sizeof(((struct sockaddr *)0)->sa_len)], 751 AC_DEFINE(HAVE_SOCKADDR_SA_LEN,1,[if struct sockaddr has the sa_len member]) 1134 dnl Checks to see if the sockaddr struct has the 4.4 BSD sa_len member 1137 AC_MSG_CHECKING(if sockaddr struct has sa_len member) 1142 [u_int i = sizeof(((struct sockaddr *)0)->sa_len)],
|
/external/dhcpcd-6.8.2/ |
D | if-bsd.c | 92 #define RT_ADVANCE(x, n) (x += RT_ROUNDUP((n)->sa_len)) 566 l = RT_ROUNDUP(su.sa.sa_len); \ in if_route() 954 l = RT_ROUNDUP(su.sa.sa_len); \ in if_route6() 1291 rti_info[RTAX_IFA]->sa_len); in if_managelink()
|
/external/e2fsprogs/lib/uuid/ |
D | gen_uuid.c | 248 sizeof((i).ifr_name)+(i).ifr_addr.sa_len) in get_node_id()
|
/external/wpa_supplicant_8/src/drivers/ |
D | driver_wired.c | 542 sap->sa_len = sizeof(struct sockaddr); in wpa_driver_wired_multi()
|