commit | f88a10d65620d97b6d0a7e352a3493c1b7e7409b | [log] [tgz] |
---|---|---|
author | Thomas Graf <tgraf@suug.ch> | Sat Jun 18 22:50:12 2005 -0700 |
committer | David S. Miller <davem@davemloft.net> | Sat Jun 18 22:50:12 2005 -0700 |
tree | 8d38311e479d5deb11cfab2c052c83c8b1321132 | |
parent | e52c1f17e4ea8e61bd26eb25f1a184202693c2b9 [diff] |
[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>