summaryrefslogtreecommitdiff
path: root/app
diff options
context:
space:
mode:
authorDavid Marchand <david.marchand@redhat.com>2019-09-27 13:30:35 +0200
committerFerruh Yigit <ferruh.yigit@intel.com>2019-10-08 12:14:31 +0200
commit7dde68cf0e1329fe4b9cee20e820cf41aefc54e6 (patch)
treed93c98862803dd7e1e468913bf4d985ec844a2ca /app
parent89278c59d97c58ddca5cf63205176d76fc8f8b0d (diff)
downloaddpdk-7dde68cf0e1329fe4b9cee20e820cf41aefc54e6.zip
dpdk-7dde68cf0e1329fe4b9cee20e820cf41aefc54e6.tar.gz
dpdk-7dde68cf0e1329fe4b9cee20e820cf41aefc54e6.tar.xz
net: add missing rte prefix for ESP tail
This structure has been missed during the big rework. Fixes: 5ef254676752 ("net: add rte prefix to ESP structure") Cc: stable@dpdk.org Signed-off-by: David Marchand <david.marchand@redhat.com> Reviewed-by: Ferruh Yigit <ferruh.yigit@intel.com>
Diffstat (limited to 'app')
-rw-r--r--app/test/test_ipsec.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/app/test/test_ipsec.c b/app/test/test_ipsec.c
index 392bf90..4007eff 100644
--- a/app/test/test_ipsec.c
+++ b/app/test/test_ipsec.c
@@ -574,7 +574,7 @@ setup_test_string_tunneled(struct rte_mempool *mpool, const char *string,
struct rte_mbuf *m = rte_pktmbuf_alloc(mpool);
uint32_t hdrlen = sizeof(struct rte_ipv4_hdr) +
sizeof(struct rte_esp_hdr);
- uint32_t taillen = sizeof(struct esp_tail);
+ uint32_t taillen = sizeof(struct rte_esp_tail);
uint32_t t_len = len + hdrlen + taillen;
uint32_t padlen;
@@ -586,7 +586,7 @@ setup_test_string_tunneled(struct rte_mempool *mpool, const char *string,
padlen = RTE_ALIGN(t_len, 4) - t_len;
t_len += padlen;
- struct esp_tail espt = {
+ struct rte_esp_tail espt = {
.pad_len = padlen,
.next_proto = IPPROTO_IPIP,
};