Lines Matching refs:pdlen
143 uint32_t clen, hlen, l2len, pdlen, pdofs, plen, tlen; in outb_tun_pkt_prepare() local
163 pdlen = clen - plen; in outb_tun_pkt_prepare()
164 tlen = pdlen + sa->icv_len + sqh_len; in outb_tun_pkt_prepare()
169 pdlen = clen - plen; in outb_tun_pkt_prepare()
170 tlen = pdlen + sqh_len; in outb_tun_pkt_prepare()
217 pdofs += pdlen + sa->sqh_len; in outb_tun_pkt_prepare()
220 pdlen -= sizeof(*espt); in outb_tun_pkt_prepare()
223 rte_memcpy(pt, esp_pad_bytes, pdlen); in outb_tun_pkt_prepare()
226 espt = (struct rte_esp_tail *)(pt + pdlen); in outb_tun_pkt_prepare()
227 espt->pad_len = pdlen; in outb_tun_pkt_prepare()
349 uint32_t clen, hlen, pdlen, pdofs, plen, tlen, uhlen; in outb_trs_pkt_prepare() local
372 pdlen = clen - plen; in outb_trs_pkt_prepare()
373 tlen = pdlen + sa->icv_len + sqh_len; in outb_trs_pkt_prepare()
378 pdlen = clen - plen; in outb_trs_pkt_prepare()
379 tlen = pdlen + sqh_len; in outb_trs_pkt_prepare()
414 pdofs += pdlen + sa->sqh_len; in outb_trs_pkt_prepare()
417 pdlen -= sizeof(*espt); in outb_trs_pkt_prepare()
420 rte_memcpy(pt, esp_pad_bytes, pdlen); in outb_trs_pkt_prepare()
423 espt = (struct rte_esp_tail *)(pt + pdlen); in outb_trs_pkt_prepare()
424 espt->pad_len = pdlen; in outb_trs_pkt_prepare()