Lines Matching refs:TCP_SKB_CB
875 #define TCP_SKB_CB(__skb) ((struct tcp_skb_cb *)&((__skb)->cb[0])) macro
879 TCP_SKB_CB(skb)->bpf.data_end = skb->data + skb_headlen(skb); in bpf_compute_data_end_sk_skb()
888 return TCP_SKB_CB(skb)->header.h6.iif; in tcp_v6_iif()
893 bool l3_slave = ipv6_l3mdev_skb(TCP_SKB_CB(skb)->header.h6.flags); in tcp_v6_iif_l3_slave()
895 return l3_slave ? skb->skb_iif : TCP_SKB_CB(skb)->header.h6.iif; in tcp_v6_iif_l3_slave()
902 if (skb && ipv6_l3mdev_skb(TCP_SKB_CB(skb)->header.h6.flags)) in tcp_v6_sdif()
903 return TCP_SKB_CB(skb)->header.h6.iif; in tcp_v6_sdif()
925 if (skb && ipv4_l3mdev_skb(TCP_SKB_CB(skb)->header.h4.flags)) in tcp_v4_sdif()
926 return TCP_SKB_CB(skb)->header.h4.iif; in tcp_v4_sdif()
936 return TCP_SKB_CB(skb)->tcp_gso_segs; in tcp_skb_pcount()
941 TCP_SKB_CB(skb)->tcp_gso_segs = segs; in tcp_skb_pcount_set()
946 TCP_SKB_CB(skb)->tcp_gso_segs += segs; in tcp_skb_pcount_add()
952 return TCP_SKB_CB(skb)->tcp_gso_size; in tcp_skb_mss()
957 return likely(!TCP_SKB_CB(skb)->eor); in tcp_skb_can_collapse_to()
1803 return TCP_SKB_CB(tp->highest_sack)->seq; in tcp_highest_sack_seq()
2014 const struct ip_options *opt = &TCP_SKB_CB(skb)->header.h4.opt; in tcp_v4_save_options()