summaryrefslogtreecommitdiffstats
path: root/include/osf.h
diff options
context:
space:
mode:
authorFernando Fernandez Mancera <ffmancera@riseup.net>2018-08-22 17:03:46 +0200
committerPablo Neira Ayuso <pablo@netfilter.org>2018-08-24 09:44:44 +0200
commitaf00174af3ef478d7d8d96d15647ad1bbb0bc919 (patch)
tree20e2cd8b7719c9bd0f9ae9b6f1ca5d6cf7162e7d /include/osf.h
parent1ecfaa2a9f5191823a3c3cd19b760fcb69f7d38d (diff)
src: osf: import nfnl_osf.c to load osf fingerprints
Import iptables/utils/nfnl_osf.c into nftables tree with some changes in order to load OS fingerprints automatically from pf.os file. Signed-off-by: Fernando Fernandez Mancera <ffmancera@riseup.net> Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Diffstat (limited to 'include/osf.h')
-rw-r--r--include/osf.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/osf.h b/include/osf.h
index 715b04e8..074ba9a3 100644
--- a/include/osf.h
+++ b/include/osf.h
@@ -3,4 +3,7 @@
struct expr *osf_expr_alloc(const struct location *loc);
+extern bool osf_init;
+extern int nfnl_osf_load_fingerprints(struct netlink_ctx *ctx, int del);
+
#endif /* NFTABLES_OSF_H */