Searched refs:sa_len (Results 1 – 25 of 44) sorted by relevance
12
/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 | 264 bind(tcpfd, (struct sockaddr*) &addr, sa_len(&addr)) == -1 || listen(tcpfd, 5) == -1 || in create_ipv6_listener() 265 bind(fd, (struct sockaddr*) &addr, sa_len(&addr)) == -1) in create_ipv6_listener() 297 bind(tcpfd, (struct sockaddr*) &addr, sa_len(&addr)) == -1 || listen(tcpfd, 5) == -1 || in create_wildcard_listeners() 309 bind(fd, (struct sockaddr*) &addr, sa_len(&addr)) == -1) in create_wildcard_listeners() 382 if ((rc = bind(new->fd, &iface->addr.sa, sa_len(&iface->addr))) != -1) break; in create_bound_listener() 400 if (rc == -1 || bind(new->tcpfd, &iface->addr.sa, sa_len(&iface->addr)) == -1) { in create_bound_listener() 540 if ((rc = bind(new->fd, &iface->addr.sa, sa_len(&iface->addr))) != -1) break; in create_bound_listeners() 555 if (rc == -1 || bind(new->tcpfd, &iface->addr.sa, sa_len(&iface->addr)) == -1) { in create_bound_listeners() 600 if (bind(fd, (struct sockaddr*) &addr, sa_len(&addr)) == 0) return fd; in random_sock() 623 if (bind(fd, (struct sockaddr*) &addr_copy, sa_len(&addr_copy)) == -1) return 0; in local_bind()
|
D | netlink.c | 268 sa_len(&daemon->srv_save->addr)) == -1 && in nl_routechange()
|
D | forward.c | 51 msg.msg_namelen = sa_len(to); in send_from() 293 if (sendto(fd, (char*) header, plen, 0, &start->addr.sa, sa_len(&start->addr)) == in forward_query() 717 sa_len(&last_server->addr)) == -1)) { in tcp_request()
|
D | util.c | 250 int sa_len(union mysockaddr* addr) { in sa_len() function
|
D | dnsmasq.h | 691 int sa_len(union mysockaddr* addr);
|
/external/rust/crates/libc/src/unix/newlib/aarch64/ |
D | mod.rs | 9 pub sa_len: u8,
|
/external/ipsec-tools/src/racoon/ |
D | sockmisc.c | 102 if (addr1->sa_len != addr2->sa_len 156 if (addr1->sa_len != addr2->sa_len 221 if (addr1->sa_len != addr2->sa_len 870 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/libpcap/ |
D | fad-getad.c | 106 #define SA_LEN(addr) ((addr)->sa_len)
|
D | fad-gifc.c | 99 #define SA_LEN(addr) ((addr)->sa_len)
|
D | cmakeconfig.h.in | 213 /* Define to 1 if `sa_len' is a member of `struct sockaddr'. */
|
/external/rust/crates/libc/src/unix/hermit/ |
D | mod.rs | 65 pub sa_len: u8, 173 self.sa_len == other.sa_len 186 .field("sa_len", &self.sa_len) 194 self.sa_len.hash(state);
|
/external/libcups/cups/ |
D | getifaddrs.c | 81 # define sockaddr_len(a) ((a)->sa_len) in _cups_getifaddrs()
|
/external/webrtc/webrtc/base/ |
D | macifaddrs_converter.cc | 217 memcpy(&ifr.ifr_ifru.ifru_addr, sock_addr, sock_addr->sa_len); in GetIPAttributes()
|
/external/python/cpython3/Modules/ |
D | getnameinfo.c | 116 len = sa->sa_len;
|
D | getaddrinfo.c | 176 (ai)->ai_addr->sa_len = (ai)->ai_addrlen = (gai_afd)->a_socklen;\
|
/external/python/cpython2/Modules/ |
D | getnameinfo.c | 116 len = sa->sa_len;
|
D | getaddrinfo.c | 176 (ai)->ai_addr->sa_len = (ai)->ai_addrlen = (gai_afd)->a_socklen;\
|
/external/wpa_supplicant_8/src/eap_common/ |
D | ikev2_common.h | 297 size_t sa_len; member
|
/external/ipsec-tools/src/libipsec/ |
D | libpfkey.h | 213 return sa->sa_len; in sysdep_sa_len()
|
/external/wpa_supplicant_8/src/drivers/ |
D | driver_wired_common.c | 123 sap->sa_len = sizeof(struct sockaddr); in driver_wired_multi()
|
/external/e2fsprogs/lib/uuid/ |
D | gen_uuid.c | 249 sizeof((i).ifr_name)+(i).ifr_addr.sa_len) in get_node_id()
|
/external/ipsec-tools/ |
D | setup.c | 238 .ss_len = src->sa_len, in spdadd()
|
/external/tcpdump/ |
D | aclocal.m4 | 771 dnl Checks to see if the sockaddr struct has the 4.4 BSD sa_len member 782 [AC_MSG_CHECKING(if sockaddr struct has the sa_len member) 787 [u_int i = sizeof(((struct sockaddr *)0)->sa_len)], 792 AC_DEFINE(HAVE_SOCKADDR_SA_LEN,1,[if struct sockaddr has the sa_len member])
|
12