diff options
author | Thomas Graf <tgraf@suug.ch> | 2005-06-18 22:50:12 -0700 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2005-06-18 22:50:12 -0700 |
commit | f88a10d65620d97b6d0a7e352a3493c1b7e7409b (patch) | |
tree | 8d38311e479d5deb11cfab2c052c83c8b1321132 /security/selinux | |
parent | e52c1f17e4ea8e61bd26eb25f1a184202693c2b9 (diff) | |
download | linux-f88a10d65620d97b6d0a7e352a3493c1b7e7409b.tar.gz linux-f88a10d65620d97b6d0a7e352a3493c1b7e7409b.tar.bz2 linux-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 'security/selinux')
0 files changed, 0 insertions, 0 deletions