Home
last modified time | relevance | path

Searched refs:shinfo (Results 1 – 5 of 5) sorted by relevance

/net/core/
Dskbuff.c206 struct skb_shared_info *shinfo; in __alloc_skb() local
258 shinfo = skb_shinfo(skb); in __alloc_skb()
259 memset(shinfo, 0, offsetof(struct skb_shared_info, dataref)); in __alloc_skb()
260 atomic_set(&shinfo->dataref, 1); in __alloc_skb()
261 kmemcheck_annotate_variable(shinfo->destructor_arg); in __alloc_skb()
305 struct skb_shared_info *shinfo; in __build_skb() local
326 shinfo = skb_shinfo(skb); in __build_skb()
327 memset(shinfo, 0, offsetof(struct skb_shared_info, dataref)); in __build_skb()
328 atomic_set(&shinfo->dataref, 1); in __build_skb()
329 kmemcheck_annotate_variable(shinfo->destructor_arg); in __build_skb()
[all …]
Ddev.c2902 const struct skb_shared_info *shinfo = skb_shinfo(skb); in qdisc_pkt_len_init() local
2909 if (shinfo->gso_size) { in qdisc_pkt_len_init()
2911 u16 gso_segs = shinfo->gso_segs; in qdisc_pkt_len_init()
2917 if (likely(shinfo->gso_type & (SKB_GSO_TCPV4 | SKB_GSO_TCPV6))) { in qdisc_pkt_len_init()
2933 if (shinfo->gso_type & SKB_GSO_DODGY) in qdisc_pkt_len_init()
2935 shinfo->gso_size); in qdisc_pkt_len_init()
/net/ipv4/
Dtcp_output.c1131 struct skb_shared_info *shinfo = skb_shinfo(skb); in tcp_fragment_tstamp() local
1133 if (unlikely(shinfo->tx_flags & SKBTX_ANY_TSTAMP) && in tcp_fragment_tstamp()
1134 !before(shinfo->tskey, TCP_SKB_CB(skb2)->seq)) { in tcp_fragment_tstamp()
1136 u8 tsflags = shinfo->tx_flags & SKBTX_ANY_TSTAMP; in tcp_fragment_tstamp()
1138 shinfo->tx_flags &= ~tsflags; in tcp_fragment_tstamp()
1140 swap(shinfo->tskey, shinfo2->tskey); in tcp_fragment_tstamp()
1253 struct skb_shared_info *shinfo; in __pskb_trim_head() local
1265 shinfo = skb_shinfo(skb); in __pskb_trim_head()
1266 for (i = 0; i < shinfo->nr_frags; i++) { in __pskb_trim_head()
1267 int size = skb_frag_size(&shinfo->frags[i]); in __pskb_trim_head()
[all …]
Dtcp.c435 struct skb_shared_info *shinfo = skb_shinfo(skb); in tcp_tx_timestamp() local
437 sock_tx_timestamp(sk, &shinfo->tx_flags); in tcp_tx_timestamp()
438 if (shinfo->tx_flags & SKBTX_ANY_TSTAMP) in tcp_tx_timestamp()
439 shinfo->tskey = TCP_SKB_CB(skb)->seq + skb->len - 1; in tcp_tx_timestamp()
Dtcp_input.c3112 const struct skb_shared_info *shinfo; in tcp_ack_tstamp() local
3118 shinfo = skb_shinfo(skb); in tcp_ack_tstamp()
3119 if ((shinfo->tx_flags & SKBTX_ACK_TSTAMP) && in tcp_ack_tstamp()
3120 between(shinfo->tskey, prior_snd_una, tcp_sk(sk)->snd_una - 1)) in tcp_ack_tstamp()