Lines Matching refs:sk_buff
76 struct sk_buff **tab;
121 struct sk_buff *skb = q->tab[idx]; in choke_drop_by_idx()
142 static inline struct choke_skb_cb *choke_skb_cb(const struct sk_buff *skb) in choke_skb_cb()
148 static inline void choke_set_classid(struct sk_buff *skb, u16 classid) in choke_set_classid()
153 static u16 choke_get_classid(const struct sk_buff *skb) in choke_get_classid()
163 static bool choke_match_flow(struct sk_buff *skb1, in choke_match_flow()
164 struct sk_buff *skb2) in choke_match_flow()
194 static bool choke_classify(struct sk_buff *skb, in choke_classify()
228 static struct sk_buff *choke_peek_random(const struct choke_sched_data *q, in choke_peek_random()
231 struct sk_buff *skb; in choke_peek_random()
249 struct sk_buff *nskb, in choke_match_random()
252 struct sk_buff *oskb; in choke_match_random()
264 static int choke_enqueue(struct sk_buff *skb, struct Qdisc *sch) in choke_enqueue()
347 static struct sk_buff *choke_dequeue(struct Qdisc *sch) in choke_dequeue()
350 struct sk_buff *skb; in choke_dequeue()
389 struct sk_buff *skb = q->tab[q->head]; in choke_reset()
399 memset(q->tab, 0, (q->tab_mask + 1) * sizeof(struct sk_buff *)); in choke_reset()
422 struct sk_buff **old = NULL; in choke_change()
446 struct sk_buff **ntab; in choke_change()
448 ntab = kcalloc(mask + 1, sizeof(struct sk_buff *), in choke_change()
451 ntab = vzalloc((mask + 1) * sizeof(struct sk_buff *)); in choke_change()
462 struct sk_buff *skb = q->tab[q->head]; in choke_change()
508 static int choke_dump(struct Qdisc *sch, struct sk_buff *skb) in choke_dump()
558 static struct sk_buff *choke_peek_head(struct Qdisc *sch) in choke_peek_head()