aboutsummaryrefslogtreecommitdiffstats
path: root/doc
diff options
context:
space:
mode:
authorAshok Narayanan <ashokn@cisco.com>2001-05-16 22:50:36 +0000
committerAshok Narayanan <ashokn@cisco.com>2001-05-16 22:50:36 +0000
commit28fb6a9ade214f43b37369c6160dd4e014bfb520 (patch)
tree72ca4a29eebb64a9dc0a3708c8f36521ad7bccea /doc
parente7fa2d44fa62621a93c030d0e06d6c59af078eb8 (diff)
Documentation fix to generalize 'text2pcap -e' for all L3 packets instead of just IP.
svn path=/trunk/; revision=3423
Diffstat (limited to 'doc')
-rw-r--r--doc/text2pcap.pod12
1 files changed, 9 insertions, 3 deletions
diff --git a/doc/text2pcap.pod b/doc/text2pcap.pod
index 42c88658a3..f8a913dd93 100644
--- a/doc/text2pcap.pod
+++ b/doc/text2pcap.pod
@@ -104,9 +104,15 @@ the exact type of encapsulation. Example: I<-l 7> for ARCNet packets.
=item -e l3pid
Include a dummy Ethernet header before each packet. Specify the L3PID
-for the Ethernet header in hex. Use this option if your dump is an IP
-packet with IP header and payload, but no Layer 2
-encapsulation. Example: I<-e 0x806> to specify an ARP packet.
+for the Ethernet header in hex. Use this option if your dump has Layer
+3 header and payload (e.g. IP header), but no Layer 2
+encapsulation. Example: I<-e 0x806> to specify an ARP packet.
+
+For IP packets, instead of generating a fake Ethernet header you can
+also use I<-l 12> to indicate a raw IP packet to Ethereal. Note that
+I<-l 12> does not work for any non-IP Layer 3 packet (e.g. ARP),
+whereas generating a dummy Ethernet header with I<-e> works for any
+sort of L3 packet.
=item -i proto