]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
netfilter: nf_osf: add nf_osf_find()
authorPablo Neira Ayuso <pablo@netfilter.org>
Fri, 13 Jul 2018 12:54:45 +0000 (14:54 +0200)
committerPablo Neira Ayuso <pablo@netfilter.org>
Mon, 30 Jul 2018 12:06:59 +0000 (14:06 +0200)
commit51c23b47e6b8590ea7a6a6776ffb21810ece73bf
tree7cbfe77c652fc855cd2018640e14e78d38aace46
parent222440b4e832059c0ddf18d1e409f0552ab53a7d
netfilter: nf_osf: add nf_osf_find()

This new function returns the OS genre as a string. Plan is to use to
from the new nft_osf extension.

Note that this doesn't yet support ttl options, but it could be easily
extended to do so.

Tested-by: Fernando Fernandez Mancera <ffmancera@riseup.net>
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
include/linux/netfilter/nf_osf.h
net/netfilter/nf_osf.c