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
{
21 struct ip_set_req_portmap
{
25 #endif /* __IP_SET_PORTMAP_H */