Skip to contentSkip to conversation

test/ipsec: fix compile error on BSD

PATCH Applied Bernard Iremonger 4 participants 5 messages Jan 16, 2019 – Jan 17, 2019

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 test/ipsec: fix compile error on BSD

Removed ip.h and in.h headers to fix unknown type errors when compiling on BSD.

Fixes 05fe65eb66b2 ("test/ipsec: introduce functional test")
---
 test/test/test_ipsec.c | 3 ---
 1 file changed, 3 deletions(-)
test/test/test_ipsec.c +0 -3
index ff1a1c4..f49c8d8 100644
@@ -4,9 +4,6 @@
 
 #include <time.h>
 
-#include <netinet/in.h>
-#include <netinet/ip.h>
-
 #include <rte_common.h>
 #include <rte_hexdump.h>
 #include <rte_mbuf.h>
Signature · 1 line
2.7.4
Acked-by on v1 1/1
#1 lore raw
Quoted 23 lines

-----Original Message-----
From: Iremonger, Bernard
Sent: Wednesday, January 16, 2019 1:46 PM
To: [email protected]; Ananyev, Konstantin <[email protected]>; Wu, ChangqingX <[email protected]>
Cc: Iremonger, Bernard <[email protected]>
Subject: [PATCH] test/ipsec: fix compile error on BSD

Removed ip.h and in.h headers to fix unknown type errors when compiling on BSD.

Fixes 05fe65eb66b2 ("test/ipsec: introduce functional test")
---
 test/test/test_ipsec.c | 3 ---
 1 file changed, 3 deletions(-)
test/test/test_ipsec.c +0 -0
index ff1a1c4..f49c8d8 100644

test/test/test_ipsec.c

Quoted 10 lines
test/test/test_ipsec.c +0 -4
@@ -4,9 +4,6 @@
 
 #include <time.h>
 
-#include <netinet/in.h>
-#include <netinet/ip.h>
-
 #include <rte_common.h>
 #include <rte_hexdump.h>
 #include <rte_mbuf.h>
--
Quoted 1 line

2.7.4

Tested-by Acked-by Konstantin Ananyev
#2 lore raw

-----Original Message-----
From: Ananyev, Konstantin
Sent: Wednesday, January 16, 2019 10:01 PM
To: Iremonger, Bernard <[email protected]>; [email protected]; Wu, ChangqingX <[email protected]>
Subject: RE: [PATCH] test/ipsec: fix compile error on BSD

Quoted 22 lines

-----Original Message-----
From: Iremonger, Bernard
Sent: Wednesday, January 16, 2019 1:46 PM
To: [email protected]; Ananyev, Konstantin <[email protected]>; Wu, ChangqingX <[email protected]>
Cc: Iremonger, Bernard <[email protected]>
Subject: [PATCH] test/ipsec: fix compile error on BSD

Removed ip.h and in.h headers to fix unknown type errors when compiling on BSD.

Fixes 05fe65eb66b2 ("test/ipsec: introduce functional test")
---
 test/test/test_ipsec.c | 3 ---
 1 file changed, 3 deletions(-)
test/test/test_ipsec.c index renamed from test/test/test_ipsec.c +0 -0

ff1a1c4..f49c8d8 100644

test/test/test_ipsec.c

Quoted 10 lines
test/test/test_ipsec.c +0 -4
@@ -4,9 +4,6 @@
 
 #include <time.h>
 
-#include <netinet/in.h>
-#include <netinet/ip.h>
-
 #include <rte_common.h>
 #include <rte_hexdump.h>
 #include <rte_mbuf.h>
--
Quoted 1 line

2.7.4

Tested-by on v1 1/1
#4 lore raw
In reply to Bernard Iremonger

-----Original Message-----
From: Iremonger, Bernard
Sent: Wednesday, January 16, 2019 9:46 PM
To: [email protected]; Ananyev, Konstantin <[email protected]>; Wu, ChangqingX <[email protected]>
Cc: Iremonger, Bernard <[email protected]>
Subject: [PATCH] test/ipsec: fix compile error on BSD

Removed ip.h and in.h headers to fix unknown type errors when compiling on BSD.

Fixes 05fe65eb66b2 ("test/ipsec: introduce functional test")
---
 test/test/test_ipsec.c | 3 ---
 1 file changed, 3 deletions(-)
test/test/test_ipsec.c +0 -3
@@ -4,9 +4,6 @@
 
 #include <time.h>
 
-#include <netinet/in.h>
-#include <netinet/ip.h>
-
 #include <rte_common.h>
 #include <rte_hexdump.h>
 #include <rte_mbuf.h>

--
2.7.4