summaryrefslogtreecommitdiff
path: root/net/ipv4/netfilter/ip_nat_proto_unknown.c
diff options
context:
space:
mode:
authorHarald Welte <laforge@netfilter.org>2005-08-10 02:32:58 (GMT)
committerDavid S. Miller <davem@sunset.davemloft.net>2005-08-29 22:31:49 (GMT)
commit080774a243f56ce2195ace96fba3d18548ee48ce (patch)
tree2065041cb2b85891ca45648122122796122c38dc /net/ipv4/netfilter/ip_nat_proto_unknown.c
parent6f1cf16582160c4839f05007c978743911aa022b (diff)
downloadlinux-080774a243f56ce2195ace96fba3d18548ee48ce.tar.xz
[NETFILTER]: Add ctnetlink subsystem
Add ctnetlink subsystem for userspace-access to ip_conntrack table. This allows reading and updating of existing entries, as well as creating new ones (and new expect's) via nfnetlink. Please note the 'strange' byte order: nfattr (tag+length) are in host byte order, while the payload is always guaranteed to be in network byte order. This allows a simple userspace process to encapsulate netlink messages into arch-independent udp packets by just processing/swapping the headers and not knowing anything about the actual payload. Signed-off-by: Harald Welte <laforge@netfilter.org> Signed-off-by: Patrick McHardy <kaber@trash.net> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/ipv4/netfilter/ip_nat_proto_unknown.c')
-rw-r--r--net/ipv4/netfilter/ip_nat_proto_unknown.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/ipv4/netfilter/ip_nat_proto_unknown.c b/net/ipv4/netfilter/ip_nat_proto_unknown.c
index f5525bd..512d8f2 100644
--- a/net/ipv4/netfilter/ip_nat_proto_unknown.c
+++ b/net/ipv4/netfilter/ip_nat_proto_unknown.c
@@ -61,7 +61,7 @@ unknown_print_range(char *buffer, const struct ip_nat_range *range)
}
struct ip_nat_protocol ip_nat_unknown_protocol = {
- "unknown", 0,
+ "unknown", 0, THIS_MODULE,
unknown_manip_pkt,
unknown_in_range,
unknown_unique_tuple,