Lines Matching refs:skb

13 static inline struct nlmsghdr *nlmsg_hdr(const struct sk_buff *skb)  in nlmsg_hdr()  argument
15 return (struct nlmsghdr *)skb->data; in nlmsg_hdr()
35 #define NETLINK_CB(skb) (*(struct netlink_skb_parms*)&((skb)->cb)) argument
36 #define NETLINK_CREDS(skb) (&NETLINK_CB((skb)).creds) argument
49 void (*input)(struct sk_buff *skb);
82 extern int netlink_unicast(struct sock *ssk, struct sk_buff *skb, __u32 portid, int nonblock);
83 extern int netlink_broadcast(struct sock *ssk, struct sk_buff *skb, __u32 portid,
85 extern int netlink_broadcast_filtered(struct sock *ssk, struct sk_buff *skb,
87 int (*filter)(struct sock *dsk, struct sk_buff *skb, void *data),
95 int netlink_attachskb(struct sock *sk, struct sk_buff *skb,
97 void netlink_detachskb(struct sock *sk, struct sk_buff *skb);
98 int netlink_sendskb(struct sock *sk, struct sk_buff *skb);
101 netlink_skb_clone(struct sk_buff *skb, gfp_t gfp_mask) in netlink_skb_clone() argument
105 nskb = skb_clone(skb, gfp_mask); in netlink_skb_clone()
110 if (is_vmalloc_addr(skb->head)) in netlink_skb_clone()
111 nskb->destructor = skb->destructor; in netlink_skb_clone()
132 struct sk_buff *skb; member
134 int (*dump)(struct sk_buff * skb,
153 __nlmsg_put(struct sk_buff *skb, u32 portid, u32 seq, int type, int len, int flags);
156 int (*dump)(struct sk_buff *skb, struct netlink_callback *);
163 extern int __netlink_dump_start(struct sock *ssk, struct sk_buff *skb,
166 static inline int netlink_dump_start(struct sock *ssk, struct sk_buff *skb, in netlink_dump_start() argument
173 return __netlink_dump_start(ssk, skb, nlh, control); in netlink_dump_start()
187 bool netlink_ns_capable(const struct sk_buff *skb,
189 bool netlink_capable(const struct sk_buff *skb, int cap);
190 bool netlink_net_capable(const struct sk_buff *skb, int cap);