mirror of
https://github.com/nmap/nmap.git
synced 2026-10-06 17:12:53 +00:00
Update libpcap to 1.7.3, partially addressing #34
This commit is contained in:
parent
d8c13c49e1
commit
4bbef7d69b
196 changed files with 9965 additions and 7133 deletions
|
|
@ -1,5 +1,3 @@
|
|||
.\" @(#) $Header: /tcpdump/master/libpcap/pcap_loop.3pcap,v 1.4 2008-12-25 02:01:32 guy Exp $
|
||||
.\"
|
||||
.\" Copyright (c) 1994, 1996, 1997
|
||||
.\" The Regents of the University of California. All rights reserved.
|
||||
.\"
|
||||
|
|
@ -19,7 +17,7 @@
|
|||
.\" WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED WARRANTIES OF
|
||||
.\" MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
|
||||
.\"
|
||||
.TH PCAP_LOOP 3PCAP "24 December 2008"
|
||||
.TH PCAP_LOOP 3PCAP "13 October 2013"
|
||||
.SH NAME
|
||||
pcap_loop, pcap_dispatch \- process packets from a live capture or savefile
|
||||
.SH SYNOPSIS
|
||||
|
|
@ -79,6 +77,13 @@ causes all the packets received in one buffer to be processed when
|
|||
reading a live capture, and causes all the packets in the file to be
|
||||
processed when reading a ``savefile''.
|
||||
.PP
|
||||
Note that, when doing a live capture on some platforms, if the read
|
||||
timeout expires when there are no packets available,
|
||||
.B pcap_dispatch()
|
||||
will return 0, even when not in non-blocking mode, as there are no
|
||||
packets to process. Applications should be prepared for this to happen,
|
||||
but must not rely on it happening.
|
||||
.PP
|
||||
.ft B
|
||||
(In older versions of libpcap, the behavior when
|
||||
\fIcnt\fP
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue