Home
last modified time | relevance | path

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

/linux-6.1.9/drivers/net/ethernet/sfc/
Dtx_tso.c72 unsigned int tcp_off; member
178 st->tcp_off = skb_transport_header(skb) - skb->data; in tso_start()
179 header_len = st->tcp_off + (tcp_hdr(skb)->doff << 2u); in tso_start()
187 st->ip_base_len = st->header_len - st->tcp_off; in tso_start()
/linux-6.1.9/tools/testing/selftests/bpf/progs/
Dtest_tc_tunnel.c96 int tcp_off; in __encap_ipv4() local
128 tcp_off = sizeof(iph6_inner); in __encap_ipv4()
134 tcp_off = sizeof(iph_inner); in __encap_ipv4()
141 if (bpf_skb_load_bytes(skb, ETH_HLEN + tcp_off, in __encap_ipv4()
/linux-6.1.9/drivers/net/ethernet/mellanox/mlx5/core/
Den_rx.c1133 int tcp_off = rq->hw_gro_data->fk.control.thoff; in mlx5e_shampo_update_ipv4_tcp_hdr() local
1137 tcp = (struct tcphdr *)(skb->data + tcp_off); in mlx5e_shampo_update_ipv4_tcp_hdr()
1141 tcp->check = ~tcp_v4_check(skb->len - tcp_off, ipv4->saddr, in mlx5e_shampo_update_ipv4_tcp_hdr()
1157 int tcp_off = rq->hw_gro_data->fk.control.thoff; in mlx5e_shampo_update_ipv6_tcp_hdr() local
1161 tcp = (struct tcphdr *)(skb->data + tcp_off); in mlx5e_shampo_update_ipv6_tcp_hdr()
1165 tcp->check = ~tcp_v6_check(skb->len - tcp_off, &ipv6->saddr, in mlx5e_shampo_update_ipv6_tcp_hdr()
/linux-6.1.9/drivers/net/ethernet/broadcom/
Dbnx2.c6639 u32 tcp_off = skb_transport_offset(skb) - in bnx2_start_xmit() local
6644 if (likely(tcp_off == 0)) in bnx2_start_xmit()
6647 tcp_off >>= 3; in bnx2_start_xmit()
6648 vlan_tag_flags |= ((tcp_off & 0x3) << in bnx2_start_xmit()
6650 ((tcp_off & 0x10) << in bnx2_start_xmit()
6652 mss |= (tcp_off & 0xc) << TX_BD_TCP6_OFF2_SHL; in bnx2_start_xmit()