diff options
author | Pablo Neira Ayuso <pablo@netfilter.org> | 2012-08-20 18:57:05 +0200 |
---|---|---|
committer | Pablo Neira Ayuso <pablo@netfilter.org> | 2012-08-20 18:57:05 +0200 |
commit | 3fb998d5e2d077d85b39c3d2e5b2c828f5db9522 (patch) | |
tree | 1902766ffc8d802fddef94aa7bbd4ec66bc8e758 /src/nlmsg.c | |
parent | ffa83b5968b534f679bc34acc506801db3d28d58 (diff) |
extra: pktbuff: pktb_expand_tail return 0 if there is no room in the tail
pktb_expand_tail returns 0 if there is no room for the mangling.
Note that we don't support dynamic reallocation, instead the
caller is responsible for allocating the extra room via pktb_alloc
according to the maximum amount of bytes it needs for the mangling.
Since pkt_buff layout is not exposed, we can change this in the
future if we prefer dynamic reallocation.
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Diffstat (limited to 'src/nlmsg.c')
0 files changed, 0 insertions, 0 deletions