Home
last modified time | relevance | path

Searched refs:ip_nat_protocol (Results 1 – 8 of 8) sorted by relevance

/linux-2.4.37.9/include/linux/netfilter_ipv4/
Dip_nat_protocol.h10 struct ip_nat_protocol struct
50 extern int ip_nat_protocol_register(struct ip_nat_protocol *proto); argument
51 extern void ip_nat_protocol_unregister(struct ip_nat_protocol *proto);
55 extern struct ip_nat_protocol *find_nat_proto(u_int16_t protonum);
Dip_nat_core.h30 extern struct ip_nat_protocol ip_nat_protocol_tcp;
31 extern struct ip_nat_protocol ip_nat_protocol_udp;
32 extern struct ip_nat_protocol ip_nat_protocol_icmp;
/linux-2.4.37.9/net/ipv4/netfilter/
Dip_nat_standalone.c259 int ip_nat_protocol_register(struct ip_nat_protocol *proto) in ip_nat_protocol_register()
266 if (((struct ip_nat_protocol *)i)->protonum in ip_nat_protocol_register()
282 void ip_nat_protocol_unregister(struct ip_nat_protocol *proto) in ip_nat_protocol_unregister()
Dip_nat_proto_unknown.c54 struct ip_nat_protocol unknown_nat_protocol = {
Dip_nat_core.c48 extern struct ip_nat_protocol unknown_nat_protocol;
104 static inline int cmp_proto(const struct ip_nat_protocol *i, int proto) in cmp_proto()
109 struct ip_nat_protocol *
112 struct ip_nat_protocol *i; in find_nat_proto()
115 i = LIST_FIND(&protos, cmp_proto, struct ip_nat_protocol *, protonum); in find_nat_proto()
143 struct ip_nat_protocol *proto = find_nat_proto(tuple->dst.protonum); in in_range()
391 struct ip_nat_protocol *proto in get_unique_tuple()
Dip_nat_proto_icmp.c91 struct ip_nat_protocol ip_nat_protocol_icmp
Dip_nat_proto_tcp.c143 struct ip_nat_protocol ip_nat_protocol_tcp
Dip_nat_proto_udp.c136 struct ip_nat_protocol ip_nat_protocol_udp