Searched refs:if_addr_size (Results 1 – 1 of 1) sorted by relevance
1383 LONG if_addr_size; in pcap_add_if_npf() local1386 if_addr_size = MAX_NETWORK_ADDRESSES; in pcap_add_if_npf()1402 if (!PacketGetNetInfoEx((void *)name, if_addrs, &if_addr_size)) { in pcap_add_if_npf()1418 while (if_addr_size-- > 0) { 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()1967 LONG if_addr_size = MAX_NETWORK_ADDRESSES; in pcap_lookupnet() local1971 if (!PacketGetNetInfoEx((void *)device, if_addrs, &if_addr_size)) { in pcap_lookupnet()1976 for(i = 0; i < if_addr_size; i++) in pcap_lookupnet()