aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorguy <guy>2000-10-22 02:21:34 +0000
committerguy <guy>2000-10-22 02:21:34 +0000
commit62518217343f5859819e14d6b35041a4b190d301 (patch)
tree7b5dab0e4b510d959af3c4d9a07abe0e2b895894
parentb4bfe1ee304c75876975453d7222f46659c752df (diff)
Document that a null pointer or "any", when specified as the "device"
argument to "pcap_open_live()", will, on Linux systems with a 2.2 or later kernel, snoop on all interfaces.
-rw-r--r--pcap.39
1 files changed, 7 insertions, 2 deletions
diff --git a/pcap.3 b/pcap.3
index 17362761..18bcb4ad 100644
--- a/pcap.3
+++ b/pcap.3
@@ -1,4 +1,4 @@
-.\" @(#) $Header: /tcpdump/master/libpcap/Attic/pcap.3,v 1.11 2000-10-12 04:12:27 guy Exp $
+.\" @(#) $Header: /tcpdump/master/libpcap/Attic/pcap.3,v 1.12 2000-10-22 02:21:34 guy Exp $
.\"
.\" Copyright (c) 1994, 1996, 1997
.\" The Regents of the University of California. All rights reserved.
@@ -110,7 +110,12 @@ chars.
is used to obtain a packet capture descriptor to look
at packets on the network.
.I device
-is a string that specifies the network device to open.
+is a string that specifies the network device to open; on Linux systems
+with 2.2 or later kernels, a
+.I device
+argument of "any" or
+.B NULL
+can be used to capture packets from all interfaces.
.I snaplen
specifies the maximum number of bytes to capture.
.I promisc