From patchwork Tue Dec 12 23:00:21 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: 121668 Delivered-To: patch@linaro.org Received: by 10.140.22.227 with SMTP id 90csp4737662qgn; Tue, 12 Dec 2017 15:06:00 -0800 (PST) X-Google-Smtp-Source: ACJfBov67WyiJA825I9Gpjk9SNWGfdmrC7xRsCWXxSS92u0MBgggL79RayIQI9aPkL89bSmdMs8k X-Received: by 10.237.34.45 with SMTP id n42mr8446498qtc.12.1513119960199; Tue, 12 Dec 2017 15:06:00 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1513119960; cv=none; d=google.com; s=arc-20160816; b=dbX1i3xPB0nafx7BJkUSoWnzhnz9fRhO8R3Ki5LJMso/gCjSv7wUau9MnWHa+cKIvJ 27UBGZCek7e2FTHUsupL6ttEiEBTyEECngz4UYE3Ka3vZDI+HcFr14kZfD4/h1kv8sJK Xi6UkOTFkPibBhbX5LsRxc/ZYEKSyYMZHzPuHty8iNb7SATzDdA6DDJlFuABB422Q7e+ sIETl2E3hU+VRpljW11PM/N9A4ijJi5INxPrNS1AWzwPrZzGT7OfK14qSbUVs13ckzCK vVHfga80ncWlrqnejtfzhWXFcQUfOHCnZlcAoVFaBdQ+m92/WCnSG6+ASjoOjYuLSTMW DuGA== 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=tpKDqRJpCPkpg7kB3uor/VSQZByq2aHrAcCoT4Z7I9c=; b=JY86JAbntKc/9t9T/x8jPi2V+VVpWdJRGUOStzUj1SP9kFIWpoj659DZwvEiYyDTbO cOFXSsRiqgVWIeagi1nACvhDmQ6yUwOUPPNol931qoTE+8B/KXGINOcy2WEoOO3zUnPd WcAecrYsL6+BwTMCxBzo4vF5d4bcCR+iS8+ByPcxo92c10sPZ+MGWjbCH9mY8uGchyu5 dYtoxPGc7ApUUYkK8DxIravXxdqBCfoth/MZbpgg6I3e34ASq8aFSp2zFWbIJrqSmGxd hmtFh0+xl6vCuNF9FDKm4ZOpczaUZMff62hcDre5ZANFlLqucdlmrzlFugA7TxY8vPx9 SPgQ== 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 o23si296090qtk.462.2017.12.12.15.06.00; Tue, 12 Dec 2017 15:06:00 -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 E37AD60933; Tue, 12 Dec 2017 23:05:59 +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=-5.4 required=5.0 tests=BAYES_00,FREEMAIL_FROM, RCVD_IN_DNSWL_LOW, RCVD_IN_MSPIKE_H2 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 D91FB60958; Tue, 12 Dec 2017 23:01:25 +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 69F27608F7; Tue, 12 Dec 2017 23:00:59 +0000 (UTC) Received: from forward102o.mail.yandex.net (forward102o.mail.yandex.net [37.140.190.182]) by lists.linaro.org (Postfix) with ESMTPS id 0A746608DF for ; Tue, 12 Dec 2017 23:00:38 +0000 (UTC) Received: from mxback4o.mail.yandex.net (mxback4o.mail.yandex.net [IPv6:2a02:6b8:0:1a2d::1e]) by forward102o.mail.yandex.net (Yandex) with ESMTP id D9B7C5A05693 for ; Wed, 13 Dec 2017 02:00:36 +0300 (MSK) Received: from smtp4j.mail.yandex.net (smtp4j.mail.yandex.net [2a02:6b8:0:1619::15:6]) by mxback4o.mail.yandex.net (nwsmtp/Yandex) with ESMTP id PSd1VM3mTr-0ac4XU9A; Wed, 13 Dec 2017 02:00:36 +0300 Received: by smtp4j.mail.yandex.net (nwsmtp/Yandex) with ESMTPSA id 3wAtrviM64-0a0am6sA; Wed, 13 Dec 2017 02:00:36 +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: Wed, 13 Dec 2017 02:00:21 +0300 Message-Id: <1513119632-28755-6-git-send-email-odpbot@yandex.ru> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1513119632-28755-1-git-send-email-odpbot@yandex.ru> References: <1513119632-28755-1-git-send-email-odpbot@yandex.ru> Github-pr-num: 304 Subject: [lng-odp] [PATCH API-NEXT v14 5/16] 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: d96a8207591fbcaac25b79286d7d72a537354c1f ** Merge commit sha: 832a79461bc8bd90e572c396fa081e162e1dacb6 **/ 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 */