Home
last modified time | relevance | path

Searched refs:if_addrs (Results 1 – 5 of 5) sorted by relevance

/external/libpcap/
Dpcap-npf.c1717 npf_if_addr if_addrs[MAX_NETWORK_ADDRESSES]; in pcap_add_if_npf() local
1737 if (!PacketGetNetInfoEx((void *)name, if_addrs, &if_addr_size)) { in pcap_add_if_npf()
1759 (struct sockaddr *)&if_addrs[if_addr_size].IPAddress, in pcap_add_if_npf()
1761 (struct sockaddr *)&if_addrs[if_addr_size].SubnetMask, in pcap_add_if_npf()
1763 (struct sockaddr *)&if_addrs[if_addr_size].Broadcast, in pcap_add_if_npf()
2346 npf_if_addr if_addrs[MAX_NETWORK_ADDRESSES]; in pcap_lookupnet() local
2351 if (!PacketGetNetInfoEx((void *)device, if_addrs, &if_addr_size)) { in pcap_lookupnet()
2358 if(if_addrs[i].IPAddress.ss_family == AF_INET) in pcap_lookupnet()
2360 t_addr = (struct sockaddr_in *) &(if_addrs[i].IPAddress); in pcap_lookupnet()
2362 t_addr = (struct sockaddr_in *) &(if_addrs[i].SubnetMask); in pcap_lookupnet()
/external/dnsmasq/src/
Doption.c1232 new->next = daemon->if_addrs; in one_opt()
1239 daemon->if_addrs = new; in one_opt()
2522 if (daemon->if_addrs) { in read_opts()
2524 for (tmp = daemon->if_addrs; tmp; tmp = tmp->next) in read_opts()
Dnetwork.c77 if (daemon->if_names || (addr && daemon->if_addrs)) { in iface_check()
83 for (tmp = daemon->if_addrs; tmp; tmp = tmp->next) in iface_check()
Ddnsmasq.h592 struct iname *if_names, *if_addrs, *if_except, *dhcp_except; member
Ddnsmasq.c200 for (if_tmp = daemon->if_addrs; if_tmp; if_tmp = if_tmp->next) in main()