Home
last modified time | relevance | path

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

/linux-6.1.9/net/sctp/
Doffload.c33 SKB_GSO_CB(skb)->csum = (__force __wsum)~0; in sctp_gso_make_checksum()
34 SKB_GSO_CB(skb)->csum_start = skb_headroom(skb) + skb->len; in sctp_gso_make_checksum()
/linux-6.1.9/net/ipv6/
Dudp_offload.c93 packet_start = (u8 *) skb->head + SKB_GSO_CB(skb)->mac_offset; in udp6_ufo_fragment()
96 SKB_GSO_CB(skb)->mac_offset -= frag_hdr_sz; in udp6_ufo_fragment()
Dip6_offload.c116 encap = SKB_GSO_CB(skb)->encap_level > 0; in ipv6_gso_segment()
119 SKB_GSO_CB(skb)->encap_level += sizeof(*ipv6h); in ipv6_gso_segment()
152 SKB_GSO_CB(skb)->data_offset + in ipv6_gso_segment()
/linux-6.1.9/net/ipv4/
Dgre_offload.c37 SKB_GSO_CB(skb)->encap_level = 0; in gre_gso_segment()
101 SKB_GSO_CB(skb)->data_offset - in gre_gso_segment()
Dudp_offload.c49 SKB_GSO_CB(skb)->encap_level = 0; in __skb_udp_tunnel_segment()
126 SKB_GSO_CB(skb)->data_offset + in __skb_udp_tunnel_segment()
Daf_inet.c1378 encap = SKB_GSO_CB(skb)->encap_level > 0; in inet_gso_segment()
1381 SKB_GSO_CB(skb)->encap_level += ihl; in inet_gso_segment()
1425 SKB_GSO_CB(skb)->data_offset + in inet_gso_segment()
/linux-6.1.9/include/linux/
Dskbuff.h4823 #define SKB_GSO_CB(skb) ((struct skb_gso_cb *)((skb)->cb + SKB_GSO_CB_OFFSET)) macro
4828 SKB_GSO_CB(inner_skb)->mac_offset; in skb_tnl_header_len()
4842 SKB_GSO_CB(skb)->mac_offset += (new_headroom - headroom); in gso_pskb_expand_head()
4852 SKB_GSO_CB(skb)->csum = res; in gso_reset_checksum()
4853 SKB_GSO_CB(skb)->csum_start = skb_checksum_start(skb) - skb->head; in gso_reset_checksum()
4867 int plen = (skb->head + SKB_GSO_CB(skb)->csum_start) - csum_start; in gso_make_checksum()
4868 __wsum partial = SKB_GSO_CB(skb)->csum; in gso_make_checksum()
4870 SKB_GSO_CB(skb)->csum = res; in gso_make_checksum()
4871 SKB_GSO_CB(skb)->csum_start = csum_start - skb->head; in gso_make_checksum()
/linux-6.1.9/net/core/
Dskbuff.c4312 SKB_GSO_CB(nskb)->csum = in skb_segment()
4317 SKB_GSO_CB(nskb)->csum_start = in skb_segment()
4406 SKB_GSO_CB(nskb)->csum = in skb_segment()
4409 SKB_GSO_CB(nskb)->csum_start = in skb_segment()
4436 SKB_GSO_CB(iter)->data_offset = skb_headroom(iter) + doffset; in skb_segment()
Ddev.c3405 sizeof(*SKB_GSO_CB(skb)) > sizeof(skb->cb)); in __skb_gso_segment()
3407 SKB_GSO_CB(skb)->mac_offset = skb_headroom(skb); in __skb_gso_segment()
3408 SKB_GSO_CB(skb)->encap_level = 0; in __skb_gso_segment()