commit | 7deb2264909ec82ae4696dd73d8ffce6814c9114 | [log] [tgz] |
---|---|---|
author | Thomas Graf <tgraf@suug.ch> | Wed Aug 22 13:57:39 2007 -0700 |
committer | David S. Miller <davem@sunset.davemloft.net> | Wed Oct 10 16:48:22 2007 -0700 |
tree | bee682118f12c19c2cd8cbdfe89165a221bfdc77 | |
parent | cfbfd45a8c4c0c8dd8ed491caefdeffd94acf9e4 [diff] |
[XFRM] netlink: Use nlmsg_new() and type-safe size calculation helpers Moves all complex message size calculation into own inlined helper functions and makes use of the type-safe netlink interface. Using nlmsg_new() simplifies the calculation itself as it takes care of the netlink header length by itself. Signed-off-by: Thomas Graf <tgraf@suug.ch> Signed-off-by: David S. Miller <davem@davemloft.net>