From patchwork Thu Aug 21 00:03:04 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Anders Roxell X-Patchwork-Id: 35719 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-qg0-f69.google.com (mail-qg0-f69.google.com [209.85.192.69]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id C353420351 for ; Thu, 21 Aug 2014 00:03:40 +0000 (UTC) Received: by mail-qg0-f69.google.com with SMTP id a108sf25505436qge.0 for ; Wed, 20 Aug 2014 17:03:38 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:delivered-to:from:to:date:message-id:in-reply-to :references:subject:precedence:list-id:list-unsubscribe:list-archive :list-post:list-help:list-subscribe:mime-version:errors-to:sender :x-original-sender:x-original-authentication-results:mailing-list :content-type:content-transfer-encoding; bh=X9Un7Ew5QcJovJdY2e9f5yG3OXyJN1pQPxgAmYmwf7E=; b=XGD/yEV7XLlvyjcMSjVOs53cmMQSgdc5S38epkvygvkbtkV4nEVRW4MSP8pKYs/C56 FcoOwkj/peWErXjK+p6nUcZkEzDQa02cTP5qimWxfE+I1r2Xceeu3a06F398wwPgDPQB 0lPbw9ufjKQ8nsOZ/NJ3voz7hPyfBTY7alLDECrSzHKbswELGf05odA8LLxiXB/raWni htlZA9yPQJ4l1vaRYhyDLUPepXE4RqoC3IQPaf4F5pv06xx2yhSGpl6F60FX/Dh2oWvB WSOBYrjKWc/+k7A2Hdd3aZ3fn2ZiTknl4gtHKgK1c0k/oGgU+I6/PWZhUWUa4CqwDBnp 4Iow== X-Gm-Message-State: ALoCoQkXLAeA+d7L7i9QN5++cxyzkeddZxuOkO9xnf8d3HCTFQcIV5wJKSk3gTawYZ67HBEQGo/z X-Received: by 10.236.201.108 with SMTP id a72mr23620136yho.39.1408579418676; Wed, 20 Aug 2014 17:03:38 -0700 (PDT) X-BeenThere: patchwork-forward@linaro.org Received: by 10.140.29.137 with SMTP id b9ls496747qgb.75.gmail; Wed, 20 Aug 2014 17:03:38 -0700 (PDT) X-Received: by 10.52.168.134 with SMTP id zw6mr1040297vdb.37.1408579418560; Wed, 20 Aug 2014 17:03:38 -0700 (PDT) Received: from mail-vc0-f170.google.com (mail-vc0-f170.google.com [209.85.220.170]) by mx.google.com with ESMTPS id th4si11705108vdc.66.2014.08.20.17.03.38 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Wed, 20 Aug 2014 17:03:38 -0700 (PDT) Received-SPF: pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.220.170 as permitted sender) client-ip=209.85.220.170; Received: by mail-vc0-f170.google.com with SMTP id lf12so9992189vcb.15 for ; Wed, 20 Aug 2014 17:03:38 -0700 (PDT) X-Received: by 10.52.243.10 with SMTP id wu10mr8542852vdc.45.1408579418481; Wed, 20 Aug 2014 17:03:38 -0700 (PDT) X-Forwarded-To: patchwork-forward@linaro.org X-Forwarded-For: patch@linaro.org patchwork-forward@linaro.org Delivered-To: patch@linaro.org Received: by 10.221.45.67 with SMTP id uj3csp91756vcb; Wed, 20 Aug 2014 17:03:38 -0700 (PDT) X-Received: by 10.140.91.229 with SMTP id z92mr19319997qgd.8.1408579417939; Wed, 20 Aug 2014 17:03:37 -0700 (PDT) Received: from ip-10-141-164-156.ec2.internal (lists.linaro.org. [54.225.227.206]) by mx.google.com with ESMTPS id p5si36475416qcc.10.2014.08.20.17.03.37 for (version=TLSv1 cipher=RC4-SHA bits=128/128); Wed, 20 Aug 2014 17:03:37 -0700 (PDT) Received-SPF: none (google.com: lng-odp-bounces@lists.linaro.org does not designate permitted sender hosts) client-ip=54.225.227.206; Received: from localhost ([127.0.0.1] helo=ip-10-141-164-156.ec2.internal) by ip-10-141-164-156.ec2.internal with esmtp (Exim 4.76) (envelope-from ) id 1XKFqr-00071g-0q; Thu, 21 Aug 2014 00:03:37 +0000 Received: from mail-lb0-f170.google.com ([209.85.217.170]) by ip-10-141-164-156.ec2.internal with esmtp (Exim 4.76) (envelope-from ) id 1XKFqb-00070L-Ig for lng-odp@lists.linaro.org; Thu, 21 Aug 2014 00:03:21 +0000 Received: by mail-lb0-f170.google.com with SMTP id l4so7527790lbv.15 for ; Wed, 20 Aug 2014 17:03:15 -0700 (PDT) X-Received: by 10.152.20.168 with SMTP id o8mr46192143lae.4.1408579395517; Wed, 20 Aug 2014 17:03:15 -0700 (PDT) Received: from localhost (c-853670d5.07-21-73746f28.cust.bredbandsbolaget.se. [213.112.54.133]) by mx.google.com with ESMTPSA id q10sm15263001lal.37.2014.08.20.17.03.14 for (version=TLSv1.2 cipher=RC4-SHA bits=128/128); Wed, 20 Aug 2014 17:03:14 -0700 (PDT) From: Anders Roxell To: lng-odp@lists.linaro.org Date: Thu, 21 Aug 2014 02:03:04 +0200 Message-Id: <1408579384-21392-4-git-send-email-anders.roxell@linaro.org> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1408579384-21392-1-git-send-email-anders.roxell@linaro.org> References: <1408579384-21392-1-git-send-email-anders.roxell@linaro.org> X-Topics: patch Subject: [lng-odp] [PATCH 3/3] linux-generic: odp_pktio_netmap: add cpluspus ifdef X-BeenThere: lng-odp@lists.linaro.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: , List-Help: , List-Subscribe: , MIME-Version: 1.0 Errors-To: lng-odp-bounces@lists.linaro.org Sender: lng-odp-bounces@lists.linaro.org X-Removed-Original-Auth: Dkim didn't pass. X-Original-Sender: anders.roxell@linaro.org X-Original-Authentication-Results: mx.google.com; spf=pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.220.170 as permitted sender) smtp.mail=patch+caf_=patchwork-forward=linaro.org@linaro.org Mailing-list: list patchwork-forward@linaro.org; contact patchwork-forward+owners@linaro.org X-Google-Group-Id: 836684582541 Signed-off-by: Anders Roxell --- platform/linux-generic/include/api/odp_pktio_netmap.h | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/platform/linux-generic/include/api/odp_pktio_netmap.h b/platform/linux-generic/include/api/odp_pktio_netmap.h index 85272d5..294a13d 100644 --- a/platform/linux-generic/include/api/odp_pktio_netmap.h +++ b/platform/linux-generic/include/api/odp_pktio_netmap.h @@ -14,6 +14,10 @@ #ifndef ODP_PKTIO_NETMAP_H #define ODP_PKTIO_NETMAP_H +#ifdef __cplusplus +extern "C" { +#endif + #include #define ODP_NETMAP_MODE_HW 0 /**< Netmap mode in hardware */ @@ -28,4 +32,8 @@ typedef struct { uint16_t ringid; /**< Ring identifiers */ } netmap_params_t; +#ifdef __cplusplus +} +#endif + #endif