summaryrefslogtreecommitdiff
path: root/include/linux/rtnetlink.h
diff options
context:
space:
mode:
authorThomas Graf <tgraf@suug.ch>2005-06-18 22:50:12 -0700
committerDavid S. Miller <davem@davemloft.net>2005-06-18 22:50:12 -0700
commitf88a10d65620d97b6d0a7e352a3493c1b7e7409b (patch)
tree8d38311e479d5deb11cfab2c052c83c8b1321132 /include/linux/rtnetlink.h
parente52c1f17e4ea8e61bd26eb25f1a184202693c2b9 (diff)
downloadlinux-3.10-f88a10d65620d97b6d0a7e352a3493c1b7e7409b.tar.gz
linux-3.10-f88a10d65620d97b6d0a7e352a3493c1b7e7409b.tar.bz2
linux-3.10-f88a10d65620d97b6d0a7e352a3493c1b7e7409b.zip
[NETLINK]: New message building macros
NLMSG_PUT_ANSWER(skb, nlcb, type, length) Start a new netlink message as answer to a request, returns the message header. NLMSG_END(skb, nlh) End a netlink message, fixes total message length, returns skb->len. NLMSG_CANCEL(skb, nlh) Cancel the building process and trim whole message from skb again, returns -1. Signed-off-by: Thomas Graf <tgraf@suug.ch> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/linux/rtnetlink.h')
0 files changed, 0 insertions, 0 deletions