Lines Matching refs:choke_skb_cb
132 struct choke_skb_cb { struct
137 static inline struct choke_skb_cb *choke_skb_cb(const struct sk_buff *skb) in choke_skb_cb() argument
139 qdisc_cb_private_validate(skb, sizeof(struct choke_skb_cb)); in choke_skb_cb()
140 return (struct choke_skb_cb *)qdisc_skb_cb(skb)->data; in choke_skb_cb()
156 if (!choke_skb_cb(skb1)->keys_valid) { in choke_match_flow()
157 choke_skb_cb(skb1)->keys_valid = 1; in choke_match_flow()
159 make_flow_keys_digest(&choke_skb_cb(skb1)->keys, &temp); in choke_match_flow()
162 if (!choke_skb_cb(skb2)->keys_valid) { in choke_match_flow()
163 choke_skb_cb(skb2)->keys_valid = 1; in choke_match_flow()
165 make_flow_keys_digest(&choke_skb_cb(skb2)->keys, &temp); in choke_match_flow()
168 return !memcmp(&choke_skb_cb(skb1)->keys, in choke_match_flow()
169 &choke_skb_cb(skb2)->keys, in choke_match_flow()
170 sizeof(choke_skb_cb(skb1)->keys)); in choke_match_flow()
218 choke_skb_cb(skb)->keys_valid = 0; in choke_enqueue()