summaryrefslogtreecommitdiff
path: root/bpfc
diff options
context:
space:
mode:
authorDaniel Borkmann <dborkman@redhat.com>2013-07-08 18:49:25 +0200
committerDaniel Borkmann <dborkman@redhat.com>2013-07-08 18:49:25 +0200
commit36476eaf763d29e8885f519ab1e0b8beda28074a (patch)
tree72efadf2d7c25299e2f0c351b906faa92d32a2eb /bpfc
parent78b9949fa486acc9a192df6e6283699fbe9b813a (diff)
configure: netsniff-ng: libpcap is not a hard dependency
netsniff-ng uses libpcap only for high-level filter compiling. Thus, let netsniff-ng not "hard-depend" on libpcap, but rather disable filter compiling in case the user does not want to install libpcap. Signed-off-by: Daniel Borkmann <dborkman@redhat.com>
Diffstat (limited to 'bpfc')
0 files changed, 0 insertions, 0 deletions
es_table_enable()
If something fails in nf_tables_table_enable(), it unregisters the chains. But the rollback code is the same as nf_tables_table_disable() almostly, except there is one counter check. Now create one wrapper function to eliminate the duplicated codes. Signed-off-by: Feng <fgao@ikuai8.com> Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Diffstat (limited to 'include/math-emu/op-common.h')