Main index | Section 3 | Options |
#include <pcap/pcap.h>int pcap_list_datalinks(pcap_t *p, int **dlt_buf); void pcap_free_datalinks(int *dlt_list);
The caller is responsible for freeing the array with pcap_free_datalinks(), which frees the list of link-layer header types pointed to by dlt_list.
It must not be called on a pcap descriptor created by pcap_create(3) that has not yet been activated by pcap_activate(3) .
25 July 2018 | PCAP_LIST_DATALINKS (3) |
Main index | Section 3 | Options |
Please direct any comments about this manual page service to Ben Bullock. Privacy policy.