/external/dhcpcd/ |
D | ifaddrs.c | 36 struct ifaddrs *ifa; in get_interface() local 48 ifa = malloc(sizeof(struct ifaddrs)); in get_interface() 49 if (!ifa) in get_interface() 51 memset(ifa, 0, sizeof(struct ifaddrs)); in get_interface() 53 ifa->ifa_name = malloc(strlen(name)+1); in get_interface() 54 if (!ifa->ifa_name) { in get_interface() 55 free(ifa); in get_interface() 58 strcpy(ifa->ifa_name, name); in get_interface() 59 ifa->ifa_flags = flags; in get_interface() 67 ifa->ifa_addr = (struct sockaddr *)saddr; in get_interface() [all …]
|
D | net.c | 316 struct ifaddrs *ifaddrs, *ifa; in discover_interfaces() local 342 for (ifa = ifaddrs; ifa; ifa = ifa->ifa_next) { in discover_interfaces() 343 if (ifa->ifa_addr != NULL) { in discover_interfaces() 345 if (ifa->ifa_addr->sa_family != AF_LINK) in discover_interfaces() 348 if (ifa->ifa_addr->sa_family != AF_PACKET) in discover_interfaces() 356 if (strcmp(ifp->name, ifa->ifa_name) == 0) in discover_interfaces() 368 if (strcmp(ifn, ifa->ifa_name) == 0) in discover_interfaces() 371 if (strcmp(argv[i], ifa->ifa_name) == 0) in discover_interfaces() 382 if (argc == -1 && strcmp(argv[0], ifa->ifa_name) != 0) in discover_interfaces() 385 if (!fnmatch(ifdv[i], ifa->ifa_name, 0)) in discover_interfaces() [all …]
|
D | if-bsd.c | 146 struct ifaliasreq ifa; in if_address() local 152 memset(&ifa, 0, sizeof(ifa)); in if_address() 153 strlcpy(ifa.ifra_name, iface->name, sizeof(ifa.ifra_name)); in if_address() 162 ADDADDR(ifa.ifra_addr, address); in if_address() 163 ADDADDR(ifa.ifra_mask, netmask); in if_address() 165 ADDADDR(ifa.ifra_broadaddr, broadcast); in if_address() 170 retval = ioctl(socket_afnet, SIOCDIFADDR, &ifa); in if_address() 172 retval = ioctl(socket_afnet, SIOCAIFADDR, &ifa); in if_address()
|
D | if-linux.c | 287 struct ifaddrmsg *ifa; in link_addr() local 296 if ((size_t)len < sizeof(*ifa)) { in link_addr() 302 ifa = NLMSG_DATA(nlm); in link_addr() 303 if (if_indextoname(ifa->ifa_index, ifn) == NULL) in link_addr() 308 rta = (struct rtattr *) IFA_RTA(ifa); in link_addr() 309 len = NLMSG_PAYLOAD(nlm, sizeof(*ifa)); in link_addr() 312 inet_cidrtoaddr(ifa->ifa_prefixlen, &net); in link_addr() 462 struct ifaddrmsg ifa; member 489 if (!(nlm->ifa.ifa_index = if_nametoindex(iface->name))) { in if_address() 494 nlm->ifa.ifa_family = AF_INET; in if_address() [all …]
|
D | ifaddrs.h | 32 extern void freeifaddrs(struct ifaddrs *ifa);
|
/external/libpcap/ |
D | fad-getad.c | 142 struct ifaddrs *ifap, *ifa; in pcap_findalldevs() local 167 for (ifa = ifap; ifa != NULL; ifa = ifa->ifa_next) { in pcap_findalldevs() 171 if (!(ifa->ifa_flags & IFF_UP)) { in pcap_findalldevs() 198 if (ifa->ifa_addr != NULL) { in pcap_findalldevs() 199 addr = ifa->ifa_addr; in pcap_findalldevs() 201 netmask = ifa->ifa_netmask; in pcap_findalldevs() 207 if (ifa->ifa_flags & IFF_BROADCAST && in pcap_findalldevs() 208 ifa->ifa_broadaddr != NULL) { in pcap_findalldevs() 209 broadaddr = ifa->ifa_broadaddr; in pcap_findalldevs() 215 if (ifa->ifa_flags & IFF_POINTOPOINT && in pcap_findalldevs() [all …]
|
/external/iproute2/ip/ |
D | ipaddress.c | 453 struct ifaddrmsg *ifa = NLMSG_DATA(n); in print_addrinfo() local 462 len -= NLMSG_LENGTH(sizeof(*ifa)); in print_addrinfo() 471 parse_rtattr(rta_tb, IFA_MAX, IFA_RTA(ifa), n->nlmsg_len - NLMSG_LENGTH(sizeof(*ifa))); in print_addrinfo() 478 if (filter.ifindex && filter.ifindex != ifa->ifa_index) in print_addrinfo() 480 if ((filter.scope^ifa->ifa_scope)&filter.scopemask) in print_addrinfo() 482 if ((filter.flags^ifa->ifa_flags)&filter.flagmask) in print_addrinfo() 490 label = ll_idx_n2a(ifa->ifa_index, b1); in print_addrinfo() 498 dst.family = ifa->ifa_family; in print_addrinfo() 505 if (filter.family && filter.family != ifa->ifa_family) in print_addrinfo() 529 fprintf(fp, "%u: %s", ifa->ifa_index, ll_index_to_name(ifa->ifa_index)); in print_addrinfo() [all …]
|
/external/chromium/net/base/ |
D | net_util_posix.cc | 69 for (ifaddrs *ifa = ifaddr; ifa != NULL; ifa = ifa->ifa_next) { in GetNetworkList() local 70 int family = ifa->ifa_addr->sa_family; in GetNetworkList() 73 std::string name = ifa->ifa_name; in GetNetworkList() 74 if (address.FromSockAddr(ifa->ifa_addr, in GetNetworkList() 75 sizeof(ifa->ifa_addr)) && in GetNetworkList()
|
D | ssl_false_start_blacklist.txt | 1494 ifa.ch
|
/external/dnsmasq/src/ |
D | netlink.c | 188 struct ifaddrmsg *ifa = NLMSG_DATA(h); in iface_enumerate() local 189 struct rtattr *rta = IFA_RTA(ifa); in iface_enumerate() 190 unsigned int len1 = h->nlmsg_len - NLMSG_LENGTH(sizeof(*ifa)); in iface_enumerate() 192 if (ifa->ifa_family == AF_INET) in iface_enumerate() 196 netmask.s_addr = htonl(0xffffffff << (32 - ifa->ifa_prefixlen)); in iface_enumerate() 211 if (!((*ipv4_callback)(addr, ifa->ifa_index, netmask, broadcast, parm))) in iface_enumerate() 215 else if (ifa->ifa_family == AF_INET6) in iface_enumerate() 227 if (!((*ipv6_callback)(addrp, ifa->ifa_index, ifa->ifa_index, parm))) in iface_enumerate()
|
/external/dnsmasq/contrib/wrt/ |
D | dhcp_release.c | 224 struct ifaddrmsg *ifa = NLMSG_DATA(h); in find_interface() local 226 unsigned int len1 = h->nlmsg_len - NLMSG_LENGTH(sizeof(*ifa)); in find_interface() 228 if (ifa->ifa_index == index && ifa->ifa_family == AF_INET) in find_interface() 232 netmask.s_addr = htonl(0xffffffff << (32 - ifa->ifa_prefixlen)); in find_interface() 235 for (rta = IFA_RTA(ifa); RTA_OK(rta, len1); rta = RTA_NEXT(rta, len1)) in find_interface()
|
/external/icu4c/data/curr/ |
D | shi.txt | 216 "frank ṣifa", 220 "frank ṣifa bisaw",
|
/external/ipsec-tools/src/racoon/samples/roadwarrior/client/ |
D | phase1-down.sh | 38 route add default ${DEFAULT_GW} -ifa ${LOCAL_ADDR}
|
D | phase1-up.sh | 38 route add default ${DEFAULT_GW} -ifa ${INTERNAL_ADDR4}
|
/external/ipsec-tools/src/racoon/ |
D | grabmyaddr.c | 123 static void recvaddrs(int fd, struct ifaddrs **ifa, __u32 seq) in recvaddrs() argument 202 I->ifa_next = *ifa; in recvaddrs() 203 *ifa = I; in recvaddrs()
|
/external/webkit/PerformanceTests/Parser/resources/ |
D | final-url-en | 17715 http://uh88.ifa.hawaii.edu/LinuxTCS/UH88display.html 59928 http://www.newton.co.uk/ifa/micro/capital_protection/legal/legalpopup.html
|