From af00174af3ef478d7d8d96d15647ad1bbb0bc919 Mon Sep 17 00:00:00 2001 From: Fernando Fernandez Mancera Date: Wed, 22 Aug 2018 17:03:46 +0200 Subject: 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 Signed-off-by: Pablo Neira Ayuso --- include/osf.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'include/osf.h') 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 */ -- cgit v1.2.3