1
0
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:
dmiller
2025-04-14 19:06:54 +00:00
parent 2bc341de52
commit aed27d094e
141 changed files with 12626 additions and 9811 deletions

View File

@@ -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)