Home
last modified time | relevance | path

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

/external/libpcap/
Dpcap-npf.c1718 LONG if_addr_size; in pcap_add_if_npf() local
1721 if_addr_size = MAX_NETWORK_ADDRESSES; in pcap_add_if_npf()
1737 if (!PacketGetNetInfoEx((void *)name, if_addrs, &if_addr_size)) { in pcap_add_if_npf()
1753 while (if_addr_size-- > 0) { 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()
2347 LONG if_addr_size = MAX_NETWORK_ADDRESSES; in pcap_lookupnet() local
2351 if (!PacketGetNetInfoEx((void *)device, if_addrs, &if_addr_size)) { in pcap_lookupnet()
2356 for(i = 0; i < if_addr_size; i++) in pcap_lookupnet()