diff options
author | guy <guy> | 2007-09-29 19:33:29 +0000 |
---|---|---|
committer | guy <guy> | 2007-09-29 19:33:29 +0000 |
commit | afbb1ce7227dc5edb291f242ed8d95cd3762fc51 (patch) | |
tree | b97a5fcce33e0057a47caacef86a360b0721db53 /bpf | |
parent | 29dc375264623f60a198eeae36e8fc84f513e1b0 (diff) | |
download | libpcap-afbb1ce7227dc5edb291f242ed8d95cd3762fc51.tar.gz |
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.
Diffstat (limited to 'bpf')
0 files changed, 0 insertions, 0 deletions