| Main index | Section 3 | Options |
#include <pcap/pcap.h>char errbuf[PCAP_ERRBUF_SIZE];
int pcap_lookupnet(const char *device, bpf_u_int32 *netp, bpf_u_int32 *maskp, char *errbuf);
This function is not available on Windows. It supports neither IPv6 nor multiple IPv4 addresses per interface, which obviously is not practical in modern networks. See pcap_findalldevs(3) for a more elaborate solution to the problem.
| 13 March 2024 | PCAP_LOOKUPNET (3) |
| Main index | Section 3 | Options |
Please direct any comments about this manual page service to Ben Bullock. Privacy policy.
