Willem de Bruijn 178c49d9f9 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 <willemb@google.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2020-07-24 17:12:41 -07:00
..
2020-07-13 17:20:39 -07:00
2020-06-23 20:27:09 -07:00
2020-07-20 18:33:32 -07:00
2020-07-24 17:12:41 -07:00
2020-07-13 17:20:39 -07:00
2020-07-13 17:20:40 -07:00
2020-07-13 17:20:40 -07:00
2020-07-13 17:20:40 -07:00