Add types for SOURCE_QUENCH and IPv6 neighbor discovery.

Signed-off-by: Stephen Hemminger <step...@networkplumber.org>
---
 lib/net/rte_icmp.h | 9 +++++++++
 1 file changed, 9 insertions(+)

diff --git a/lib/net/rte_icmp.h b/lib/net/rte_icmp.h
index e69d68ab6e..1ca6cf35cb 100644
--- a/lib/net/rte_icmp.h
+++ b/lib/net/rte_icmp.h
@@ -54,6 +54,7 @@ struct rte_icmp_hdr {
 #define RTE_IP_ICMP_ECHO_REPLY \
        (RTE_DEPRECATED(RTE_IP_ICMP_ECHO_REPLY) RTE_ICMP_TYPE_ECHO_REPLY)
 #define RTE_ICMP_TYPE_DEST_UNREACHABLE 3
+#define RTE_ICMP_TYPE_SOURCE_QUENCH 4
 #define RTE_ICMP_TYPE_REDIRECT 5
 #define RTE_ICMP_TYPE_ECHO_REQUEST 8
 #define RTE_IP_ICMP_ECHO_REQUEST \
@@ -62,6 +63,8 @@ struct rte_icmp_hdr {
 #define RTE_ICMP_TYPE_PARAM_PROBLEM 12
 #define RTE_ICMP_TYPE_TIMESTAMP_REQUEST 13
 #define RTE_ICMP_TYPE_TIMESTAMP_REPLY 14
+#define RTE_ICMP_TYPE_INFO_REQUEST 15
+#define RTE_ICMP_TYPE_INFO_REPLY 16
 
 /* Destination Unreachable codes */
 #define RTE_ICMP_CODE_UNREACH_NET 0
@@ -84,4 +87,10 @@ struct rte_icmp_hdr {
 #define RTE_ICMP6_ECHO_REQUEST 128
 #define RTE_ICMP6_ECHO_REPLY   129
 
+/* Neighbor discovery */
+#define RTE_ND_ROUTER_SOLICIT   133
+#define RTE_ND_ROUTER_ADVERT    134
+#define RTE_ND_NEIGHBOR_SOLICIT 135
+#define RTE_ND_NEIGHBOR_ADVERT  136
+
 #endif /* RTE_ICMP_H_ */
-- 
2.45.2

Reply via email to