Searched refs:l3_offset (Results 1 – 9 of 9) sorted by relevance
/freebsd/sys/netgraph/ |
H A D | ng_checksum.c | 305 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 D | gve_desc.h | 68 uint8_t l3_offset; /* TSO: 2 byte units to start of IPH */ member
|
H A D | gve_tx.c | 496 seg_desc->l3_offset = l3_off >> 1; in gve_tx_fill_seg_desc()
|
/freebsd/sys/dev/vnic/ |
H A D | q_struct.h | 570 uint64_t l3_offset:8; member 583 uint64_t l3_offset:8;
|
H A D | nicvf_queues.c | 1861 hdr->l3_offset = ehdrlen; in nicvf_sq_add_hdr_subdesc()
|
/freebsd/sys/dev/tsec/ |
H A D | if_tsec.h | 259 volatile uint8_t l3_offset; member
|
H A D | if_tsec.c | 767 tx_fcb->l3_offset = ETHER_HDR_LEN; in tsec_start_locked()
|
/freebsd/sys/contrib/alpine-hal/eth/ |
H A D | al_hal_eth_main.c | 2459 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 D | al_hal_eth.h | 398 uint16_t l3_offset; member
|