From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id 5C8C645BE5; Mon, 28 Oct 2024 03:21:48 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 214794065E; Mon, 28 Oct 2024 03:21:45 +0100 (CET) Received: from mail-pl1-f169.google.com (mail-pl1-f169.google.com [209.85.214.169]) by mails.dpdk.org (Postfix) with ESMTP id 71DBB402A3 for ; Mon, 28 Oct 2024 03:21:42 +0100 (CET) Received: by mail-pl1-f169.google.com with SMTP id d9443c01a7336-207115e3056so30719645ad.2 for ; Sun, 27 Oct 2024 19:21:42 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=networkplumber-org.20230601.gappssmtp.com; s=20230601; t=1730082101; x=1730686901; darn=dpdk.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=MEG5s04o67W0W9cj0UdOKiBDXWrcq8BCrKHcNUyGAyI=; b=nUK4S72OqihC0Q8fWNr61o0DiXIeo04IUOMspohQ36c7F4DkM+k+rOk/AIFdpcLS9o V4QCUQyGX8KDPDMQ8lIxb5MtbDwrKzyFmXxyf1x6Yf5O12EynzTJJ1nrveIgxn8+Ze2y FZQqhyHcIgKhyFPpffkwqjHOxNaHBkzYIgIsXduLecIeaFMGrEeZCj1F6QJr3HCuhVyH lmyD3/Yeb2Yqa+NGA3hBc5WHF+VtYs3bF00MlWajrr0po7vjIDZRTV2UUhmB+qtdpuNo sXcqUMRBeHyPqxaqxzj8YWsLrzPxsTNVQqg2gNjWv5VKrcikpCpq/ePTMLSNGKJYBfV2 Jlzg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1730082101; x=1730686901; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=MEG5s04o67W0W9cj0UdOKiBDXWrcq8BCrKHcNUyGAyI=; b=urvhQppUkBBiw8TxoqSXwMhjv9ngi0NXkKpFyi9HQR6TPMN+OljiXA1XUhZuiDRvb0 Ky7yJhIA0U1J++YeKIvkfg5W7ddrMeizYNotFOFJYknpEnryvDFcsk+oSUOVSr3LEL4c Qqz2GMgaptirOvcawrgLYKc4s4Z4YeT6/cjz/U+3eglb+ERtAVMzteNrf0Dw6y1eyWkU YgTsuKewgUr8uCjqKmqxZlqsGoDcIPwlJ/5nRouJpihcaZfhDqFPnxnZ+bodK/G2Lghp F4xZgHOth5UKKCeLKeqJtpwsF+ynshElhmADLH0OYi0y3eMU4ZLAps1BAfnyUYtRm4H4 qFqw== X-Gm-Message-State: AOJu0Yz4iwyrHF492kdsCmeXETia8uBzzKcAmmZNH5fWC3AtV6qbiBfh JzRZOWRGGr8udUTFTCtjcQVZs7jdnKcNTjCqyOYBisiTg+gRBfu2d12sSA6R7vHiLJ0P73sQ3T1 wIro= X-Google-Smtp-Source: AGHT+IH81WKMWC60kBpJWGdBeK2ZQXNDbpa1zidNollRjO0rCoKCuHs+tUeGkknB9GZOpxwiGEzInQ== X-Received: by 2002:a17:902:ce09:b0:203:a0ea:63c5 with SMTP id d9443c01a7336-210c67231d0mr93989425ad.0.1730082101560; Sun, 27 Oct 2024 19:21:41 -0700 (PDT) Received: from hermes.local (204-195-96-226.wavecable.com. [204.195.96.226]) by smtp.gmail.com with ESMTPSA id d9443c01a7336-210bc04b8bbsm41095615ad.244.2024.10.27.19.21.41 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 27 Oct 2024 19:21:41 -0700 (PDT) From: Stephen Hemminger To: dev@dpdk.org Cc: Stephen Hemminger Subject: [PATCH v10 1/8] net: add more icmp types Date: Sun, 27 Oct 2024 19:19:27 -0700 Message-ID: <20241028022131.142609-2-stephen@networkplumber.org> X-Mailer: git-send-email 2.45.2 In-Reply-To: <20241028022131.142609-1-stephen@networkplumber.org> References: <20240312220129.70667-1-stephen@networkplumber.org> <20241028022131.142609-1-stephen@networkplumber.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Add types for SOURCE_QUENCH and IPv6 neighbor discovery. Signed-off-by: Stephen Hemminger --- 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