netfilter: nft_osf: Add ttl option support

Add ttl option support to the nftables "osf" expression.

Signed-off-by: Fernando Fernandez Mancera <ffmancera@riseup.net>
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
This commit is contained in:
Fernando Fernandez Mancera
2018-10-10 09:57:13 +02:00
committed by Pablo Neira Ayuso
parent ea9cf2a55a
commit a218dc82f0
4 changed files with 42 additions and 25 deletions

View File

@@ -27,6 +27,7 @@ bool nf_osf_match(const struct sk_buff *skb, u_int8_t family,
const struct list_head *nf_osf_fingers);
const char *nf_osf_find(const struct sk_buff *skb,
const struct list_head *nf_osf_fingers);
const struct list_head *nf_osf_fingers,
const int ttl_check);
#endif /* _NFOSF_H */