commit | fe4944e59c357f945f81bc67edb7ed1392e875ad | [log] [tgz] |
---|---|---|
author | Thomas Graf <tgraf@suug.ch> | Fri Aug 04 23:03:05 2006 -0700 |
committer | David S. Miller <davem@sunset.davemloft.net> | Fri Sep 22 14:53:43 2006 -0700 |
tree | 9634365d416ac574442fc7e21e1eaa26a71a26d1 | |
parent | e1ef4bf23b1ced0bf78a1c98289f746486e5c912 [diff] |
[NETLINK]: Extend netlink messaging interface Adds: nlmsg_get_pos() return current position in message nlmsg_trim() trim part of message nla_reserve_nohdr(skb, len) reserve room for an attribute w/o hdr nla_put_nohdr(skb, len, data) add attribute w/o hdr nla_find_nested() find attribute in nested attributes Fixes nlmsg_new() to take allocation flags and consider size. Signed-off-by: Thomas Graf <tgraf@suug.ch> Signed-off-by: David S. Miller <davem@davemloft.net>