netfilter: extract Passive OS fingerprint infrastructure from xt_osf
authorFernando Fernandez Mancera <ffmancera@riseup.net>
Thu, 3 May 2018 12:05:40 +0000 (14:05 +0200)
committerPablo Neira Ayuso <pablo@netfilter.org>
Sun, 6 May 2018 22:02:11 +0000 (00:02 +0200)
commitbfb15f2a95cbbc548b59abf8007d0fdb35fdfee5
treefc0581006bc8e19f17e77f4b116434e8450a0bc2
parent3f9c56a581b96d8117922c4fd8221687fd649f9b
netfilter: extract Passive OS fingerprint infrastructure from xt_osf

Add nf_osf_ttl() and nf_osf_match() into nf_osf.c to prepare for
nf_tables support.

Signed-off-by: Fernando Fernandez Mancera <ffmancera@riseup.net>
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
include/linux/netfilter/nf_osf.h [new file with mode: 0644]
include/uapi/linux/netfilter/nf_osf.h [new file with mode: 0644]
include/uapi/linux/netfilter/xt_osf.h
net/netfilter/Kconfig
net/netfilter/Makefile
net/netfilter/nf_osf.c [new file with mode: 0644]
net/netfilter/xt_osf.c