Home
last modified time | relevance | path

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

/external/libpcap/
Dpcap-npf.c1382 npf_if_addr if_addrs[MAX_NETWORK_ADDRESSES]; in pcap_add_if_npf() local
1402 if (!PacketGetNetInfoEx((void *)name, if_addrs, &if_addr_size)) { in pcap_add_if_npf()
1424 (struct sockaddr *)&if_addrs[if_addr_size].IPAddress, in pcap_add_if_npf()
1426 (struct sockaddr *)&if_addrs[if_addr_size].SubnetMask, in pcap_add_if_npf()
1428 (struct sockaddr *)&if_addrs[if_addr_size].Broadcast, in pcap_add_if_npf()
1966 npf_if_addr if_addrs[MAX_NETWORK_ADDRESSES]; in pcap_lookupnet() local
1971 if (!PacketGetNetInfoEx((void *)device, if_addrs, &if_addr_size)) { in pcap_lookupnet()
1978 if(if_addrs[i].IPAddress.ss_family == AF_INET) in pcap_lookupnet()
1980 t_addr = (struct sockaddr_in *) &(if_addrs[i].IPAddress); in pcap_lookupnet()
1982 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()