commit | e487eb99cf9381a4f8254fa01747a85818da612b | [log] [tgz] |
---|---|---|
author | Holger Eitzenberger <holger@eitzenberger.org> | Wed Mar 25 18:26:30 2009 +0100 |
committer | Patrick McHardy <kaber@trash.net> | Wed Mar 25 18:26:30 2009 +0100 |
tree | 2381e552d88063982bea03a16db942ebcc295fc2 | |
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>