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 342F0A0C4D; Thu, 7 Oct 2021 00:36:16 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id D575D41170; Thu, 7 Oct 2021 00:36:11 +0200 (CEST) Received: from mail-pl1-f170.google.com (mail-pl1-f170.google.com [209.85.214.170]) by mails.dpdk.org (Postfix) with ESMTP id 1501E4067A for ; Thu, 7 Oct 2021 00:36:09 +0200 (CEST) Received: by mail-pl1-f170.google.com with SMTP id w11so2578037plz.13 for ; Wed, 06 Oct 2021 15:36:09 -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=s0IlS3PurWK1BGbo4FzQpZOwN7bEGE4cmb/O8DbIMdE=; b=o1pr9Rp3Aje9mD5QWGB8OJ+AiXYUZQhPtmeNznsT4BOKouBLZALXeWIgoh1vo2YqnE 34Nfj5aRYw0Z/45Ay+wB8Zi9ezjl1oP1DjP0FU3WFkcHu4eqTSNBEduGvVReE6g6L/1o rNd8bSK/sCblx0vAPS7ZEIWwxosDpwOk6Bi//jbszvWyzWNeA7LQlLQ8ZXwZOekZV7M0 YM+dB2+Y79fmoCWMhtkIpToSUTHGu5UpwNK0MkhjIwBMOMRlL7R/THUEcL7vgLfqs66+ gvniEMSyfgKgCwDig6FXQVqEPM21xA/qJZYIqJWvzW+o16HyYJzQR+FjUbcIcGyFOoZ8 iYoA== 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=s0IlS3PurWK1BGbo4FzQpZOwN7bEGE4cmb/O8DbIMdE=; b=7PveJBTlqDYuN2W67wNL3EdGSgN8dtg/DdRZIDdczWl7r+OtkTKHEL2yH5TaqfV9Cx 8RulgDCoQO72l2h9RDCZ0twTAHnh4M+U+WjvckFRvtqR3J//qWb1+1Ab1DDyZ9n2Nc7X YKlENnhWSEwj7/vK2Ai2JeKYZHIMMFggR6LNnfvw2uYbQyzxxif+eVgE6CTIWCABod9w nl6AZ75JiRVQQjKHzJhctNOlmykiUUw9LsL6dpV0H4ZxS1o6X15R1833p4pUmc7YJTUq d1uvKj74K3v0wVWTPigP40kHfpNRVyH0uib6rY1U8gBXYh0et+eBpfH+gFsjZl1P1ov1 /TUw== X-Gm-Message-State: AOAM531X9jiQiWd9TZKxAJ5yNVdKCByQTv9k47oMAF4id7jp9GHZsfg5 UnBj8BEkDf+IKY7iKuX2bIkKlSc0LB8= X-Google-Smtp-Source: ABdhPJw1FpWh8soKcXiol1R0n9SIHBUkDdKnhTm+O0HXwYqkANbVClp+dnbAblqPl3i5Q9HsCLIEHg== X-Received: by 2002:a17:90a:aa14:: with SMTP id k20mr1464585pjq.88.1633559767903; Wed, 06 Oct 2021 15:36:07 -0700 (PDT) Received: from localhost.localdomain (ec2-44-237-21-18.us-west-2.compute.amazonaws.com. [44.237.21.18]) by smtp.gmail.com with ESMTPSA id k14sm22369191pga.65.2021.10.06.15.36.06 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 06 Oct 2021 15:36:07 -0700 (PDT) From: William Tu To: dev@dpdk.org Cc: Tal Shnaiderman , Akhil Goyal Date: Wed, 6 Oct 2021 22:35:41 +0000 Message-Id: <20211006223544.1882-2-u9012063@gmail.com> X-Mailer: git-send-email 2.33.0.windows.2 In-Reply-To: <20211006223544.1882-1-u9012063@gmail.com> References: <20211005170252.7-1-u9012063@gmail.com> <20211006223544.1882-1-u9012063@gmail.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Subject: [dpdk-dev] [PATCH v5 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: Akhil Goyal 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