Skip to content

Commit

Permalink
pcap: State that the link-layer type is an unsigned integer
Browse files Browse the repository at this point in the history
It is a 16-bit unsigned integer.
Source: draft-ietf-opsawg-pcaplinktype.md states that it can have values
from 32768 to 65000 and from 65001 to 65535.
  • Loading branch information
fxlb authored and guyharris committed Jan 11, 2025
1 parent 4a0a959 commit 8f32014
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion draft-ietf-opsawg-pcap.md
Original file line number Diff line number Diff line change
Expand Up @@ -175,7 +175,7 @@ or writing the file, with bit 0 being the most-significant bit of the
field and bit 31 being the least-significant bit of the field.

Link-layer type (16 bits):
: a 16-bit value indicating link-layer type for packets in the file;
: a 16-bit unsigned integer indicating link-layer type for packets in the file;
it is a value as defined in the PCAP LinkType list registry, as defined in {{I-D.ietf-opsawg-pcaplinktype}}.

Reserved3 (10 bits):
Expand Down

0 comments on commit 8f32014

Please sign in to comment.