aboutsummaryrefslogtreecommitdiffstats
path: root/sys/vnet_amd64.const
diff options
context:
space:
mode:
authorAndrey Konovalov <andreyknvl@google.com>2017-02-08 15:49:03 +0100
committerAndrey Konovalov <andreyknvl@google.com>2017-02-08 17:11:54 +0100
commit0130c7b34e9e4e831c2794f00a0d017040a967a9 (patch)
treed004778543ebef9d348e491f428d0de17d332b28 /sys/vnet_amd64.const
parent8792b9237970ec1e93423de538bbe646a8ecff90 (diff)
prog, sys: add icmpv6 packet descriptions and checksums
Also generalize checksums into the two kinds: inet and pseudo. Inet checksums is just the Internet checksum of a packet. Pseudo checksum is the Internet checksum of a packet with a pseudo header.
Diffstat (limited to 'sys/vnet_amd64.const')
-rw-r--r--sys/vnet_amd64.const28
1 files changed, 28 insertions, 0 deletions
diff --git a/sys/vnet_amd64.const b/sys/vnet_amd64.const
index e9c262f0d..a9ebe9aad 100644
--- a/sys/vnet_amd64.const
+++ b/sys/vnet_amd64.const
@@ -63,6 +63,34 @@ ETH_P_TIPC = 35018
ETH_P_TSN = 8944
ETH_P_WCCP = 34878
ETH_P_X25 = 2053
+ICMPV6_ADDR_UNREACH = 3
+ICMPV6_ADM_PROHIBITED = 1
+ICMPV6_DEST_UNREACH = 1
+ICMPV6_DHAAD_REPLY = 145
+ICMPV6_DHAAD_REQUEST = 144
+ICMPV6_ECHO_REPLY = 129
+ICMPV6_ECHO_REQUEST = 128
+ICMPV6_EXC_FRAGTIME = 1
+ICMPV6_EXC_HOPLIMIT = 0
+ICMPV6_HDR_FIELD = 0
+ICMPV6_MGM_QUERY = 130
+ICMPV6_MGM_REDUCTION = 132
+ICMPV6_MGM_REPORT = 131
+ICMPV6_MLD2_REPORT = 143
+ICMPV6_MOBILE_PREFIX_ADV = 147
+ICMPV6_MOBILE_PREFIX_SOL = 146
+ICMPV6_NI_QUERY = 139
+ICMPV6_NI_REPLY = 140
+ICMPV6_NOROUTE = 0
+ICMPV6_NOT_NEIGHBOUR = 2
+ICMPV6_PARAMPROB = 4
+ICMPV6_PKT_TOOBIG = 2
+ICMPV6_POLICY_FAIL = 5
+ICMPV6_PORT_UNREACH = 4
+ICMPV6_REJECT_ROUTE = 6
+ICMPV6_TIME_EXCEED = 3
+ICMPV6_UNK_NEXTHDR = 1
+ICMPV6_UNK_OPTION = 2
ICMP_ADDRESS = 17
ICMP_ADDRESSREPLY = 18
ICMP_DEST_UNREACH = 3