]> The Tcpdump Group git mirrors - tcpdump/commitdiff
Note that "-L" will list only the link-layer types available outside
authorGuy Harris <[email protected]>
Wed, 4 Feb 2009 19:30:57 +0000 (11:30 -0800)
committerGuy Harris <[email protected]>
Wed, 4 Feb 2009 19:30:57 +0000 (11:30 -0800)
monitor mode if "-I" isn't specified and will list only the link-layer
types available in monitor mode if "-I" is specified, and that "-I" will
affect what "-L" reports.

tcpdump.1.in

index 74328c1ef4e069339b4c6a136492c496d9cf2dcc..06140cb2b827a9dbd641315b2ce2cd9b87eb4b94 100644 (file)
@@ -344,6 +344,16 @@ any wireless networks with that adapter.  This could prevent accessing
 files on a network server, or resolving host names or network addresses,
 if you are capturing in monitor mode and are not connected to another
 network with another adapter.
+.IP
+This flag will affect the output of the
+.B \-L
+flag.  If
+.B \-I
+isn't specified, only those link-layer types available when not in
+monitor mode will be shown; if
+.B \-I
+is specified, only those link-layer types available when in monitor mode
+will be shown.
 .TP
 .B \-K
 Don't attempt to verify TCP checksums.  This is useful for interfaces
@@ -360,7 +370,15 @@ E.g.,
 ``tcpdump\ \ \-l \ \ > dat\ \ &\ \ tail\ \ \-f\ \ dat''.
 .TP
 .B \-L
-List the known data link types for the interface and exit.
+List the known data link types for the interface, in the specified mode,
+and exit.  The list of known data link types may be dependent on the
+specified mode; for example, on some platforms, a Wi-Fi interface might
+support one set of data link types when not in monitor mode (for
+example, it might support only fake Ethernet headers, or might support
+802.11 headers but not support 802.11 headers with radio information)
+and another set of data link types when in monitor mode (for example, it
+might support 802.11 headers, or 802.11 headers with radio information,
+only in monitor mode).
 .TP
 .B \-m
 Load SMI MIB module definitions from file \fImodule\fR.