Searched refs:ip_nat_protocol (Results 1 – 8 of 8) sorted by relevance
10 struct ip_nat_protocol struct50 extern int ip_nat_protocol_register(struct ip_nat_protocol *proto); argument51 extern void ip_nat_protocol_unregister(struct ip_nat_protocol *proto);55 extern struct ip_nat_protocol *find_nat_proto(u_int16_t protonum);
30 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;
259 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()
54 struct ip_nat_protocol unknown_nat_protocol = {
48 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()
91 struct ip_nat_protocol ip_nat_protocol_icmp
143 struct ip_nat_protocol ip_nat_protocol_tcp
136 struct ip_nat_protocol ip_nat_protocol_udp