From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id 43564A0032; Fri, 1 Oct 2021 19:34:07 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 3347E411E3; Fri, 1 Oct 2021 19:34:02 +0200 (CEST) Received: from mail-pj1-f51.google.com (mail-pj1-f51.google.com [209.85.216.51]) by mails.dpdk.org (Postfix) with ESMTP id CB6A1411B5 for ; Fri, 1 Oct 2021 19:34:00 +0200 (CEST) Received: by mail-pj1-f51.google.com with SMTP id oa12-20020a17090b1bcc00b0019f715462a8so2360797pjb.3 for ; Fri, 01 Oct 2021 10:34:00 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=mAYk70xYnjV2FeEhtFLXmhOoAF3R9jw/B3o8xy4h6SI=; b=BOKV7vwSGqUVLEnHI/ciLQBmWXSgCbF8X5EbgiKSJbuET5Vzec4YrBwkRy65pHVjrv 5Wt018apdWSK7Z+KYOEJdMvlOJoPgGJohZGEvMmi2cmMEDjlv661oRzAov1gggygSGL0 oxe18LDkZ1lqwJgGw6dgduN3bS7jOr77tlPlbFlha6Mi6DkLRjmJ5DhpmdbtbiyD8fI2 30LcW2hCBXXQE5Z/mipTXCCWPYTmaL50xlASgahKmgit0RF0QZaRCnhpfrpqNmZQ31zg oXsJ34hSvLy7VwF1j8AS23r7hwKUvyKNZw01YL9O2Z0tbJ58ZMTNEn/2uogRvEZfVBk9 Gtsg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=mAYk70xYnjV2FeEhtFLXmhOoAF3R9jw/B3o8xy4h6SI=; b=OvPRKZSo9ARdl5T4VZ2JuIuLe354zVjjO1oaShl2Go2rAEdXGzhCcLzkBWo0c6SICV H/GT09kyV3RuuLQbfD25EW8FOw2UU0DNkCi+wahtc+MGeHN9v5UKg6+STrUZUFgRUYgt oE1gW8av5fc0GOsiK62hoHwMGySc0td4yAaqTy7C3T3wN/igyPIaNDcUSNa/vyE7uHop KSsFj/Fid0PU9bWwlkUZDd7J8uVmFLuuLD79GtabFE4u95J8rDu2/+e60yPTPn97u4jH 93O6VqumOGeVgVY6Lx4M01P3quy3eirqGtoDyIrvVF3eareQK5NxHiyEiSwhWygiRPig x7Tw== X-Gm-Message-State: AOAM530anjFlPbVeq4aI2VxLXiJFDCwi8XaA+UZm3N1R1ynxd4YeZrPM HzSizDpFPjGM8I6dddgF/ELhLkMxuHY= X-Google-Smtp-Source: ABdhPJzE3mQ+98Q2eLpTnOYebIfIbIk8P2dk9vlEr+TGohYJUUTYPIrElopwp0FOzG4YxqXOWlXG2A== X-Received: by 2002:a17:90a:8c82:: with SMTP id b2mr21475165pjo.173.1633109639531; Fri, 01 Oct 2021 10:33:59 -0700 (PDT) Received: from sc9-mailhost3.vmware.com ([66.170.99.2]) by smtp.gmail.com with ESMTPSA id e7sm6854684pfc.114.2021.10.01.10.33.58 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 01 Oct 2021 10:33:58 -0700 (PDT) From: William Tu To: dev@dpdk.org Cc: pallavi.kadam@intel.com, talshn@nvidia.com, Dmitry.Kozliuk@gmail.com Date: Fri, 1 Oct 2021 17:33:41 -0700 Message-Id: <20211002003344.594-2-u9012063@gmail.com> X-Mailer: git-send-email 2.33.0.windows.2 In-Reply-To: <20211002003344.594-1-u9012063@gmail.com> References: <20211002003344.594-1-u9012063@gmail.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Subject: [dpdk-dev] [PATCH v3 1/4] security: use the net library for IP structs X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" From: Tal Shnaiderman Remove the netinet includes and replaces them with rte_ip.h to support the in_addr/in6_addr structs on all operating systems. Signed-off-by: Tal Shnaiderman Acked-by: William Tu --- lib/net/rte_ip.h | 1 + lib/security/meson.build | 2 +- lib/security/rte_security.h | 5 +---- 3 files changed, 3 insertions(+), 5 deletions(-) diff --git a/lib/net/rte_ip.h b/lib/net/rte_ip.h index 05948b69b7..bbd8650962 100644 --- a/lib/net/rte_ip.h +++ b/lib/net/rte_ip.h @@ -25,6 +25,7 @@ #include #include #include +#include #endif #include diff --git a/lib/security/meson.build b/lib/security/meson.build index 5679c8b5c2..1034a7a299 100644 --- a/lib/security/meson.build +++ b/lib/security/meson.build @@ -3,4 +3,4 @@ sources = files('rte_security.c') headers = files('rte_security.h', 'rte_security_driver.h') -deps += ['mempool', 'cryptodev'] +deps += ['mempool', 'cryptodev', 'net'] diff --git a/lib/security/rte_security.h b/lib/security/rte_security.h index a10c9b5f00..2013e65e49 100644 --- a/lib/security/rte_security.h +++ b/lib/security/rte_security.h @@ -19,13 +19,10 @@ extern "C" { #include -#include -#include -#include - #include #include #include +#include #include #include #include -- 2.33.0.windows.2