| Main index | Section 3 | Options |
#include <pcap/pcap.h>char errbuf[PCAP_ERRBUF_SIZE];
pcap_t *pcap_create(const char *source, char *errbuf);
The returned handle must be activated with pcap_activate(3) before packets can be captured with it; options for the capture, such as promiscuous mode, can be set on the handle before activating it.
| 30 November 2023 | PCAP_CREATE (3) |
| Main index | Section 3 | Options |
Please direct any comments about this manual page service to Ben Bullock. Privacy policy.
| “ | C isn't that hard: void (*(*f[])())() defines f as an array of unspecified size, of pointers to functions that return pointers to functions that return void | ” |