mirror of
https://github.com/nmap/nmap.git
synced 2026-02-08 14:36:33 +00:00
Update libpcap to 1.10.5
This commit is contained in:
@@ -17,7 +17,7 @@
|
||||
.\" WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED WARRANTIES OF
|
||||
.\" MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
|
||||
.\"
|
||||
.TH PCAP_CREATE 3PCAP "3 January 2014"
|
||||
.TH PCAP_CREATE 3PCAP "30 November 2023"
|
||||
.SH NAME
|
||||
pcap_create \- create a live capture handle
|
||||
.SH SYNOPSIS
|
||||
@@ -46,6 +46,10 @@ with 2.2 or later kernels, a
|
||||
argument of "any" or
|
||||
.B NULL
|
||||
can be used to capture packets from all interfaces.
|
||||
.I errbuf
|
||||
is a buffer large enough to hold at least
|
||||
.B PCAP_ERRBUF_SIZE
|
||||
chars.
|
||||
.PP
|
||||
The returned handle must be activated with
|
||||
.BR pcap_activate (3PCAP)
|
||||
@@ -55,7 +59,7 @@ on the handle before activating it.
|
||||
.SH RETURN VALUE
|
||||
.BR pcap_create ()
|
||||
returns a
|
||||
.I pcap_t *
|
||||
.B pcap_t *
|
||||
on success and
|
||||
.B NULL
|
||||
on failure.
|
||||
@@ -64,9 +68,5 @@ If
|
||||
is returned,
|
||||
.I errbuf
|
||||
is filled in with an appropriate error message.
|
||||
.I errbuf
|
||||
is assumed to be able to hold at least
|
||||
.B PCAP_ERRBUF_SIZE
|
||||
chars.
|
||||
.SH SEE ALSO
|
||||
.BR pcap (3PCAP)
|
||||
|
||||
Reference in New Issue
Block a user