X-Git-Url: http://git.droids-corp.org/?a=blobdiff_plain;f=lib%2Flibrte_ipsec%2Fesp_outb.c;h=e983b25a3f71ebe33fc93f00a4ab6927f8d52686;hb=7dde68cf0e1329fe4b9cee20e820cf41aefc54e6;hp=55799a86710ae7dba548a884ef9c8b3608a619c6;hpb=89278c59d97c58ddca5cf63205176d76fc8f8b0d;p=dpdk.git diff --git a/lib/librte_ipsec/esp_outb.c b/lib/librte_ipsec/esp_outb.c index 55799a8671..e983b25a3f 100644 --- a/lib/librte_ipsec/esp_outb.c +++ b/lib/librte_ipsec/esp_outb.c @@ -109,7 +109,7 @@ outb_tun_pkt_prepare(struct rte_ipsec_sa *sa, rte_be64_t sqc, uint32_t clen, hlen, l2len, pdlen, pdofs, plen, tlen; struct rte_mbuf *ml; struct rte_esp_hdr *esph; - struct esp_tail *espt; + struct rte_esp_tail *espt; char *ph, *pt; uint64_t *iv; @@ -173,7 +173,7 @@ outb_tun_pkt_prepare(struct rte_ipsec_sa *sa, rte_be64_t sqc, rte_memcpy(pt, esp_pad_bytes, pdlen); /* update esp trailer */ - espt = (struct esp_tail *)(pt + pdlen); + espt = (struct rte_esp_tail *)(pt + pdlen); espt->pad_len = pdlen; espt->next_proto = sa->proto; @@ -277,7 +277,7 @@ outb_trs_pkt_prepare(struct rte_ipsec_sa *sa, rte_be64_t sqc, uint32_t clen, hlen, pdlen, pdofs, plen, tlen, uhlen; struct rte_mbuf *ml; struct rte_esp_hdr *esph; - struct esp_tail *espt; + struct rte_esp_tail *espt; char *ph, *pt; uint64_t *iv; @@ -336,7 +336,7 @@ outb_trs_pkt_prepare(struct rte_ipsec_sa *sa, rte_be64_t sqc, rte_memcpy(pt, esp_pad_bytes, pdlen); /* update esp trailer */ - espt = (struct esp_tail *)(pt + pdlen); + espt = (struct rte_esp_tail *)(pt + pdlen); espt->pad_len = pdlen; espt->next_proto = np;