From patchwork Wed Nov 22 12:00:03 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: 119471 Delivered-To: patch@linaro.org Received: by 10.80.225.132 with SMTP id k4csp10676edl; Wed, 22 Nov 2017 04:04:37 -0800 (PST) X-Google-Smtp-Source: AGs4zMYTKVRiT6XzdZACLzFQLQJGcVX0+yxTl1BLxYIy/Wlq047dwF7tVidRt7O0ZM+Us0ExHRqy X-Received: by 10.237.34.193 with SMTP id q1mr31193300qtc.78.1511352277103; Wed, 22 Nov 2017 04:04:37 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1511352277; cv=none; d=google.com; s=arc-20160816; b=xCek3hVDKvEww+PLeyFD6o2TsgTuQDjbHXb2Gejt8VQnOI0jm1ZAplhkaRtbxDwFgS +QlJ2oja21ryprA0EZ25O6kxpk8sxKrT777DKnbl7Rssc+gKX3tLjFWHFkbJZZu8R4QH 9286OnFQe86p25OVEtNnguxazqr1U/Vg7150tl8e1tCeqrdzGu2R89QYazwFHF8ElYWJ 0FjCMkSgI97ybCRra8A5bVcaHJszjYZsbtIbPNy9W7j66bU5gwWF+jYhGZE43oeetDAH /x+7dRP0HdwxEXp+tc8JRm6Mk+CQ8o4pcfm8e1Zoy/09qKKOa7rnKwdYBy3L/bftJkUr /PFA== 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=9l3/bdy10r1KITO3z8vjU76QmJjeEZJCnofwpTECIJI=; b=0qsIwLA9fzR68s+afnPeSxpT9JCsNMX3aN58ezKODrHkLbvmz0nIQVGMoh9OF7uzpr keGAhsAsXYycc87t0csAfXZp0zlhyoLbcjJZXJiel76OGspyS+dRA4vTHiSOmbzeqgAY M9ZMVH45dYp6TXw0MBmvikTf/cCVJzfsmhYAvzbLzAjrDp5UrTOv21Ju2b5SLrw/RSRt 88rC2moRD7hjrOyTmFk5LO8/lcYHqlVAX+unUcItEzizE04C7kWjSRfflOQqoA2BHqzj 1Ya6i26BhptOYlSD7UYqUUYarwRDieabNbMmfIZCnNRBuOwOYrNdq03gNEMg2jpP0fiB do8w== 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 g27si2421618qtb.187.2017.11.22.04.04.36; Wed, 22 Nov 2017 04:04:37 -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 B713260764; Wed, 22 Nov 2017 12:04:36 +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, 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 3F2C760690; Wed, 22 Nov 2017 12:02:24 +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 0204060879; Wed, 22 Nov 2017 12:02:07 +0000 (UTC) Received: from forward106p.mail.yandex.net (forward106p.mail.yandex.net [77.88.28.109]) by lists.linaro.org (Postfix) with ESMTPS id C0F2F6087F for ; Wed, 22 Nov 2017 12:00:15 +0000 (UTC) Received: from mxback6g.mail.yandex.net (mxback6g.mail.yandex.net [IPv6:2a02:6b8:0:1472:2741:0:8b7:167]) by forward106p.mail.yandex.net (Yandex) with ESMTP id 2BE592D85976 for ; Wed, 22 Nov 2017 15:00:14 +0300 (MSK) Received: from smtp1j.mail.yandex.net (smtp1j.mail.yandex.net [2a02:6b8:0:801::ab]) by mxback6g.mail.yandex.net (nwsmtp/Yandex) with ESMTP id cRbmyMJwvp-0E1GHJNQ; Wed, 22 Nov 2017 15:00:14 +0300 Received: by smtp1j.mail.yandex.net (nwsmtp/Yandex) with ESMTPSA id zD8DI4EGCa-0DxqQEsA; Wed, 22 Nov 2017 15: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: Wed, 22 Nov 2017 15:00:03 +0300 Message-Id: <1511352009-8608-4-git-send-email-odpbot@yandex.ru> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1511352009-8608-1-git-send-email-odpbot@yandex.ru> References: <1511352009-8608-1-git-send-email-odpbot@yandex.ru> Github-pr-num: 304 Subject: [lng-odp] [PATCH API-NEXT v7 3/9] fixup! linux-gen: modularize IPsec implementation 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: b95e7d08043ba45d12635c5afaa3fbf3a07ecc90 ** Merge commit sha: c41aaa7560db330ca3ffd2407b694000e094b5fc **/ platform/linux-generic/odp_ipsec.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/platform/linux-generic/odp_ipsec.c b/platform/linux-generic/odp_ipsec.c index f065e5809..b0103604e 100644 --- a/platform/linux-generic/odp_ipsec.c +++ b/platform/linux-generic/odp_ipsec.c @@ -236,9 +236,9 @@ typedef struct { }; union { struct { - uint8_t tos; /**< Saved IP TOS value */ - uint8_t ttl; /**< Saved IP TTL value */ - uint16_t frag_offset; /**< Saved IP flags value */ + uint8_t tos; + uint8_t ttl; + uint16_t frag_offset; } ah_ipv4; }; ipsec_aad_t aad;