Lines Matching refs:tofs
414 struct rte_esp_tail *espt, uint32_t *hlen, uint32_t *tofs) in process_step1() argument
423 tofs[0] = ofs; 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()
467 tofs[0] = mb->pkt_len - tlen; in trs_process_check()
468 ml[0] = mbuf_get_seg_ofs(mb, tofs); 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()
498 uint32_t adj, uint32_t tofs, uint32_t tlen, uint32_t *sqn) in tun_process_step2() argument
507 mbuf_cut_seg_ofs(mb, ml, tofs, tlen); in tun_process_step2()
522 uint32_t adj, uint32_t tofs, uint32_t tlen, uint32_t *sqn) in trs_process_step2() argument
530 np = tun_process_step2(mb, ml, hlen, adj, tofs, tlen, sqn); in trs_process_step2()