Lines Matching refs:espt
414 struct rte_esp_tail *espt, uint32_t *hlen, uint32_t *tofs) in process_step1() argument
424 espt[0] = pt[0]; in process_step1()
459 uint32_t *tofs, struct rte_esp_tail espt, uint32_t hlen, uint32_t tlen) in trs_process_check() argument
466 if (tofs[0] < espt.pad_len) { in trs_process_check()
470 tofs[0] -= espt.pad_len; in trs_process_check()
472 return check_pad_bytes(ml[0], tofs[0], espt.pad_len); in trs_process_check()
482 uint32_t *tofs, struct rte_esp_tail espt, uint32_t hlen, uint32_t tlen, in tun_process_check() argument
485 return (trs_process_check(mb, ml, tofs, espt, hlen, tlen) || in tun_process_check()
486 espt.next_proto != proto); in tun_process_check()
580 struct rte_esp_tail espt[num]; in tun_process() local
589 const uint32_t tlen = sa->icv_len + sizeof(espt[0]) + sqh_len; in tun_process()
597 process_step1(mb[i], tlen, &ml[i], &espt[i], &hl[i], &to[i]); in tun_process()
604 tl = tlen + espt[i].pad_len; in tun_process()
607 if (tun_process_check(mb[i], &ml[i], &to[i], espt[i], adj, tl, in tun_process()
644 struct rte_esp_tail espt[num]; in trs_process() local
651 const uint32_t tlen = sa->icv_len + sizeof(espt[0]) + sqh_len; in trs_process()
659 process_step1(mb[i], tlen, &ml[i], &espt[i], &hl[i], &to[i]); in trs_process()
665 tl = tlen + espt[i].pad_len; in trs_process()
669 if (trs_process_check(mb[i], &ml[i], &to[i], espt[i], in trs_process()
676 l2, hl[i] - l2, espt[i].next_proto); in trs_process()