]> The Tcpdump Group git mirrors - libpcap/commit
Tests for the transport-layer protocol differ based on whether the
authorguy <guy>
Wed, 30 May 2007 18:05:21 +0000 (18:05 +0000)
committerguy <guy>
Wed, 30 May 2007 18:05:21 +0000 (18:05 +0000)
commita8f23f719a1b596e3a18e2cb5ce53a1135ee8f27
treed1607b9f94423552dc86f598ae217dbc17bcb223
parent666dd96733f16e9269f409d04184a70575bc2ed9
Tests for the transport-layer protocol differ based on whether the
network-layer protocol is IPv4 or IPv6, regardless of the link-layer
protocol.  Therefore, we have to check for IPv4 and IPv6, even for
DLT_RAW - do so by checking the version field in the header.
gencode.c