summaryrefslogtreecommitdiffstats
path: root/examples/nf-queue.c
diff options
context:
space:
mode:
authorPablo Neira Ayuso <pablo@netfilter.org>2012-08-20 18:57:05 +0200
committerPablo Neira Ayuso <pablo@netfilter.org>2012-08-20 18:57:05 +0200
commit3fb998d5e2d077d85b39c3d2e5b2c828f5db9522 (patch)
tree1902766ffc8d802fddef94aa7bbd4ec66bc8e758 /examples/nf-queue.c
parentffa83b5968b534f679bc34acc506801db3d28d58 (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 'examples/nf-queue.c')
0 files changed, 0 insertions, 0 deletions