aboutsummaryrefslogtreecommitdiffstats
path: root/tools/lib/subcmd/parse-options.c
diff options
context:
space:
mode:
authorWillem de Bruijn <[email protected]>2020-07-24 13:03:09 +0000
committerDavid S. Miller <[email protected]>2020-07-25 00:12:41 +0000
commit178c49d9f9a4b5ade00c93480d714708fe971e24 (patch)
tree715bff01ce3d3520801c36e1a2daf7f3a20273d5 /tools/lib/subcmd/parse-options.c
parenticmp: revise rfc4884 tests (diff)
downloadkernel-178c49d9f9a4b5ade00c93480d714708fe971e24.tar.gz
kernel-178c49d9f9a4b5ade00c93480d714708fe971e24.zip
icmp: prepare rfc 4884 for ipv6
The RFC 4884 spec is largely the same between IPv4 and IPv6. Factor out the IPv4 specific parts in preparation for IPv6 support: - icmp types supported - icmp header size, and thus offset to original datagram start - datagram length field offset in icmp(6)hdr. - datagram length field word size: 4B for IPv4, 8B for IPv6. Signed-off-by: Willem de Bruijn <[email protected]> Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'tools/lib/subcmd/parse-options.c')
0 files changed, 0 insertions, 0 deletions