Home
last modified time | relevance | path

Searched refs:sqh_len (Results 1 – 4 of 4) sorted by relevance

/f-stack/dpdk/lib/librte_ipsec/
H A Desp_outb.c20 union sym_op_data *icv, uint8_t sqh_len);
110 union sym_op_data *icv, uint8_t sqh_len) in outb_tun_pkt_prepare() argument
132 tlen = pdlen + sa->icv_len + sqh_len; in outb_tun_pkt_prepare()
170 pdofs += pdlen + sa->sqh_len; in outb_tun_pkt_prepare()
202 if (sa->sqh_len != 0) { in outb_pkt_xprepare()
250 sa->sqh_len); in esp_outb_tun_prepare()
303 tlen = pdlen + sa->icv_len + sqh_len; in outb_trs_pkt_prepare()
337 pdofs += pdlen + sa->sqh_len; in outb_trs_pkt_prepare()
393 sa->sqh_len); in esp_outb_trs_prepare()
550 mb[i]->pkt_len -= sa->sqh_len; in esp_outb_sqh_process()
[all …]
H A Desp_inb.c20 uint8_t sqh_len);
180 if (sa->sqh_len != 0) in inb_pkt_xprepare()
255 icv_ofs += sa->sqh_len; in inb_prepare()
264 if (sa->aad_len + sa->sqh_len > rte_pktmbuf_tailroom(ml)) in inb_prepare()
276 mb->pkt_len += sa->sqh_len; in inb_prepare()
277 ml->data_len += sa->sqh_len; in inb_prepare()
530 const uint32_t tlen = sa->icv_len + sizeof(espt[0]) + sqh_len; in tun_process()
576 uint32_t sqn[], uint32_t dr[], uint16_t num, uint8_t sqh_len) in trs_process() argument
588 const uint32_t tlen = sa->icv_len + sizeof(espt[0]) + sqh_len; in trs_process()
657 uint16_t num, uint8_t sqh_len, esp_inb_process_t process) in esp_inb_pkt_process() argument
[all …]
H A Dsa.c260 sa->ctp.auth.length = sa->icv_len - sa->sqh_len; in esp_inb_init()
261 sa->cofs.ofs.cipher.tail = sa->sqh_len; in esp_inb_init()
322 sa->iv_len + sa->sqh_len; in esp_outb_init()
383 sa->sqh_len = IS_ESN(sa) ? sizeof(uint32_t) : 0; in esp_sa_init()
636 pf->process = (sa->sqh_len != 0) ? in lksd_none_pkt_func_select()
641 pf->process = (sa->sqh_len != 0) ? in lksd_none_pkt_func_select()
674 pf->process = (sa->sqh_len != 0) ? in cpu_crypto_pkt_func_select()
679 pf->process = (sa->sqh_len != 0) ? in cpu_crypto_pkt_func_select()
H A Dsa.h105 uint8_t sqh_len; member