*** UNIX MANUAL PAGE BROWSER ***

A Nergahak database for man pages research.

Navigation

Directory Browser

1Browse 4.4BSD4.4BSD
1Browse Digital UNIXDigital UNIX 4.0e
1Browse FreeBSDFreeBSD 14.3
1Browse MINIXMINIX 3.4.0rc6-d5e4fc0
1Browse NetBSDNetBSD 10.1
1Browse OpenBSDOpenBSD 7.7
1Browse UNIX v7Version 7 UNIX
1Browse UNIX v10Version 10 UNIX

Manual Page Search

Manual Page Result

0 Command: pcap_set_datalink | Section: 3 | Source: FreeBSD | File: pcap_set_datalink.3.gz
PCAP_SET_DATALINK(3) Library Functions Manual PCAP_SET_DATALINK(3) NAME pcap_set_datalink - set the link-layer header type to be used by a cap- ture device SYNOPSIS #include <pcap/pcap.h> int pcap_set_datalink(pcap_t *p, int dlt); DESCRIPTION pcap_set_datalink() is used to set the current link-layer header type of the pcap descriptor to the type specified by dlt. RETURN VALUE pcap_set_datalink() returns 0 on success, PCAP_ERROR_NOT_ACTIVATED if called on a capture handle that has been created but not activated, or PCAP_ERROR on other errors. If PCAP_ERROR is returned, pcap_geterr(3) or pcap_perror(3) may be called with p as an argument to fetch or dis- play the error text. SEE ALSO pcap(3), pcap_datalink_name_to_val(3) 5 March 2022 PCAP_SET_DATALINK(3)

Navigation Options