diff options
author | Haibo Huang <hhb@google.com> | 2021-01-05 21:34:29 -0800 |
---|---|---|
committer | Haibo Huang <hhb@google.com> | 2021-01-05 21:34:29 -0800 |
commit | ee759cead8ad02120ae157898869f67244cce577 (patch) | |
tree | 6258b7da515b2a7661114322d98216708d2134a9 /pcap_create.3pcap | |
parent | ed85fbcf5ab8c3080dc02256fec467f45146de70 (diff) | |
download | libpcap-ee759cead8ad02120ae157898869f67244cce577.tar.gz |
Upgrade libpcap to libpcap-1.10.0
Test: make
Change-Id: I2258baf45f03947a22b4853e6db95e7946f9eb53
Diffstat (limited to 'pcap_create.3pcap')
-rw-r--r-- | pcap_create.3pcap | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/pcap_create.3pcap b/pcap_create.3pcap index 5a15007b..bd42d733 100644 --- a/pcap_create.3pcap +++ b/pcap_create.3pcap @@ -36,7 +36,7 @@ pcap_t *pcap_create(const char *source, char *errbuf); .ft .fi .SH DESCRIPTION -.B pcap_create() +.BR pcap_create () is used to create a packet capture handle to look at packets on the network. .I source @@ -48,12 +48,12 @@ argument of "any" or can be used to capture packets from all interfaces. .PP The returned handle must be activated with -.B pcap_activate(3PCAP) +.BR pcap_activate (3PCAP) before packets can be captured with it; options for the capture, such as promiscuous mode, can be set on the handle before activating it. .SH RETURN VALUE -.B pcap_create() +.BR pcap_create () returns a .I pcap_t * on success and @@ -69,4 +69,4 @@ is assumed to be able to hold at least .B PCAP_ERRBUF_SIZE chars. .SH SEE ALSO -pcap(3PCAP) +.BR pcap (3PCAP) |