aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux
diff options
context:
space:
mode:
Diffstat (limited to 'include/linux')
-rw-r--r--include/linux/netlink.h12
1 files changed, 0 insertions, 12 deletions
diff --git a/include/linux/netlink.h b/include/linux/netlink.h
index 36629fff26d3..0d11f6a7389c 100644
--- a/include/linux/netlink.h
+++ b/include/linux/netlink.h
@@ -229,18 +229,6 @@ __nlmsg_put(struct sk_buff *skb, u32 pid, u32 seq, int type, int len, int flags)
229#define NLMSG_PUT(skb, pid, seq, type, len) \ 229#define NLMSG_PUT(skb, pid, seq, type, len) \
230 NLMSG_NEW(skb, pid, seq, type, len, 0) 230 NLMSG_NEW(skb, pid, seq, type, len, 0)
231 231
232#define NLMSG_NEW_ANSWER(skb, cb, type, len, flags) \
233 NLMSG_NEW(skb, NETLINK_CB((cb)->skb).pid, \
234 (cb)->nlh->nlmsg_seq, type, len, flags)
235
236#define NLMSG_END(skb, nlh) \
237({ (nlh)->nlmsg_len = skb_tail_pointer(skb) - (unsigned char *)(nlh); \
238 (skb)->len; })
239
240#define NLMSG_CANCEL(skb, nlh) \
241({ skb_trim(skb, (unsigned char *) (nlh) - (skb)->data); \
242 -1; })
243
244extern int netlink_dump_start(struct sock *ssk, struct sk_buff *skb, 232extern int netlink_dump_start(struct sock *ssk, struct sk_buff *skb,
245 struct nlmsghdr *nlh, 233 struct nlmsghdr *nlh,
246 int (*dump)(struct sk_buff *skb, struct netlink_callback*), 234 int (*dump)(struct sk_buff *skb, struct netlink_callback*),