| /dpdk/lib/ipsec/ |
| H A D | esp_outb.c | 29 uint32_t pofs, uint32_t plen) in sop_ciph_auth_prepare() argument 46 uint32_t pofs, uint32_t plen) in sop_aead_prepare() argument 155 plen = mb->pkt_len - l2len; in outb_tun_pkt_prepare() 158 clen = plen + sizeof(*espt); in outb_tun_pkt_prepare() 163 pdlen = clen - plen; in outb_tun_pkt_prepare() 169 pdlen = clen - plen; in outb_tun_pkt_prepare() 361 plen = mb->pkt_len - uhlen; in outb_trs_pkt_prepare() 367 clen = plen + sizeof(*espt); in outb_trs_pkt_prepare() 372 pdlen = clen - plen; in outb_trs_pkt_prepare() 378 pdlen = clen - plen; in outb_trs_pkt_prepare() [all …]
|
| H A D | esp_inb.c | 28 uint32_t pofs, uint32_t plen) in sop_ciph_auth_prepare() argument 45 uint32_t pofs, uint32_t plen) in sop_aead_prepare() argument 80 sop_aead_prepare(sop, sa, icv, pofs, plen); in inb_cop_prepare() 88 sop_aead_prepare(sop, sa, icv, pofs, plen); in inb_cop_prepare() 137 uint32_t *pofs, uint32_t plen, void *iv) in inb_cpu_crypto_prepare() argument 176 clen = plen - sa->ctp.auth.length; in inb_cpu_crypto_prepare() 282 uint32_t clen, icv_len, icv_ofs, plen; in inb_prepare() local 286 plen = mb->pkt_len; in inb_prepare() 287 plen = plen - hlen; in inb_prepare() 290 clen = plen - sa->ctp.cipher.length; in inb_prepare() [all …]
|
| H A D | iph.h | 42 update_trs_l3hdr(const struct rte_ipsec_sa *sa, void *p, uint32_t plen, in update_trs_l3hdr() argument 54 v4h->total_length = rte_cpu_to_be_16(plen - l2len); in update_trs_l3hdr() 97 v6h->payload_len = rte_cpu_to_be_16(plen - l2len - in update_trs_l3hdr() 244 const void *inh, uint32_t plen, uint32_t l2len, rte_be16_t pid) in update_tun_outb_l3hdr() argument 254 v4h->total_length = rte_cpu_to_be_16(plen - l2len); in update_tun_outb_l3hdr() 258 v6h->payload_len = rte_cpu_to_be_16(plen - l2len - in update_tun_outb_l3hdr()
|
| H A D | misc.h | 49 uint32_t k, n, plen; in mbuf_get_seg_ofs() local 52 plen = mb->pkt_len; in mbuf_get_seg_ofs() 55 if (n == plen) { in mbuf_get_seg_ofs() 57 n = n + rte_pktmbuf_data_len(ms) - plen; in mbuf_get_seg_ofs()
|
| /dpdk/app/test/ |
| H A D | test_pcapng.c | 59 mbuf1_prepare(struct dummy_mbuf *dm, uint32_t plen) in mbuf1_prepare() argument 71 .total_length = rte_cpu_to_be_16(plen), in mbuf1_prepare() 80 dummy_mbuf_prep(&dm->mb[0], dm->buf[0], sizeof(dm->buf[0]), plen); in mbuf1_prepare() 83 memcpy(rte_pktmbuf_mtod(dm->mb, void *), &pkt, RTE_MIN(sizeof(pkt), plen)); in mbuf1_prepare()
|
| H A D | test_bpf.c | 2623 const uint32_t plen = 400; in test_ld_mbuf1_prepare() local 2626 .total_length = rte_cpu_to_be_16(plen), in test_ld_mbuf1_prepare() 2637 plen / 2 + 1); in test_ld_mbuf1_prepare() 2639 plen / 2 - 1); in test_ld_mbuf1_prepare() 3336 const uint32_t plen = 100; in test_bpf_filter_sanity() local 3344 dummy_mbuf_prep(&mb, tbuf, sizeof(tbuf), plen); in test_bpf_filter_sanity() 3354 .total_length = rte_cpu_to_be_16(plen), in test_bpf_filter_sanity()
|
| /dpdk/drivers/crypto/cnxk/ |
| H A D | cn9k_ipsec_la_ops.h | 16 ipsec_po_out_rlen_get(struct cn9k_ipsec_sa *sa, uint32_t plen) in ipsec_po_out_rlen_get() argument 20 enc_payload_len = RTE_ALIGN_CEIL(plen + sa->rlens.roundup_len, in ipsec_po_out_rlen_get()
|
| /dpdk/examples/ipsec-secgw/test/ |
| H A D | trs_ipv6opts.py | 55 npkt[IPv6].plen = d[IPv6].plen + len(pkt[IPv6].payload)
|
| /dpdk/lib/net/ |
| H A D | rte_gtp.h | 53 rte_be16_t plen; /**< Total payload length */ member
|
| /dpdk/examples/ipsec-secgw/ |
| H A D | ipsec-secgw.c | 288 uint32_t plen, trim; in adjust_ipv4_pktlen() local 290 plen = rte_be_to_cpu_16(iph->total_length) + l2_len; in adjust_ipv4_pktlen() 291 if (plen < m->pkt_len) { in adjust_ipv4_pktlen() 292 trim = m->pkt_len - plen; in adjust_ipv4_pktlen() 301 uint32_t plen, trim; in adjust_ipv6_pktlen() local 303 plen = rte_be_to_cpu_16(iph->payload_len) + sizeof(*iph) + l2_len; in adjust_ipv6_pktlen() 304 if (plen < m->pkt_len) { in adjust_ipv6_pktlen() 305 trim = m->pkt_len - plen; in adjust_ipv6_pktlen()
|
| /dpdk/drivers/net/cxgbe/base/ |
| H A D | t4fw_interface.h | 132 __be16 plen; member 151 __be16 plen; member
|
| /dpdk/drivers/net/cxgbe/ |
| H A D | sge.c | 785 wr->plen = cpu_to_be16(q->coalesce.len); in ship_tx_pkt_coalesce_wr()
|