Home
last modified time | relevance | path

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

/f-stack/freebsd/netgraph/
H A Dng_checksum.c314 pullup_len = l3_offset; in checksum_ipv4()
335 ip4->ip_sum = in_cksum_skip(m, l3_offset + hlen, l3_offset); in checksum_ipv4()
343 pullup_len = l3_offset + hlen; in checksum_ipv4()
364 th->th_sum = in_cksum_skip(m, l3_offset + plen, l3_offset + hlen); in checksum_ipv4()
386 l3_offset + plen, l3_offset + hlen); in checksum_ipv4()
425 pullup_len = l3_offset; in checksum_ipv6()
436 if (m->m_pkthdr.len < l3_offset + plen) in checksum_ipv6()
451 pullup_len = l3_offset + hlen; in checksum_ipv6()
459 pullup_len = l3_offset + hlen; in checksum_ipv6()
489 th->th_sum = in_cksum_skip(m, l3_offset + plen, l3_offset + hlen); in checksum_ipv6()
[all …]
/f-stack/dpdk/lib/librte_gso/
H A Dgso_tcp4.c16 uint16_t l3_offset = pkt->l2_len; in update_ipv4_tcp_headers() local
17 uint16_t l4_offset = l3_offset + pkt->l3_len; in update_ipv4_tcp_headers()
20 l3_offset); in update_ipv4_tcp_headers()
27 update_ipv4_header(segs[i], l3_offset, id); in update_ipv4_tcp_headers()
H A Dgso_common.h99 update_ipv4_header(struct rte_mbuf *pkt, uint16_t l3_offset, uint16_t id) in update_ipv4_header() argument
104 l3_offset); in update_ipv4_header()
105 ipv4_hdr->total_length = rte_cpu_to_be_16(pkt->pkt_len - l3_offset); in update_ipv4_header()
/f-stack/dpdk/drivers/net/mvneta/
H A Dmvneta_rxtx.c234 uint8_t *l3_offset, uint8_t *l4_offset) in mvneta_desc_to_packet_type_and_offset() argument
240 neta_ppio_inq_desc_get_l3_info(desc, &l3_type, l3_offset); in mvneta_desc_to_packet_type_and_offset()
630 uint8_t l3_offset, l4_offset; in mvneta_rx_pkt_burst() local
658 &l3_offset, in mvneta_rx_pkt_burst()
660 mbuf->l2_len = l3_offset; in mvneta_rx_pkt_burst()
661 mbuf->l3_len = l4_offset - l3_offset; in mvneta_rx_pkt_burst()
/f-stack/dpdk/drivers/net/dpaa2/
H A Ddpaa2_sparser.h149 uint8_t l3_offset; member
/f-stack/dpdk/drivers/net/nfp/
H A Dnfp_net_pmd.h185 uint8_t l3_offset; member
H A Dnfp_net.c1807 txd->l3_offset = mb->l2_len; in nfp_net_tx_tso()
1816 txd->l3_offset = 0; in nfp_net_tx_tso()
/f-stack/dpdk/drivers/net/mvpp2/
H A Dmrvl_ethdev.c2123 uint8_t *l3_offset, uint8_t *l4_offset) in mrvl_desc_to_packet_type_and_offset() argument
2130 pp2_ppio_inq_desc_get_l3_info(desc, &l3_type, l3_offset); in mrvl_desc_to_packet_type_and_offset()
2171 *l4_offset = *l3_offset + MRVL_ARP_LENGTH; in mrvl_desc_to_packet_type_and_offset()
2264 uint8_t l3_offset, l4_offset; in mrvl_rx_pkt_burst() local
2305 &l3_offset, in mrvl_rx_pkt_burst()
2307 mbuf->l2_len = l3_offset; in mrvl_rx_pkt_burst()
2308 mbuf->l3_len = l4_offset - l3_offset; in mrvl_rx_pkt_burst()
/f-stack/dpdk/drivers/net/thunderx/base/
H A Dnicvf_hw_defs.h971 uint64_t l3_offset:8; member
984 uint64_t l3_offset:8;
/f-stack/dpdk/drivers/net/thunderx/
H A Dnicvf_rxtx.c53 sqe.hdr.l3_offset = pkt->l2_len; in fill_sq_desc_header()
/f-stack/freebsd/contrib/alpine-hal/eth/
H A Dal_hal_eth.h398 uint16_t l3_offset; member
H A Dal_hal_eth_main.c2459 uint32_t l3_offset; in al_eth_tx_pkt_prepare() local
2479 l3_offset = (pkt->meta->outer_l3_offset >> 1); in al_eth_tx_pkt_prepare()
2482 (((l3_offset & in al_eth_tx_pkt_prepare()
2487 ((l3_offset & in al_eth_tx_pkt_prepare()
2808 …pkt->l3_offset = (swap32_from_le(rx_desc->word2) & AL_ETH_RX_L3_OFFSET_MASK) >> AL_ETH_RX_L3_OFFSE… in al_eth_pkt_rx()