Home
last modified time | relevance | path

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

/openbmc/linux/include/net/
H A Dgso.h24 #define SKB_GSO_CB(skb) ((struct skb_gso_cb *)((skb)->cb + SKB_GSO_CB_OFFSET)) macro
29 SKB_GSO_CB(inner_skb)->mac_offset; in skb_tnl_header_len()
43 SKB_GSO_CB(skb)->mac_offset += (new_headroom - headroom); in gso_pskb_expand_head()
53 SKB_GSO_CB(skb)->csum = res; in gso_reset_checksum()
54 SKB_GSO_CB(skb)->csum_start = skb_checksum_start(skb) - skb->head; in gso_reset_checksum()
68 int plen = (skb->head + SKB_GSO_CB(skb)->csum_start) - csum_start; in gso_make_checksum()
69 __wsum partial = SKB_GSO_CB(skb)->csum; in gso_make_checksum()
71 SKB_GSO_CB(skb)->csum = res; in gso_make_checksum()
72 SKB_GSO_CB(skb)->csum_start = csum_start - skb->head; in gso_make_checksum()
/openbmc/linux/net/core/
H A Dgso.c116 sizeof(*SKB_GSO_CB(skb)) > sizeof(skb->cb)); in __skb_gso_segment()
118 SKB_GSO_CB(skb)->mac_offset = skb_headroom(skb); in __skb_gso_segment()
119 SKB_GSO_CB(skb)->encap_level = 0; in __skb_gso_segment()
H A Dskbuff.c4639 SKB_GSO_CB(nskb)->csum = in skb_segment()
4644 SKB_GSO_CB(nskb)->csum_start = in skb_segment()
4733 SKB_GSO_CB(nskb)->csum = in skb_segment()
4736 SKB_GSO_CB(nskb)->csum_start = in skb_segment()
4763 SKB_GSO_CB(iter)->data_offset = skb_headroom(iter) + doffset; in skb_segment()
/openbmc/linux/net/sctp/
H A Doffload.c34 SKB_GSO_CB(skb)->csum = (__force __wsum)~0; in sctp_gso_make_checksum()
35 SKB_GSO_CB(skb)->csum_start = skb_headroom(skb) + skb->len; in sctp_gso_make_checksum()
/openbmc/linux/net/ipv6/
H A Dudp_offload.c94 packet_start = (u8 *) skb->head + SKB_GSO_CB(skb)->mac_offset; in udp6_ufo_fragment()
97 SKB_GSO_CB(skb)->mac_offset -= frag_hdr_sz; in udp6_ufo_fragment()
H A Dip6_offload.c132 encap = SKB_GSO_CB(skb)->encap_level > 0; in ipv6_gso_segment()
135 SKB_GSO_CB(skb)->encap_level += sizeof(*ipv6h); in ipv6_gso_segment()
168 SKB_GSO_CB(skb)->data_offset + in ipv6_gso_segment()
/openbmc/linux/net/ipv4/
H A Dgre_offload.c38 SKB_GSO_CB(skb)->encap_level = 0; in gre_gso_segment()
102 SKB_GSO_CB(skb)->data_offset - in gre_gso_segment()
H A Dudp_offload.c50 SKB_GSO_CB(skb)->encap_level = 0; in __skb_udp_tunnel_segment()
127 SKB_GSO_CB(skb)->data_offset + in __skb_udp_tunnel_segment()
H A Daf_inet.c1398 encap = SKB_GSO_CB(skb)->encap_level > 0; in inet_gso_segment()
1401 SKB_GSO_CB(skb)->encap_level += ihl; in inet_gso_segment()
1445 SKB_GSO_CB(skb)->data_offset + in inet_gso_segment()