diff options
Diffstat (limited to 'include/net')
-rw-r--r-- | include/net/netfilter/nf_nat_protocol.h | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/include/net/netfilter/nf_nat_protocol.h b/include/net/netfilter/nf_nat_protocol.h index 4aa0edbb5b96..fa06f6d0de54 100644 --- a/include/net/netfilter/nf_nat_protocol.h +++ b/include/net/netfilter/nf_nat_protocol.h | |||
@@ -62,6 +62,17 @@ extern int init_protocols(void) __init; | |||
62 | extern void cleanup_protocols(void); | 62 | extern void cleanup_protocols(void); |
63 | extern const struct nf_nat_protocol *find_nat_proto(u_int16_t protonum); | 63 | extern const struct nf_nat_protocol *find_nat_proto(u_int16_t protonum); |
64 | 64 | ||
65 | extern int nf_nat_proto_in_range(const struct nf_conntrack_tuple *tuple, | ||
66 | enum nf_nat_manip_type maniptype, | ||
67 | const union nf_conntrack_man_proto *min, | ||
68 | const union nf_conntrack_man_proto *max); | ||
69 | |||
70 | extern int nf_nat_proto_unique_tuple(struct nf_conntrack_tuple *tuple, | ||
71 | const struct nf_nat_range *range, | ||
72 | enum nf_nat_manip_type maniptype, | ||
73 | const struct nf_conn *ct, | ||
74 | u_int16_t *rover); | ||
75 | |||
65 | extern int nf_nat_port_range_to_nlattr(struct sk_buff *skb, | 76 | extern int nf_nat_port_range_to_nlattr(struct sk_buff *skb, |
66 | const struct nf_nat_range *range); | 77 | const struct nf_nat_range *range); |
67 | extern int nf_nat_port_nlattr_to_range(struct nlattr *tb[], | 78 | extern int nf_nat_port_nlattr_to_range(struct nlattr *tb[], |