/external/dnsmasq/src/ |
network.c | 99 if (addr && tmp->addr.sa.sa_family == family) 180 if (addr->sa.sa_family == AF_INET && 190 if (addr->sa.sa_family == AF_INET6 && 425 new->family = iface->addr.sa.sa_family; 435 if ((new->tcpfd = socket(iface->addr.sa.sa_family, SOCK_STREAM, 0)) == -1 || 436 (new->fd = socket(iface->addr.sa.sa_family, SOCK_DGRAM, 0)) == -1 || 444 if (iface->addr.sa.sa_family == AF_INET6) 463 if (iface->addr.sa.sa_family == AF_INET6 && (errno == ENODEV || errno == EADDRNOTAVAIL) && 484 if ((daemon->options & OPT_TFTP) && iface->addr.sa.sa_family == AF_INET && iface->dhcp_ok) 610 new->family = iface->addr.sa.sa_family; [all...] |
forward.c | 65 if (to->sa.sa_family == AF_INET) 130 unsigned short sflag = serv->addr.sa.sa_family == AF_INET ? F_IPV4 : F_IPV6; 139 if (serv->addr.sa.sa_family == AF_INET) 159 unsigned short sflag = serv->addr.sa.sa_family == AF_INET ? F_IPV4 : F_IPV6; 170 if (serv->addr.sa.sa_family == AF_INET) 304 if (start->addr.sa.sa_family == AF_INET6) 350 if (start->addr.sa.sa_family == AF_INET) 487 serveraddr.sa.sa_family = family; 489 if (serveraddr.sa.sa_family == AF_INET6) 636 source_addr.sa.sa_family = listen->family [all...] |
bpf.c | 86 if (ifr->ifr_addr.sa_family == AF_INET && ipv4_callback) 103 else if (ifr->ifr_addr.sa_family == AF_INET6 && ipv6_callback) 183 ifr->ifr_addr.sa_family = AF_LINK;
|
util.c | 256 if (s1->sa.sa_family == s2->sa.sa_family) 258 if (s1->sa.sa_family == AF_INET && 263 if (s1->sa.sa_family == AF_INET6 && 280 if (addr->sa.sa_family == AF_INET6)
|
/external/parameter-framework/asio-1.10.6/include/asio/ip/detail/ |
endpoint.hpp | 108 return data_.base.sa_family == ASIO_OS_DEF(AF_INET);
|
/external/toybox/toys/pending/ |
ping.c | 85 if (!ifa->ifa_addr || ifa->ifa_addr->sa_family != family) continue;
|
arp.c | 170 if ((toys.optflags & FLAG_H) && (ifre.ifr_hwaddr.sa_family != ARPHRD_ETHER)) 231 req.arp_ha.sa_family = ARPHRD_ETHER; 235 req.arp_ha.sa_family = type;
|
/prebuilts/gcc/linux-x86/host/x86_64-w64-mingw32-4.8/x86_64-w64-mingw32/include/psdk_inc/ |
_ip_types.h | 71 u_short sa_family; member in struct:sockaddr
|
/system/connectivity/shill/net/ |
ip_address.cc | 84 if (address_struct->sa_family == kFamilyIPv4 && size >= sizeof(sockaddr_in)) { 85 family_ = address_struct->sa_family; 90 } else if (address_struct->sa_family == kFamilyIPv6 && 92 family_ = address_struct->sa_family; 268 address_struct->sa_family = family_;
|
/external/libpcap/tests/ |
findalldevstest.c | 75 switch(a->addr->sa_family) { 117 printf("\tAddress Family: Unknown (%d)\n", a->addr->sa_family);
|
/system/netd/client/ |
NetdClient.cpp | 59 family = addr->sa_family; 76 if (sockfd >= 0 && addr && FwmarkClient::shouldSetFwmark(addr->sa_family)) {
|
/external/valgrind/memcheck/tests/linux/ |
rfcomm.stderr.exp | 1 Syscall param socketcall.bind(my_addr.sa_family) points to uninitialised byte(s) 25 Syscall param socketcall.bind(my_addr.sa_family) points to uninitialised byte(s)
|
/external/wpa_supplicant_8/src/drivers/ |
linux_ioctl.c | 92 if (ifr.ifr_hwaddr.sa_family != ARPHRD_ETHER) { 94 ifname, ifr.ifr_hwaddr.sa_family); 110 ifr.ifr_hwaddr.sa_family = ARPHRD_ETHER;
|
/external/ipsec-tools/src/libipsec/ |
pfkey.c | 393 if (src->sa_family != dst->sa_family) { 401 switch (src->sa_family) { 577 if (src->sa_family != dst->sa_family) { 581 switch (src->sa_family) { 1086 if (src->sa_family != dst->sa_family) { 1091 switch (src->sa_family) { 1167 if (sa_parms->src->sa_family != sa_parms->dst->sa_family) [all...] |
/external/avahi/avahi-core/ |
iface-pfroute.c | 132 if(((struct sockaddr *)cp)->sa_family == AF_UNSPEC) 133 ((struct sockaddr *)cp)->sa_family = AF_INET; 149 if(sa->sa_family != AF_INET && sa->sa_family != AF_INET6) 152 if (!(iface = avahi_interface_monitor_get_interface(m, (AvahiIfIndex) ifam->ifam_index, avahi_af_to_proto(sa->sa_family)))) 155 raddr.proto = avahi_af_to_proto(sa->sa_family); 166 switch(sa->sa_family) {
|
/external/toybox/toys/other/ |
ifconfig.c | 121 if (ifre.ifr_hwaddr.sa_family == types[i].type) break; 124 if(i >= 0 && ifre.ifr_hwaddr.sa_family == ARPHRD_ETHER) { 132 ifre.ifr_addr.sa_family = AF_INET; 399 if (!strcmp("ether", *++argv)) sock->sa_family = ARPHRD_ETHER; 401 sock->sa_family = ARPHRD_INFINIBAND; 406 if (!sock->sa_family || !argv[1]) help_exit("bad hw '%s'", *argv); 427 if (sock->sa_family == ARPHRD_INFINIBAND && !strchr(ifre.ifr_name, '/')) {
|
/external/deqp/framework/delibs/deutil/ |
deSocket.c | 317 if (bsdAddr->sa_family == AF_INET) 323 else if (bsdAddr->sa_family == AF_INET6) 376 if (bsdAddr->sa_family == AF_INET) 391 else if (bsdAddr->sa_family == AF_INET6) 511 sock->handle = socket(bsdAddr->sa_family, deSocketTypeToBsdType(address->type), deSocketProtocolToBsdProtocol(address->protocol)); 589 sock->handle = socket(bsdAddr->sa_family, deSocketTypeToBsdType(address->type), deSocketProtocolToBsdProtocol(address->protocol));
|
/external/ipsec-tools/src/racoon/ |
remoteconf.c | 119 if (remote->sa_family != AF_UNSPEC && 124 if (remote->sa_family == AF_UNSPEC) 135 if ((remote->sa_family == AF_UNSPEC 136 && remote->sa_family == p->remote->sa_family) 145 if (p->remote->sa_family == AF_UNSPEC)
|
/bionic/libc/dns/net/ |
getnameinfo.c | 120 switch (sa->sa_family) { 187 family = sa->sa_family; 232 switch (sa->sa_family) {
|
/cts/tests/tests/security/jni/ |
android_security_cts_NativeCodeTest.cpp | 240 sock_addr.sa_family = AF_INET; 246 sock_addr.sa_family = AF_UNSPEC; 250 sock_addr.sa_family = AF_UNSPEC;
|
/external/avahi/avahi-autoipd/ |
iface-bsd.c | 177 if (sa->sa_family != AF_INET) 409 if (sa->sa_family != AF_INET) { 410 daemon_log(LOG_DEBUG, "%s: RTA_IFA family not AF_INET (=%d)", __func__, sa->sa_family);
|
/external/c-ares/ |
ares_getnameinfo.c | 104 if ((sa->sa_family == AF_INET) && 110 else if ((sa->sa_family == AF_INET6) && 188 if (sa->sa_family == AF_INET)
|
/external/ppp/pppd/plugins/rp-pppoe/ |
plugin.c | 197 sp.sa_family = AF_PPPOX; 267 sp.sa_family = AF_PPPOX; 315 * hardware address whose sa_family is ARPHRD_ETHER. 336 if (ifr.ifr_hwaddr.sa_family != ARPHRD_ETHER) {
|
/external/libpcap/ |
fad-getad.c | 112 switch (addr->sa_family) {
|
/external/ppp/pppd/ |
sys-solaris.c | [all...] |