Home
last modified time | relevance | path

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

/net/sched/
Dact_ctinfo.c32 struct sk_buff *skb, int wlen, int proto) in tcf_ctinfo_dscp_set() argument
43 if (likely(!skb_try_make_writable(skb, wlen))) { in tcf_ctinfo_dscp_set()
56 if (likely(!skb_try_make_writable(skb, wlen))) { in tcf_ctinfo_dscp_set()
89 int proto, wlen; in tcf_ctinfo_act() local
98 wlen = skb_network_offset(skb); in tcf_ctinfo_act()
101 wlen += sizeof(struct iphdr); in tcf_ctinfo_act()
102 if (!pskb_may_pull(skb, wlen)) in tcf_ctinfo_act()
108 wlen += sizeof(struct ipv6hdr); in tcf_ctinfo_act()
109 if (!pskb_may_pull(skb, wlen)) in tcf_ctinfo_act()
135 tcf_ctinfo_dscp_set(ct, ca, cp, skb, wlen, proto); in tcf_ctinfo_act()
Dsch_dsmark.c212 int wlen = skb_network_offset(skb); in dsmark_enqueue() local
216 wlen += sizeof(struct iphdr); in dsmark_enqueue()
217 if (!pskb_may_pull(skb, wlen) || in dsmark_enqueue()
218 skb_try_make_writable(skb, wlen)) in dsmark_enqueue()
226 wlen += sizeof(struct ipv6hdr); in dsmark_enqueue()
227 if (!pskb_may_pull(skb, wlen) || in dsmark_enqueue()
228 skb_try_make_writable(skb, wlen)) in dsmark_enqueue()
Dact_skbedit.c42 int wlen = skb_network_offset(skb); in tcf_skbedit_act() local
46 wlen += sizeof(struct iphdr); in tcf_skbedit_act()
47 if (!pskb_may_pull(skb, wlen)) in tcf_skbedit_act()
53 wlen += sizeof(struct ipv6hdr); in tcf_skbedit_act()
54 if (!pskb_may_pull(skb, wlen)) in tcf_skbedit_act()
Dsch_cake.c1574 const int wlen = offset + sizeof(struct iphdr); in cake_handle_diffserv() local
1576 if (!pskb_may_pull(skb, wlen) || in cake_handle_diffserv()
1577 skb_try_make_writable(skb, wlen)) in cake_handle_diffserv()
1594 const int wlen = offset + sizeof(struct ipv6hdr); in cake_handle_diffserv() local
1596 if (!pskb_may_pull(skb, wlen) || in cake_handle_diffserv()
1597 skb_try_make_writable(skb, wlen)) in cake_handle_diffserv()
/net/ipv4/
Dtcp_input.c3080 u32 wlen = READ_ONCE(sock_net(sk)->ipv4.sysctl_tcp_min_rtt_wlen) * HZ; in tcp_update_rtt_min() local
3090 minmax_running_min(&tp->rtt_min, wlen, tcp_jiffies32, in tcp_update_rtt_min()