Lines Matching refs:sk
70 static int cls_request_update(struct nl_cache *cache, struct nl_sock *sk) in cls_request_update() argument
78 return nl_send_simple(sk, RTM_GETTFILTER, NLM_F_DUMP, &tchdr, in cls_request_update()
160 int rtnl_cls_add(struct nl_sock *sk, struct rtnl_cls *cls, int flags) in rtnl_cls_add() argument
168 err = nl_send_auto_complete(sk, msg); in rtnl_cls_add()
173 return nl_wait_for_ack(sk); in rtnl_cls_add()
207 int rtnl_cls_change(struct nl_sock *sk, struct rtnl_cls *cls, int flags) in rtnl_cls_change() argument
215 err = nl_send_auto_complete(sk, msg); in rtnl_cls_change()
220 return nl_wait_for_ack(sk); in rtnl_cls_change()
255 int rtnl_cls_delete(struct nl_sock *sk, struct rtnl_cls *cls, int flags) in rtnl_cls_delete() argument
263 err = nl_send_auto_complete(sk, msg); in rtnl_cls_delete()
268 return nl_wait_for_ack(sk); in rtnl_cls_delete()
294 int rtnl_cls_alloc_cache(struct nl_sock *sk, int ifindex, uint32_t parent, struct nl_cache **res… in rtnl_cls_alloc_cache() argument
305 if (sk && (err = nl_cache_refill(sk, cache)) < 0) { in rtnl_cls_alloc_cache()