From patchwork Thu Mar 30 10:29:45 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Petri Savolainen X-Patchwork-Id: 96263 Delivered-To: patch@linaro.org Received: by 10.182.246.10 with SMTP id xs10csp1170841obc; Thu, 30 Mar 2017 03:30:31 -0700 (PDT) X-Received: by 10.55.153.199 with SMTP id b190mr4873723qke.305.1490869831052; Thu, 30 Mar 2017 03:30:31 -0700 (PDT) Return-Path: Received: from lists.linaro.org (lists.linaro.org. [54.225.227.206]) by mx.google.com with ESMTP id k188si1476843qkd.87.2017.03.30.03.30.30; Thu, 30 Mar 2017 03:30:31 -0700 (PDT) Received-SPF: pass (google.com: domain of lng-odp-bounces@lists.linaro.org designates 54.225.227.206 as permitted sender) client-ip=54.225.227.206; Authentication-Results: mx.google.com; spf=pass (google.com: domain of lng-odp-bounces@lists.linaro.org designates 54.225.227.206 as permitted sender) smtp.mailfrom=lng-odp-bounces@lists.linaro.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: by lists.linaro.org (Postfix, from userid 109) id 3F7F363530; Thu, 30 Mar 2017 10:30:30 +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=-1.9 required=5.0 tests=BAD_ENC_HEADER,BAYES_00, RCVD_IN_DNSWL_NONE, RCVD_IN_MSPIKE_H4, RCVD_IN_MSPIKE_WL, SPF_HELO_PASS 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 EBF6662D36; Thu, 30 Mar 2017 10:30: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 98F6E62B8D; Thu, 30 Mar 2017 10:30:23 +0000 (UTC) Received: from EUR02-AM5-obe.outbound.protection.outlook.com (mail-eopbgr00111.outbound.protection.outlook.com [40.107.0.111]) by lists.linaro.org (Postfix) with ESMTPS id 8FA3D62B8D for ; Thu, 30 Mar 2017 10:30:17 +0000 (UTC) Received: from DB6PR07CA0090.eurprd07.prod.outlook.com (10.175.238.28) by VI1PR07MB0815.eurprd07.prod.outlook.com (10.161.107.150) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1005.2; Thu, 30 Mar 2017 10:30:15 +0000 Received: from VE1EUR03FT020.eop-EUR03.prod.protection.outlook.com (2a01:111:f400:7e09::202) by DB6PR07CA0090.outlook.office365.com (2603:10a6:6:2b::28) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1019.8 via Frontend Transport; Thu, 30 Mar 2017 10:30:15 +0000 Received-SPF: SoftFail (protection.outlook.com: domain of transitioning linaro.org discourages use of 131.228.2.240 as permitted sender) Received: from mailrelay.int.nokia.com (131.228.2.240) by VE1EUR03FT020.mail.protection.outlook.com (10.152.18.242) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P384) id 15.1.1005.5 via Frontend Transport; Thu, 30 Mar 2017 10:30:15 +0000 Received: from fihe3nok0734.emea.nsn-net.net (localhost [127.0.0.1]) by fihe3nok0734.emea.nsn-net.net (8.14.9/8.14.5) with ESMTP id v2UATjMn020084 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT) for ; Thu, 30 Mar 2017 13:29:45 +0300 Received: from 10.144.19.15 ([10.144.104.219]) by fihe3nok0734.emea.nsn-net.net (8.14.9/8.14.5) with ESMTP id v2UATjot020044 (version=TLSv1/SSLv3 cipher=AES128-SHA256 bits=128 verify=NOT) for ; Thu, 30 Mar 2017 13:29:45 +0300 X-HPESVCS-Source-Ip: 10.144.104.219 From: Petri Savolainen To: Date: Thu, 30 Mar 2017 13:29:45 +0300 Message-ID: <1490869785-16657-3-git-send-email-petri.savolainen@linaro.org> X-Mailer: git-send-email 2.8.1 In-Reply-To: <1490869785-16657-1-git-send-email-petri.savolainen@linaro.org> References: <1490869785-16657-1-git-send-email-petri.savolainen@linaro.org> X-EOPAttributedMessage: 0 X-MS-Office365-Filtering-HT: Tenant X-Forefront-Antispam-Report: CIP:131.228.2.240; IPV:CAL; CTRY:FI; EFV:NLI; SFV:NSPM; SFS:(10019020)(6009001)(39410400002)(39860400002)(39840400002)(39400400002)(39450400003)(39850400002)(2980300002)(199003)(189002)(9170700003)(189998001)(2906002)(22756006)(86362001)(50226002)(81166006)(5003940100001)(8676002)(356003)(47776003)(6916009)(2950100002)(305945005)(8936002)(77096006)(53936002)(76176999)(50986999)(36756003)(5660300001)(105596002)(33646002)(48376002)(2351001)(106466001)(110136004)(38730400002)(50466002)(217873001); DIR:OUT; SFP:1102; SCL:1; SRVR:VI1PR07MB0815; H:mailrelay.int.nokia.com; FPR:; SPF:SoftFail; MLV:sfv; A:1; MX:1; LANG:en; X-Microsoft-Exchange-Diagnostics: 1; VE1EUR03FT020; 1:sP/3At/k9xkqPup1MdVxwlDWvVJ+6YU7czX52D5mhUDqooBeRxJ3pHpxD9ELKNuYT8OOB7woFQByIkkM5hu8MkSnk1pxwb5Y3Er8AK2NviKlAgR3ltx32iRzdnVSWLLs8Doy0HVcEVYtDoBmbAdcHu1nWhzyxMVlX4CMoa3ccsgSxdx0RVYN4ReHI5jNd66I9kj01KtEyi9xpaXb7kcYzJQSS/4yLfCuFJisllqEkb5C9zn5JwlXQ0VskArbCClfpKxjsDvQR79z+ZmIUCYx05XGQzUmF9V/S/pPoFJh9L/qSpn6DSpoj8hfWKxwEnI6qx3GuYPGMOLu3PiB+783KIeiRzEoPhlDqGUkaYcjwtLMbAmgF3cJHCjox4AX/Wqgv+XIaQSRDsowgabkJw4tgFSyKMD9VUi+poLYDazKNPTSOIGBbU2MoxYttLNPLRejIoGr0/QIpGWCGhIBOfiMhwfpKGl6No0GJwNiMI9yy9Coby6WUO7XyymkNDfdiNoAhfT50JZ8KHmqftYUm4M+Sg== MIME-Version: 1.0 X-MS-Office365-Filtering-Correlation-Id: 5079da63-1a84-4c5e-504b-08d47757c14c X-Microsoft-Antispam: UriScan:; BCL:0; PCL:0; RULEID:(22001)(2017030254075)(2017030256075)(201703131423075)(201703031133081); SRVR:VI1PR07MB0815; X-Microsoft-Exchange-Diagnostics: 1; VI1PR07MB0815; 3:vKQMvXE3q9Y7jMrYsLYlc2jH7yWlizoyMaX73LJp73XEBhsmZqS8JluctOdz+fLUOofktgordnQkkZBx1t2Sbh/hohr+yRbS8aobLeWpM6S8JaCVcNVeqLl5yiFADamiArMeXTH/RLNqIvYhhrmknD2xFAYdRA2IBZQJbzQaijdhUwD38TiVD8x46HBOS9FOtmkQ163PGiVRbbYwtNwZJVjrVblLJSI7FIC3KNNqw8+1NYGAU9okh9gmgAttogiNAx6H8aiVSzWWbIokYN7smegSwYmjgvuPKfp2GSW9Zh8lX+LFfnDLEsPoxQ0qhHtnucsdk1cibd1qHlKSdcwWVFFAPhjt/8j2VtNVDeN95df/UhQ9yBU2H8SZ8dTYUDgjfoSwJeRoxcWI3W8cloxm7YGFjSXFuvdy0CleIAvM2TgHNtAefEAL7NG3ChJg6FVLoHHZNxiRfBLuYVlTdSjJP1SorjagMB27P5AZCpXW45yBTl61U65ccqNB8q0xcqBK X-Microsoft-Exchange-Diagnostics: 1; VI1PR07MB0815; 25:hHicxNbRsSiHRYAyQgHR6BTxZSfQ4bWxiJhrd2Q6rOWPk8yvWMqAxz1vPyb5kyUdBLp2s94jpdN4r/bKoc8rFdz2itF7VR6pSvvN26Wodbq4aqMktosgc6uOYTI/kO9K91Hve6FllrdeVUxkyE41RRZn6vnugorV4saPM9aRYDhz/sS53t2Yhiq3RDX2Tna0ZyGR3fiDJ5Sld3/t4TL8dv2pnKQWqEkf/lVwi2oLxPuW9c/TdMeb6I5MPRu77iUp78buvUXycw2c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V+FHvAPJiCIcma3oIaPgcgCkS+X8i3uYuKDuKpey+fwCEuC3mI28mw/rEAM6XZB9r21e9KPNGJt2O9rtlcB0= X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:; X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(6040450)(601004)(2401047)(5005006)(8121501046)(13021025)(13023025)(13013025)(3002001)(10201501046)(93006067)(93003067)(6055026)(6041248)(20161123562025)(20161123564025)(20161123555025)(20161123560025)(201703131423075)(201702281528075)(201703061421075)(6072148); SRVR:VI1PR07MB0815; BCL:0; PCL:0; RULEID:; SRVR:VI1PR07MB0815; X-Microsoft-Exchange-Diagnostics: 1; VI1PR07MB0815; 4:zk4fwrtW75LeuoS3CP1q2mOM8ObhJiXsz3tM5fXVAE4+O+iNPrFjN6tCYyMAoe21bhJx+/xeHbfqcT6hYuIlRmwei1serWLCM1Q6XYgsZ8A80T7EvbWgjG0EWJs0XS5Gc3Z9LT3Lh3FBBkEkL2XlQb5OuF3ZxzCG7BdpVj4bMqUuRdp3rmmiTAExX/SAdhI8DMQqZSSc1cCztX+LEWMR1CIExLD7zbNR6UJ9fqi3bIpZ/SQ1t6cQt8RTtHfRdJYH3svK24sf2dO629hDXsPvJ8cqF9ajOLXs2WWvsQRvWvjMPL/1qhCIG0iN/JsLam7gRX7FdjryjH+VuySS5If6viqUzHrL5Ns/O6/Er495CL8W9Ucy7jZZq/klcSJP9LouWnIosC7HAu4yCbolta6bVpmb7m4fFG+yPe8mvtZ0rg/PQAwnRNJYVdGsG4M8OjrgJ8UnR5XUO16ThEI1zp3+jz41b6+WtHOGbjdOxBPZfRv1MjNX0+sLA/GsuAqEYTfKsPeaPq1D/7sI4IG1s0rm9vU+HAAz9qtKVTO/7pl/BNeOA4jB6Gd/yftc71xiA5JEQN9n7MYijnx7u4X4PTA5+iYZnWuO7d8uaxc0mXt6Zi67LAF1Ac0ZSzmuZQmnw+Bg+74WujAxqMefnquONSpbhvi0wWf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ZWlAWQPkFRHjBOMZQCVXJ1dVvxl14a2L2x6Em8sCMTlAIU8aH+tueA26vMFGGbda/9u94pUT25FVKcczvXd0bjdnz2qcmh3actwdxp+pWeE07XlPziTH9pUpSrAj4RbLyFpjiWoa3PhyvhJ1r7HAGNHc583Z+26ZgafVYClb2WksQ0Q6smK9QAreAeRnQ== X-Microsoft-Exchange-Diagnostics: 1; VI1PR07MB0815; 6:cpRE2tB897UBggHLNJssRzG1BPoUUCdXZQG/Jyxcd1zrSkIirJR5rmLUGkdmI6FqzqtDgEDACGBTZaOglPYpcFLrHkThVgXPQmGH1cxoNhxd9bKirtKR3R+mZkcmYAwN3fH+fJUvUKilslxR4xX5XJvcXi79SK86hQlZSsczFL5WTMk26RSuRb62dPhV5OVZRm8AkcA0vY1CooFImiUFBggPONRv2OJXbervG+MxR8iEVias9SlSOyA7ThAn7XqukZPmy9EMoCvBs5N9teNnG2Nw37G2BynzBsMmDcLo/g7Az4EV2fuzVeMs6P4PkwY0kq2UGQ+dg5275U8N46jv/obKAIpIiVBa6IbLAHHO+McSPgAlPzCWG2HmCld5em8bAPVKY2eevqcbNLttTFR9GOeskaPhXG8IHsOAZRjVWGc=; 5:D3knL5W8AclM+KPmZj/DcE7hQru0jj6JcB32sww2/QH58HZ2n114kvr0lHbv6/E9qqQVEGbfFsHTf1vXx8E5x660WM/lSLhYHwNg+YS9zG7UC9z2Gw2OCNZxVSCFpThpckdLWmeGgZG+L/VoFskKrg==; 24:vyHTbLle4ZFV5YSVE+iHreS8Qsq1KfqtmqKEOOp8TNvIgBCwYaYzL5WElnS8FWrOcbLVEtb4f3MmXjv8TfahV05q682NtyWHjmxDWqBVYfg= SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-Microsoft-Exchange-Diagnostics: 1; VI1PR07MB0815; 7:4ym+wYG0Er6xUgYTz1ggUYea6/bbh9+RS675eP6tTNN6bIxiohfAw/HDPetgl1en4t/imO+TIFyW8mntVjK6bwgSyNNvam7+gtRTjt6szxdbJZLtVIXJEUpwa4yE8Haj9wy05MFiRkPo4cFAOmeXnEYCQOen31/1j1Yq2UFC1Nci1UQlWpCUlICvRPCE0gE43hgLngv/0qkyxBf1Z2J0hUAMLse4X2Go2o+1zRQQ7aoAdeibL9+wd2elp0hKceJ2vXUemos6g2RdlDC3xn3zvFHHo6Tv0KmDXLMFB5KveAS7WElXHjdg4+UfmETnZDIgmSSrqLMxBpCsHwyN+PkT6w== X-OriginatorOrg: nokia.onmicrosoft.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 30 Mar 2017 10:30:15.2915 (UTC) X-MS-Exchange-CrossTenant-Id: 5d471751-9675-428d-917b-70f44f9630b0 X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=5d471751-9675-428d-917b-70f44f9630b0; Ip=[131.228.2.240]; Helo=[mailrelay.int.nokia.com] X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: VI1PR07MB0815 Subject: [lng-odp] [API-NEXT PATCH v4 3/3] linux-gen: ipsec: add stubs for new functions 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" Enable application build with IPSEC. Signed-off-by: Petri Savolainen --- platform/linux-generic/odp_ipsec.c | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) -- 2.8.1 diff --git a/platform/linux-generic/odp_ipsec.c b/platform/linux-generic/odp_ipsec.c index 588d8d8..5eb1be3 100644 --- a/platform/linux-generic/odp_ipsec.c +++ b/platform/linux-generic/odp_ipsec.c @@ -59,6 +59,13 @@ odp_ipsec_sa_t odp_ipsec_sa_create(odp_ipsec_sa_param_t *param) return ODP_IPSEC_SA_INVALID; } +int odp_ipsec_sa_disable(odp_ipsec_sa_t sa) +{ + (void)sa; + + return -1; +} + int odp_ipsec_sa_destroy(odp_ipsec_sa_t sa) { (void)sa; @@ -98,6 +105,15 @@ int odp_ipsec_out_enq(const odp_ipsec_op_param_t *input) return -1; } +int odp_ipsec_out_inline(const odp_ipsec_op_param_t *op_param, + const odp_ipsec_inline_op_param_t *inline_param) +{ + (void)op_param; + (void)inline_param; + + return -1; +} + int odp_ipsec_result(odp_ipsec_op_result_t *result, odp_event_t event) { (void)result; @@ -106,6 +122,14 @@ int odp_ipsec_result(odp_ipsec_op_result_t *result, odp_event_t event) return -1; } +int odp_ipsec_status(odp_ipsec_status_t *status, odp_event_t event) +{ + (void)status; + (void)event; + + return -1; +} + int odp_ipsec_mtu_update(odp_ipsec_sa_t sa, uint32_t mtu) { (void)sa;