]> The Tcpdump Group git mirrors - libpcap/commitdiff
Note that what follows the ipnet pseudo-header is an IPv4 or IPv6
authorGuy Harris <[email protected]>
Mon, 27 Jul 2009 19:04:39 +0000 (12:04 -0700)
committerGuy Harris <[email protected]>
Mon, 27 Jul 2009 19:04:39 +0000 (12:04 -0700)
datagram.

pcap/bpf.h
savefile.c

index c5a11d32033041814784a6611374a50328b51c8d..91f33eb57264d07bc1c0232f88b91ac2ad6fb869 100644 (file)
@@ -938,6 +938,9 @@ struct bpf_version {
  * A zone number of 0 is the global zone; a zone number of 0xffffffff
  * means that the packet arrived from another host on the network, not
  * from another zone on the same machine.
+ *
+ * An IPv4 or IPv6 datagram follows the pseudo-header; dli_family indicates
+ * which of those it is.
  */
 #define DLT_IPNET                      226
 
index de3808b0eff2e2e66caca28d8dee87d8bc7a4bda..e3687da41beae083800a968ffd19306e41882bc8 100644 (file)
@@ -778,6 +778,9 @@ static const char rcsid[] _U_ =
  * A zone number of 0 is the global zone; a zone number of 0xffffffff
  * means that the packet arrived from another host on the network, not
  * from another zone on the same machine.
+ *
+ * An IPv4 or IPv6 datagram follows the pseudo-header; dli_family indicates
+ * which of those it is.
  */
 #define LINKTYPE_IPNET                         226