Lines Matching refs:sk_buff
14 static inline struct nlmsghdr *nlmsg_hdr(const struct sk_buff *skb) in nlmsg_hdr()
47 void (*input)(struct sk_buff *skb);
149 void netlink_ack(struct sk_buff *in_skb, struct nlmsghdr *nlh, int err,
152 bool netlink_strict_get_check(struct sk_buff *skb);
154 int netlink_unicast(struct sock *ssk, struct sk_buff *skb, __u32 portid, int nonblock);
155 int netlink_broadcast(struct sock *ssk, struct sk_buff *skb, __u32 portid,
157 int netlink_broadcast_filtered(struct sock *ssk, struct sk_buff *skb,
159 int (*filter)(struct sock *dsk, struct sk_buff *skb, void *data),
167 int netlink_attachskb(struct sock *sk, struct sk_buff *skb,
169 void netlink_detachskb(struct sock *sk, struct sk_buff *skb);
170 int netlink_sendskb(struct sock *sk, struct sk_buff *skb);
172 static inline struct sk_buff *
173 netlink_skb_clone(struct sk_buff *skb, gfp_t gfp_mask) in netlink_skb_clone()
175 struct sk_buff *nskb; in netlink_skb_clone()
204 struct sk_buff *skb;
206 int (*dump)(struct sk_buff * skb,
235 __nlmsg_put(struct sk_buff *skb, u32 portid, u32 seq, int type, int len, int flags);
239 int (*dump)(struct sk_buff *skb, struct netlink_callback *);
246 int __netlink_dump_start(struct sock *ssk, struct sk_buff *skb,
249 static inline int netlink_dump_start(struct sock *ssk, struct sk_buff *skb, in netlink_dump_start()
270 bool netlink_ns_capable(const struct sk_buff *skb,
272 bool netlink_capable(const struct sk_buff *skb, int cap);
273 bool netlink_net_capable(const struct sk_buff *skb, int cap);