Searched refs:tcp_off (Results 1 – 4 of 4) sorted by relevance
72 unsigned int tcp_off; member178 st->tcp_off = skb_transport_offset(skb); 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()
103 int tcp_off; in __encap_ipv4() local135 tcp_off = sizeof(iph6_inner); in __encap_ipv4()141 tcp_off = sizeof(iph_inner); in __encap_ipv4()148 if (bpf_skb_load_bytes(skb, ETH_HLEN + tcp_off, in __encap_ipv4()
1273 int tcp_off = rq->hw_gro_data->fk.control.thoff; in mlx5e_shampo_update_ipv4_tcp_hdr() local1277 tcp = (struct tcphdr *)(skb->data + tcp_off); in mlx5e_shampo_update_ipv4_tcp_hdr()1281 tcp->check = ~tcp_v4_check(skb->len - tcp_off, ipv4->saddr, in mlx5e_shampo_update_ipv4_tcp_hdr()1297 int tcp_off = rq->hw_gro_data->fk.control.thoff; in mlx5e_shampo_update_ipv6_tcp_hdr() local1301 tcp = (struct tcphdr *)(skb->data + tcp_off); in mlx5e_shampo_update_ipv6_tcp_hdr()1305 tcp->check = ~tcp_v6_check(skb->len - tcp_off, &ipv6->saddr, in mlx5e_shampo_update_ipv6_tcp_hdr()
6623 u32 tcp_off = skb_transport_offset(skb) - in bnx2_start_xmit() local6628 if (likely(tcp_off == 0)) in bnx2_start_xmit()6631 tcp_off >>= 3; in bnx2_start_xmit()6632 vlan_tag_flags |= ((tcp_off & 0x3) << in bnx2_start_xmit()6634 ((tcp_off & 0x10) << in bnx2_start_xmit()6636 mss |= (tcp_off & 0xc) << TX_BD_TCP6_OFF2_SHL; in bnx2_start_xmit()