From patchwork Fri Mar 24 15:04:40 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Petri Savolainen X-Patchwork-Id: 95959 Delivered-To: patch@linaro.org Received: by 10.140.89.233 with SMTP id v96csp88721qgd; Fri, 24 Mar 2017 08:06:36 -0700 (PDT) X-Received: by 10.55.90.68 with SMTP id o65mr8294662qkb.89.1490367996229; Fri, 24 Mar 2017 08:06:36 -0700 (PDT) Return-Path: Received: from lists.linaro.org (lists.linaro.org. [54.225.227.206]) by mx.google.com with ESMTP id 6si2126808qke.169.2017.03.24.08.06.35; Fri, 24 Mar 2017 08:06:36 -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 B40C4642D1; Fri, 24 Mar 2017 15:06:35 +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_H2,SPF_HELO_PASS,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 61505642D0; Fri, 24 Mar 2017 15:05:15 +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 F106660D39; Fri, 24 Mar 2017 15:05:07 +0000 (UTC) Received: from EUR02-VE1-obe.outbound.protection.outlook.com (mail-eopbgr20114.outbound.protection.outlook.com [40.107.2.114]) by lists.linaro.org (Postfix) with ESMTPS id DF08A60D50 for ; Fri, 24 Mar 2017 15:05:00 +0000 (UTC) Received: from AM5PR0701CA0052.eurprd07.prod.outlook.com (10.169.145.142) by DB4PR07MB265.eurprd07.prod.outlook.com (10.242.230.141) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1005.2; Fri, 24 Mar 2017 15:04:57 +0000 Received: from VE1EUR03FT025.eop-EUR03.prod.protection.outlook.com (2a01:111:f400:7e09::203) by AM5PR0701CA0052.outlook.office365.com (2603:10a6:203:2::14) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1005.2 via Frontend Transport; Fri, 24 Mar 2017 15:04:56 +0000 Received-SPF: SoftFail (protection.outlook.com: domain of transitioning linaro.org discourages use of 131.228.2.241 as permitted sender) Received: from mailrelay.int.nokia.com (131.228.2.241) by VE1EUR03FT025.mail.protection.outlook.com (10.152.18.74) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P384) id 15.1.977.7 via Frontend Transport; Fri, 24 Mar 2017 15:04:56 +0000 Received: from fihe3nok0735.emea.nsn-net.net (localhost [127.0.0.1]) by fihe3nok0735.emea.nsn-net.net (8.14.9/8.14.5) with ESMTP id v2OF4fcd018376 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT) for ; Fri, 24 Mar 2017 17:04:41 +0200 Received: from 10.144.19.15 ([10.144.104.219]) by fihe3nok0735.emea.nsn-net.net (8.14.9/8.14.5) with ESMTP id v2OF4fE6018344 (version=TLSv1/SSLv3 cipher=AES128-SHA256 bits=128 verify=NOT) for ; Fri, 24 Mar 2017 17:04:41 +0200 X-HPESVCS-Source-Ip: 10.144.104.219 From: Petri Savolainen To: Date: Fri, 24 Mar 2017 17:04:40 +0200 Message-ID: <1490367881-16266-3-git-send-email-petri.savolainen@linaro.org> X-Mailer: git-send-email 2.8.1 In-Reply-To: <1490367881-16266-1-git-send-email-petri.savolainen@linaro.org> References: <1490367881-16266-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.241; IPV:CAL; CTRY:FI; EFV:NLI; SFV:NSPM; SFS:(10019020)(6009001)(39450400003)(39410400002)(39850400002)(39840400002)(39860400002)(2980300002)(189002)(199003)(9170700003)(33646002)(5003940100001)(77096006)(5660300001)(8936002)(50466002)(2351001)(36756003)(50226002)(81166006)(2950100002)(105596002)(48376002)(189998001)(76176999)(50986999)(6916009)(22756006)(356003)(2906002)(86362001)(47776003)(8676002)(38730400002)(110136004)(106466001)(53936002)(305945005)(217873001); DIR:OUT; SFP:1102; SCL:1; SRVR:DB4PR07MB265; H:mailrelay.int.nokia.com; FPR:; SPF:SoftFail; MLV:sfv; MX:1; A:1; LANG:en; X-Microsoft-Exchange-Diagnostics: 1; VE1EUR03FT025; 1:Ih4x6QPd+UalazIwibINJAwV1qP5lvauj03lV0bAq1cIjMV9pv+wB27MgeVrEsDummneq8LCGN0bZrdvyHVCMNR1d0tIDkCca3Q1MttM/uJhxAsmk664LJtLoQQ+WUfk8noHwT9qgAh4gzW1tjGHacudsJOKGGxf1ZQWcOgdX70LLy0WNpvES9CXo1EuHTkhMvzHcmzAawG+zp1Nvot2ysBPhT/aALp63jdgPzW6cIYG5F3QQF/iqC6/X2VzxMKb1ErsSwnBVEKA78dUiml2ToIrpeaq7qY4j/H+excAOeR6oDPuE+XBo/6u/xAsM53u9+OECxA1F0scCgeoFB0M4m0GfNOIll2T2AjQkVfBCGpJPhaNt1Icd26cnwLuN27OQhVEUwlTeZWPuuuy0N6Tz1OksTs4A0nPxP3rC8FQCLaNOocUIDwsriqqPyLjynexMRuiFHu9Xw6UCBRWOkYtxbwS1iXlnugJH49phqz0507HAZ+p86s3PX6oxJckvAj3 MIME-Version: 1.0 X-MS-Office365-Filtering-Correlation-Id: 205dc459-3641-4d14-f5ce-08d472c72248 X-Microsoft-Antispam: UriScan:; BCL:0; PCL:0; RULEID:(22001)(2017030254075); SRVR:DB4PR07MB265; X-Microsoft-Exchange-Diagnostics: 1; DB4PR07MB265; 3:jzfPIxxfO4yYZ+hD5hA9WTiGzYHz5EMukIR5r5p1/jQL49/1mPmacP18JVOCBMysg5Day4gR85UffiLAvgVaNPmMQGmydhzlp3HtNfNQWyJi9fpCOqiyW9S9HjCON8UprYb1c5w3WLR6q5BhmmiOfHhYaBsIWsaqyQuujCpJcHfo40IeVeI+6F+5pIf+kifoTb141QzFhDXwsX8gRL/71GFJxs5wIKkskYz0ToT0PDeZyeuUPdI7FSKAl4HSYpKD31JViKOC51y9p1+IbfS3FqiRIRoA9Oj8CHQXOrBNSv8BoxCV0yylxjkAWdgygX4l4V9Xem5Nau80aOJNPABkjlVdR3aLURaMtw43jL3tuTJ74eqOmgiUVogHbM/JBAQ+3OZ92L9SKpaRzQb4VVPDwA==; 25:ya0R7X5P1P30XQI13cculZHDE8CCfYU3ruR+4w3IIZtWZ/sxKjmSI+M0FZTRQtR+eA93FO1dTDrNFpRc1Rdm+qUeoVxL42WfkXEXfthdbkK3gFBkpSnYIGCtuEm6iqa9DcYalbmZNNHe9hPTxpczYJxSHVKi/BMWuNmFBAHTHRMIKMoL1HnZ6p4LJmAaTu5Qf6kWuoGUiUlrIMckv0VPzzdToJ10Tnni9u4fiPALHb0HBVsO50s/my3+m79hqBa3VSBhRWGYC/GYFzV5iPknwFRUiXJjaEgewmgdxvFjp3gMlrhP4qAcTn83yJkGuif8dFvmaEMCvhNskjU09CWd/iQQIj1+p0pUg/9gBfM99XjTsGY2bN/TtwkKdhvaorEdgR/YUykFWhCk/xfvrVfOGRHHlgdYq67M298YhKVVMuNbPk15C9lBVGXuUhnls+TTnggQ+YMn5EUPi1n5vdhfwQ== X-Microsoft-Exchange-Diagnostics: 1; DB4PR07MB265; 31:/TnsOlO0mT3u/DMqjMgqpMonrLRT8yqn6cVjM0M559XIEiVxtilbEhcQ1nB7KwZZ7ZNYD5a2JAzi56y8LugZUSpuOdY8CRpxnACs6MWgtaRaXRS91SWU+ZOdIL9mUSlEja8/4Ghnj5GopdW7AYXAMlWSHU+BifSnFeJSuEYwZo8NCx76tX+g72BE1ate0EzJVhxHD1JyG+7yT/z4FESedGImdmeSebAc7pBMSqNMvZ7z0PvgON93uIe9teUJ5d9hdZs6dz8/8ZDxpHQmg6mVHg==; 20:WB7PU8ZEpLkg88ha992R62UWF4UqS9IX6d+Nb3feuqR2WUIDq0Q5mHFRab3AXjvLPh7kXr2gN0a84vXoLM0cawafVnoxvDFSS5Q1sW2usNSRUmyyseR/e7ANtsGYkAGsFxOGN/FCjth/AZlXyD1+1I7q5EskO6Cbr/xc52um9bfSXwKHV989KhAfzqrZD9/j2x34B4x1VfKV0SlNgtlsvfwhC/oWzBIGiPwYt5BAamTlangWL7ZLILYidmJv1opFa9S/SAcE9pHNO8KpZBFEvV/l8QCq5cqZDE/FIEhJV7TL+JBdnwedpu7KERAO2B4mFCsqkKBTZx/kgnIRwqbZ/ha+HFrwWOS3eveYWb5bWiMm/JkNIj+vzI0RCz/9FaN35y4dCTHWLjoTq0+6TvlSMow8B1YNItsXSQi79GcBgie2aADqVup4larEiOwkdcPmQ6I7EvGsnurwujcji8ZHTFxo5v61tmERKh6R2smADe3xi9/WDj/tJwWx5zwwaEA0xgW6vhO18Qr0TiVpGQyb1+G4IV6uLfFEzg77+3dnSRCesho8H+PeXR3cYNPDG7MzlLd5fCCJyiAqPbpZsoMawnLMGp59ehu9GFHHf1Ojz+c= X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:; X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(6040375)(601004)(2401047)(13013025)(13023025)(5005006)(13021025)(8121501046)(10201501046)(3002001)(6055026)(6041248)(20161123562025)(20161123560025)(20161123564025)(20161123558025)(20161123555025)(6072148); SRVR:DB4PR07MB265; BCL:0; PCL:0; RULEID:; SRVR:DB4PR07MB265; X-Microsoft-Exchange-Diagnostics: 1; DB4PR07MB265; 4:OYD0++O223R/yQ+NYgXz8T7yZVHEWIN/lS5BlRd1mRMRvTakM5De5xALLlKbbM1CmFx+8DDtWwg++o0DFyWVYYDvSLrHUh+r8QI1fgsDf2zst2UaxVuLWbYbgZ+rwL4KDXoCrVmyXck9yru7YIoFVhaOnNx3pLCp15Yn0jryagJCh64+Z3MJYJh1JHtzHeXK2ZsncE/f/iGh1zr2pbr9hmepRDDGhemwg0sRTJ7LqUEDe+YnGr69HWcb3c6WEQ/+D8T5ycfx87eBBPClX+re1vM1Tzzh0+nJiOTvwyJ/YpL1OgeTgzJXYDWIOyZCNxo1jQtmAxQWbb00z+9qq8TgFJA1/iUEFYRHpVER/Nxs/WD2EcVhrXuW+CUrTobxw3OE+VxVXmkVrKhnysFpM3C2CumcJCrxaJh+rKnIoXEWWrkjY0tX6ax0B0s/8rf4ntyaBP53rUC5/jpvsAEjzDNIlvEqJlFTH+R6ydbMOwV4sBfZ+5u/YGjSqGn015B3Ra8FBH9v/tOKn3oQgy+UguYNWVnUDKoOmluZndkqKk8+X+BounMpEYIQxS8nZ8WCv8owhYUiUb5J64vI9P14MbmWdmag2058j2N6c3xXgGSrAWij924SCxWnLFGjmr0/ju5hc+A0gX/Rdgj2naUJShbZ8gKJXNoniPcCVJmGRFfcdJkH7XWNyFynfpJZxtAjo9gQ X-Forefront-PRVS: 0256C18696 X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1; DB4PR07MB265; 23:JXlNqsvqCUfFc5IBluhzYfPdHWDpUgt9Knm1tH3cLu?= Il6c2yjaxy2HXT06GfzKJs6I8caM/ajdIT+/8HQ8Mc/nf0jTD3uH8GlhI0GlGneGWUreZK21Jomj5f7u2E+/VmGZPelGkmSq6OvyqLLKGOWJD1ZoVmhDUjypIxsiX3AVeqLZH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bblPNs0RtuuRbTX9qbrSBaRgt1e/9myjtNEsN+8OhYeDsRmnW2azBnpUcHryiHvCnjyfvEIFfRAAOm1qrahjFW0Nov0SSzYl0f+CWsQgqWgYgypkFW42V6su5ywQmyOEDMNQ7r7fw7k1fGWCYkDwQ0+36YzKKbZHwvMwNQG7g+ykva1Grj0/+313sJTRuwZoQ2YQcNwWgs9YciMGZl7WzR/F77ITTe4QtK5EPfQUj7GuX730Fz1tdynsYdss2+Fs=; 5:9tEvEoFplDotoKVL7a+lnIWCSUwBeUFRftaLYe9cQ3+2oo7XRVWf+1zg/PAtwP79WHcQpP2QalI6DrEa8452PCXRI2/25wGK7ex11TiTJKyJrGCl+Xlihzb8I53Z0mld2T7QwoAwY17ku6NHtCKqJg==; 24:WxXXD53pPMgCKpgnXdGOzJvqxURXucEupRZR6uA/fOCv+QjqkJZgVYdbKAQhxCMIshC1lXVhDLhyx/JSRHO5zFsBUZsyY4L4iMTBM+XI97I= SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-Microsoft-Exchange-Diagnostics: 1; DB4PR07MB265; 7:/TR+tRn9aSbFYrM/IBNDnE9FSdI/msxfbWdM2aXVHF5TP8KwZi3/ZqNilbOz7dTkX2gl0nSR+hkapXT/SfD5JRwWmk+RKdWWZnw1kp6YCxw925xbmukgKDYiPbZPeIvpzZt2YDO2aVbyDaYSNgfVeTLhhntki7LiWJ490YsYMJH+wWDZp2xeMEtrRfJfPC0emmxwHvhWq88bnLTP+pqCqm/pSb38WxtxIEW65rDYRrhQ4A5tYlPcHnyY58g2L4Ea0/g9JrUljRIqyc9wZVX8Il8iji5CGggNpVsR4z07X+QpW4+RyxQ/5Nqc+h/cOtA0VA2t0JXXp1NTnKB6dtaL2g== X-OriginatorOrg: nokia.onmicrosoft.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 24 Mar 2017 15:04:56.1285 (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.241]; Helo=[mailrelay.int.nokia.com] X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: DB4PR07MB265 Subject: [lng-odp] [API-NEXT PATCH v3 3/4] 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;