Home
last modified time | relevance | path

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

/dpdk/examples/l2fwd-crypto/
H A Dmain.c402 uint32_t ipdata_offset, data_len; in l2fwd_simple_crypto_enqueue() local
411 ipdata_offset = sizeof(struct rte_ether_hdr); in l2fwd_simple_crypto_enqueue()
414 ipdata_offset); in l2fwd_simple_crypto_enqueue()
416 ipdata_offset += (ip_hdr->version_ihl & RTE_IPV4_HDR_IHL_MASK) in l2fwd_simple_crypto_enqueue()
421 data_len = rte_pktmbuf_data_len(m) - ipdata_offset; in l2fwd_simple_crypto_enqueue()
483 uint8_t *, ipdata_offset + data_len); in l2fwd_simple_crypto_enqueue()
493 op->sym->auth.data.offset = ipdata_offset << 3; in l2fwd_simple_crypto_enqueue()
496 op->sym->auth.data.offset = ipdata_offset; in l2fwd_simple_crypto_enqueue()
512 op->sym->cipher.data.offset = ipdata_offset << 3; in l2fwd_simple_crypto_enqueue()
515 op->sym->cipher.data.offset = ipdata_offset; in l2fwd_simple_crypto_enqueue()
[all …]