allow coexistance of N build and AC build.
[tomato.git] / release / src-rt-6.x / linux / linux-2.6 / include / linux / netfilter_ipv4 / ip_set_portmap.h
blob37f411e9d29d6828bf825d6a2585a410a335b982
1 #ifndef __IP_SET_PORTMAP_H
2 #define __IP_SET_PORTMAP_H
4 #include <linux/netfilter_ipv4/ip_set.h>
5 #include <linux/netfilter_ipv4/ip_set_bitmaps.h>
7 #define SETTYPE_NAME "portmap"
9 struct ip_set_portmap {
10 void *members; /* the portmap proper */
11 ip_set_ip_t first_ip; /* host byte order, included in range */
12 ip_set_ip_t last_ip; /* host byte order, included in range */
13 u_int32_t size; /* size of the ipmap proper */
16 struct ip_set_req_portmap_create {
17 ip_set_ip_t from;
18 ip_set_ip_t to;
21 struct ip_set_req_portmap {
22 ip_set_ip_t ip;
25 #endif /* __IP_SET_PORTMAP_H */