summaryrefslogtreecommitdiffhomepage
path: root/pkg/p9
diff options
context:
space:
mode:
authorBhasker Hariharan <bhaskerh@google.com>2020-08-25 14:45:03 -0700
committerAndrei Vagin <avagin@gmail.com>2020-09-09 17:53:10 -0700
commit09bd5a57f3456bb411c34cced923531dc8e0aec7 (patch)
treee6871825076dd5d67c49d12ee5e8adc650cb16b1 /pkg/p9
parente6a1608bc71308fecf951970f17db0bba2611ff0 (diff)
Clarify comment on NetworkProtocolNumber.
The actual values used for this field in Netstack are actually EtherType values of the protocol in an Ethernet frame. Eg. header.IPv4ProtocolNumber is 0x0800 and not the number of the IPv4 Protocol Number itself which is 4. Similarly header.IPv6ProtocolNumber is set to 0x86DD whereas the IPv6 protocol number is 41. See: - https://www.iana.org/assignments/ieee-802-numbers/ieee-802-numbers.xhtml (For EtherType) - https://www.iana.org/assignments/protocol-numbers/protocol-numbers.xhtml (For ProtocolNumbers) PiperOrigin-RevId: 328407293
Diffstat (limited to 'pkg/p9')
0 files changed, 0 insertions, 0 deletions