Home
last modified time | relevance | path

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

/freebsd-13.1/sys/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 …]
/freebsd-13.1/sys/dev/vnic/
H A Dq_struct.h572 uint64_t l3_offset:8; member
585 uint64_t l3_offset:8;
H A Dnicvf_queues.c1855 hdr->l3_offset = ehdrlen; in nicvf_sq_add_hdr_subdesc()
/freebsd-13.1/sys/dev/tsec/
H A Dif_tsec.h261 volatile uint8_t l3_offset; member
H A Dif_tsec.c777 tx_fcb->l3_offset = ETHER_HDR_LEN; in tsec_start_locked()
/freebsd-13.1/sys/contrib/alpine-hal/eth/
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()
H A Dal_hal_eth.h398 uint16_t l3_offset; member