23 static bool qpolicy_simple_full(
struct sock *
sk)
25 return dccp_sk(sk)->dccps_tx_qlen &&
53 skb_queue_walk(&sk->sk_write_queue, skb)
61 if (qpolicy_simple_full(sk))
72 static struct dccp_qpolicy_operations {
80 .push = qpolicy_simple_push,
81 .full = qpolicy_simple_full,
82 .top = qpolicy_simple_top,
86 .push = qpolicy_simple_push,
87 .full = qpolicy_prio_full,
88 .top = qpolicy_prio_best_skb,
98 qpol_table[dccp_sk(sk)->dccps_qpolicy].push(sk, skb);
103 return qpol_table[dccp_sk(sk)->dccps_qpolicy].full(sk);
116 return qpol_table[dccp_sk(sk)->dccps_qpolicy].top(sk);
134 if (!param || (param & (param - 1)))
136 return (qpol_table[dccp_sk(sk)->dccps_qpolicy].
params & param) ==
param;