diff options
author | Joseph Mingrone <jrm@FreeBSD.org> | 2023-03-27 18:45:17 +0000 |
---|---|---|
committer | Joseph Mingrone <jrm@FreeBSD.org> | 2023-03-27 18:45:17 +0000 |
commit | 35af88c96350eb786f1198dfb6b29a171016e6bf (patch) | |
tree | e883c1f8391d5ca1afd57abd8ed9d2cd7c274b0b /pcap_fileno.3pcap | |
parent | 20616273d52132557e786a8aea1637be4c218a08 (diff) | |
download | src-35af88c96350eb786f1198dfb6b29a171016e6bf.tar.gz src-35af88c96350eb786f1198dfb6b29a171016e6bf.zip |
Import libpcap 1.10.3vendor/libpcap/1.10.3
Reviewed by: emaste
Sponsored by: The FreeBSD Foundation
Diffstat (limited to 'pcap_fileno.3pcap')
-rw-r--r-- | pcap_fileno.3pcap | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/pcap_fileno.3pcap b/pcap_fileno.3pcap index 60ac12945dd1..6d0edf88dcf8 100644 --- a/pcap_fileno.3pcap +++ b/pcap_fileno.3pcap @@ -35,31 +35,31 @@ If .I p refers to a network device that was opened for a live capture using a combination of -.B pcap_create(3PCAP) +.BR pcap_create (3PCAP) and -.BR pcap_activate(3PCAP) , +.BR pcap_activate (3PCAP), or using -.BR pcap_open_live(3PCAP) , -.B pcap_fileno() +.BR pcap_open_live (3PCAP), +.BR pcap_fileno () returns the file descriptor from which captured packets are read. .LP If .I p refers to a ``savefile'' that was opened using functions such as -.BR pcap_open_offline(3PCAP) +.BR pcap_open_offline (3PCAP) or -.BR pcap_fopen_offline(3PCAP) , +.BR pcap_fopen_offline (3PCAP), a ``dead'' .B pcap_t opened using -.BR pcap_open_dead(3PCAP) , +.BR pcap_open_dead (3PCAP), or a .B pcap_t that was created with -.B pcap_create() +.BR pcap_create () but that has not yet been activated with -.BR pcap_activate() , +.BR pcap_activate (), it returns .BR PCAP_ERROR . .SH SEE ALSO -pcap(3PCAP) +.BR pcap (3PCAP) |