]> The Tcpdump Group git mirrors - libpcap/commit
Based on work from Florent Drouin, split the 32-bit link-layer type
authorguy <guy>
Sat, 29 Sep 2007 19:33:29 +0000 (19:33 +0000)
committerguy <guy>
Sat, 29 Sep 2007 19:33:29 +0000 (19:33 +0000)
commitafbb1ce7227dc5edb291f242ed8d95cd3762fc51
treeb97a5fcce33e0057a47caacef86a360b0721db53
parent29dc375264623f60a198eeae36e8fc84f513e1b0
Based on work from Florent Drouin, split the 32-bit link-layer type
field in a capture file into:

a 16-bit link-layer type field (it's 16 bits in pcap-NG, and
that'll probably be enough for the foreseeable future);

a 10-bit "class" field, indicating the group of link-layer type
values to which the link-layer type belongs - class 0 is for
regular DLT_ values, and class 0x224 grandfathers in the NetBSD
"raw address family" link-layer types;

a 6-bit "extension" field, storing information about the
capture, such an indication of whether the packets include an
FCS and, if so, how many bytes of FCS are present.
pcap-dag.c
pcap-int.h
pcap.c
pcap/bpf.h
pcap/pcap.h
savefile.c