diff options
| author | 2009-03-25 18:26:30 +0100 | |
|---|---|---|
| committer | 2009-03-25 18:26:30 +0100 | |
| commit | e487eb99cf9381a4f8254fa01747a85818da612b (patch) | |
| tree | 2381e552d88063982bea03a16db942ebcc295fc2 /include/linux | |
| parent | netfilter: ctnetlink: add callbacks to the per-proto nlattrs (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 'include/linux')
0 files changed, 0 insertions, 0 deletions
