Searched refs:choke_skb_cb (Results 1 - 1 of 1) sorted by relevance

/linux-4.4.14/net/sched/
H A Dsch_choke.c136 struct choke_skb_cb { struct
142 static inline struct choke_skb_cb *choke_skb_cb(const struct sk_buff *skb) choke_skb_cb() function
144 qdisc_cb_private_validate(skb, sizeof(struct choke_skb_cb)); choke_skb_cb()
145 return (struct choke_skb_cb *)qdisc_skb_cb(skb)->data; choke_skb_cb()
150 choke_skb_cb(skb)->classid = classid; choke_set_classid()
155 return choke_skb_cb(skb)->classid; choke_get_classid()
171 if (!choke_skb_cb(skb1)->keys_valid) { choke_match_flow()
172 choke_skb_cb(skb1)->keys_valid = 1; choke_match_flow()
174 make_flow_keys_digest(&choke_skb_cb(skb1)->keys, &temp); choke_match_flow()
177 if (!choke_skb_cb(skb2)->keys_valid) { choke_match_flow()
178 choke_skb_cb(skb2)->keys_valid = 1; choke_match_flow()
180 make_flow_keys_digest(&choke_skb_cb(skb2)->keys, &temp); choke_match_flow()
183 return !memcmp(&choke_skb_cb(skb1)->keys, choke_match_flow()
184 &choke_skb_cb(skb2)->keys, choke_match_flow()
185 sizeof(choke_skb_cb(skb1)->keys)); choke_match_flow()
276 choke_skb_cb(skb)->keys_valid = 0; choke_enqueue()

Completed in 49 milliseconds