diff options
author | Holger Eitzenberger <holger@eitzenberger.org> | 2009-03-25 18:26:30 +0100 |
---|---|---|
committer | Patrick McHardy <kaber@trash.net> | 2009-03-25 18:26:30 +0100 |
commit | e487eb99cf9381a4f8254fa01747a85818da612b (patch) | |
tree | 2381e552d88063982bea03a16db942ebcc295fc2 /net/netfilter | |
parent | d0dba7255b541f1651a88e75ebdb20dd45509c2f (diff) |
netlink: add nla_policy_len()
It calculates the max. length of a Netlink policy, which is usefull
for allocating Netlink buffers roughly the size of the actual
message.
Signed-off-by: Holger Eitzenberger <holger@eitzenberger.org>
Signed-off-by: Patrick McHardy <kaber@trash.net>
Diffstat (limited to 'net/netfilter')
0 files changed, 0 insertions, 0 deletions