From patchwork Tue Nov 21 19:00:06 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Github ODP bot X-Patchwork-Id: 119396 Delivered-To: patch@linaro.org Received: by 10.140.22.164 with SMTP id 33csp5659666qgn; Tue, 21 Nov 2017 11:01:57 -0800 (PST) X-Google-Smtp-Source: AGs4zMYTkB+WNRBwJoWaEVXZZHnOC8deBUW8fNeRd1OgB0cegfdptsWp7ICVY7dbavxDrDRxqC08 X-Received: by 10.237.58.67 with SMTP id n61mr11482172qte.171.1511290917529; Tue, 21 Nov 2017 11:01:57 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1511290917; cv=none; d=google.com; s=arc-20160816; b=jP72f/IpDRszL1lVpmMYjADRk9Swu63JzxmhYv2Bjne3cauPwHALIHMAsx1gUA1cz/ xvoF37WwuAKU4uLifSDsSvFYUYgNCduy00DDKHijhajYBws0bO9fD2PgibJTLgZmoc6m nET8LfChRuy/CjEP/mKevwRrhHMw17iW+zg/LbJjQ7X9Zei5ePl0eKiCxmUDS1EzHRPd EmAxxLh7diY9Oj41DbUXF6a4HH4UXCs/v33ZDgwUO27X9UW10ROab4mCprMNLmK1CKzj +xv/++2fR8vsLwlxiOZkX0md11fvX6WANPCyrTPlJaNEsW0W1s6h7MHmfAhra81+3rIp naCw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:list-subscribe:list-help:list-post:list-archive :list-unsubscribe:list-id:precedence:subject:github-pr-num :references:in-reply-to:message-id:date:to:from:delivered-to :arc-authentication-results; bh=gMCFdTdDUh5XU3LtffeM+G611Hp7zp6R+Dl0PLQK8WU=; b=osiZfmHvaCdWgXV/ZaLTs6BzZWpb6YVD2+GiLu+MaODyyVxAICE6oFlOYQGGz9/mNu 4sa0ON9c1fYmLUKb8QrMqIuRXhOBC10xSdURBMoeAevCwntand5R7T1P751/hNG4CSHY csS0Tzy8jq7djURY/GevzvdKOCRH96pFU/WoKHCfPbMlxVItL/bRMUhPELmPxlqhbQY3 daeVQB7mDO0zXJdsvW7NWZwdJXGvapQ2a/3PWTuJIQeJGTGOzo20vsDI+ASgw4eYIDz7 iQuYPm+c1KCDSitFgAReuTSSu6TzK7yp0I7zYVa4eWbUiRD9yvU7iLlRglEx5G2bH6B7 e4dw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of lng-odp-bounces@lists.linaro.org designates 54.197.127.237 as permitted sender) smtp.mailfrom=lng-odp-bounces@lists.linaro.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=yandex.ru Return-Path: Received: from lists.linaro.org (ec2-54-197-127-237.compute-1.amazonaws.com. [54.197.127.237]) by mx.google.com with ESMTP id g37si13269873qtg.278.2017.11.21.11.01.57; Tue, 21 Nov 2017 11:01:57 -0800 (PST) Received-SPF: pass (google.com: domain of lng-odp-bounces@lists.linaro.org designates 54.197.127.237 as permitted sender) client-ip=54.197.127.237; Authentication-Results: mx.google.com; spf=pass (google.com: domain of lng-odp-bounces@lists.linaro.org designates 54.197.127.237 as permitted sender) smtp.mailfrom=lng-odp-bounces@lists.linaro.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=yandex.ru Received: by lists.linaro.org (Postfix, from userid 109) id 2985760732; Tue, 21 Nov 2017 19:01:57 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on ip-10-142-244-252 X-Spam-Level: X-Spam-Status: No, score=-2.6 required=5.0 tests=BAYES_00,FREEMAIL_FROM, RCVD_IN_DNSWL_LOW,URIBL_BLOCKED autolearn=disabled version=3.4.0 Received: from [127.0.0.1] (localhost [127.0.0.1]) by lists.linaro.org (Postfix) with ESMTP id 9C21F60655; Tue, 21 Nov 2017 19:00:35 +0000 (UTC) X-Original-To: lng-odp@lists.linaro.org Delivered-To: lng-odp@lists.linaro.org Received: by lists.linaro.org (Postfix, from userid 109) id E417B6087B; Tue, 21 Nov 2017 19:00:22 +0000 (UTC) Received: from forward15o.cmail.yandex.net (forward15o.cmail.yandex.net [37.9.109.212]) by lists.linaro.org (Postfix) with ESMTPS id D5CE860647 for ; Tue, 21 Nov 2017 19:00:15 +0000 (UTC) Received: from mxback7j.mail.yandex.net (mxback7j.mail.yandex.net [IPv6:2a02:6b8:0:1619::110]) by forward15o.cmail.yandex.net (Yandex) with ESMTP id 89F1D25553 for ; Tue, 21 Nov 2017 22:00:14 +0300 (MSK) Received: from smtp1j.mail.yandex.net (smtp1j.mail.yandex.net [2a02:6b8:0:801::ab]) by mxback7j.mail.yandex.net (nwsmtp/Yandex) with ESMTP id BHwg0t1qh0-0ETKUSGD; Tue, 21 Nov 2017 22:00:14 +0300 Received: by smtp1j.mail.yandex.net (nwsmtp/Yandex) with ESMTPSA id OmrPjoFefV-0D6OgIjf; Tue, 21 Nov 2017 22:00:13 +0300 (using TLSv1.2 with cipher ECDHE-RSA-AES128-SHA256 (128/128 bits)) (Client certificate not present) From: Github ODP bot To: lng-odp@lists.linaro.org Date: Tue, 21 Nov 2017 22:00:06 +0300 Message-Id: <1511290808-19101-6-git-send-email-odpbot@yandex.ru> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1511290808-19101-1-git-send-email-odpbot@yandex.ru> References: <1511290808-19101-1-git-send-email-odpbot@yandex.ru> Github-pr-num: 304 Subject: [lng-odp] [PATCH API-NEXT v7 5/7] linux-gen: protocols: ip: add more ipv6 defines X-BeenThere: lng-odp@lists.linaro.org X-Mailman-Version: 2.1.16 Precedence: list List-Id: "The OpenDataPlane \(ODP\) List" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: lng-odp-bounces@lists.linaro.org Sender: "lng-odp" From: Dmitry Eremin-Solenikov Signed-off-by: Dmitry Eremin-Solenikov --- /** Email created from pull request 304 (lumag:ipsec-ipv6-2) ** https://github.com/Linaro/odp/pull/304 ** Patch: https://github.com/Linaro/odp/pull/304.patch ** Base sha: d4b364849c4abb4c71e0c5260e1a793ebb8dc97d ** Merge commit sha: 7b3afd508996885ff9ce6ab08b42e700884251b0 **/ platform/linux-generic/include/protocols/ip.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/platform/linux-generic/include/protocols/ip.h b/platform/linux-generic/include/protocols/ip.h index 0fc391abe..7b6b736a6 100644 --- a/platform/linux-generic/include/protocols/ip.h +++ b/platform/linux-generic/include/protocols/ip.h @@ -161,11 +161,13 @@ typedef struct ODP_PACKED { #define _ODP_IPPROTO_IPIP 0x04 /**< IP Encapsulation within IP (4) */ #define _ODP_IPPROTO_TCP 0x06 /**< Transmission Control Protocol (6) */ #define _ODP_IPPROTO_UDP 0x11 /**< User Datagram Protocol (17) */ +#define _ODP_IPPROTO_IPV6 0x29 /**< IPv6 Routing header (41) */ #define _ODP_IPPROTO_ROUTE 0x2B /**< IPv6 Routing header (43) */ #define _ODP_IPPROTO_FRAG 0x2C /**< IPv6 Fragment (44) */ #define _ODP_IPPROTO_AH 0x33 /**< Authentication Header (51) */ #define _ODP_IPPROTO_ESP 0x32 /**< Encapsulating Security Payload (50) */ #define _ODP_IPPROTO_ICMPv6 0x3A /**< Internet Control Message Protocol (58) */ +#define _ODP_IPPROTO_DEST 0x3C /**< IPv6 Destination header (60) */ #define _ODP_IPPROTO_SCTP 0x84 /**< Stream Control Transmission protocol (132) */ #define _ODP_IPPROTO_INVALID 0xFF /**< Reserved invalid by IANA */