Home
last modified time | relevance | path

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

/freebsd/sys/netgraph/
H A Dng_checksum.c305 checksum_ipv4(priv_p priv, struct mbuf *m, int l3_offset) in checksum_ipv4() argument
312 pullup_len = l3_offset; in checksum_ipv4()
315 ip4 = (struct ip *) mtodo(m, l3_offset); in checksum_ipv4()
323 if (hlen < sizeof(struct ip) || m->m_pkthdr.len < l3_offset + plen) in checksum_ipv4()
333 ip4->ip_sum = in_cksum_skip(m, l3_offset + hlen, l3_offset); in checksum_ipv4()
341 pullup_len = l3_offset + hlen; in checksum_ipv4()
356 th = (struct tcphdr *) mtodo(m, l3_offset + hlen); in checksum_ipv4()
362 th->th_sum = in_cksum_skip(m, l3_offset + plen, l3_offset + hlen); in checksum_ipv4()
377 uh = (struct udphdr *) mtodo(m, l3_offset + hlen); in checksum_ipv4()
384 l3_offset + plen, l3_offset + hlen); in checksum_ipv4()
[all …]
/freebsd/sys/dev/gve/
H A Dgve_desc.h68 uint8_t l3_offset; /* TSO: 2 byte units to start of IPH */ member
H A Dgve_tx.c496 seg_desc->l3_offset = l3_off >> 1; in gve_tx_fill_seg_desc()
/freebsd/sys/dev/vnic/
H A Dq_struct.h570 uint64_t l3_offset:8; member
583 uint64_t l3_offset:8;
H A Dnicvf_queues.c1861 hdr->l3_offset = ehdrlen; in nicvf_sq_add_hdr_subdesc()
/freebsd/sys/dev/tsec/
H A Dif_tsec.h259 volatile uint8_t l3_offset; member
H A Dif_tsec.c767 tx_fcb->l3_offset = ETHER_HDR_LEN; in tsec_start_locked()
/freebsd/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