Lines Matching refs:sk
131 static int qdisc_request_update(struct nl_cache *c, struct nl_sock *sk) in qdisc_request_update() argument
138 return nl_send_simple(sk, RTM_GETQDISC, NLM_F_DUMP, &tchdr, in qdisc_request_update()
222 int rtnl_qdisc_add(struct nl_sock *sk, struct rtnl_qdisc *qdisc, in rtnl_qdisc_add() argument
231 err = nl_send_auto_complete(sk, msg); in rtnl_qdisc_add()
236 return wait_for_ack(sk); in rtnl_qdisc_add()
278 int rtnl_qdisc_change(struct nl_sock *sk, struct rtnl_qdisc *qdisc, in rtnl_qdisc_change() argument
287 err = nl_send_auto_complete(sk, msg); in rtnl_qdisc_change()
292 return wait_for_ack(sk); in rtnl_qdisc_change()
352 int rtnl_qdisc_delete(struct nl_sock *sk, struct rtnl_qdisc *qdisc) in rtnl_qdisc_delete() argument
360 err = nl_send_auto_complete(sk, msg); in rtnl_qdisc_delete()
365 return wait_for_ack(sk); in rtnl_qdisc_delete()
386 int rtnl_qdisc_alloc_cache(struct nl_sock *sk, struct nl_cache **result) in rtnl_qdisc_alloc_cache() argument
388 return nl_cache_alloc_and_fill(&rtnl_qdisc_ops, sk, result); in rtnl_qdisc_alloc_cache()