2005-04-16 16:20:36 -06:00
|
|
|
#ifndef _IPT_SAME_H
|
|
|
|
#define _IPT_SAME_H
|
|
|
|
|
|
|
|
#define IPT_SAME_MAX_RANGE 10
|
|
|
|
|
|
|
|
#define IPT_SAME_NODST 0x01
|
|
|
|
|
|
|
|
struct ipt_same_info
|
|
|
|
{
|
|
|
|
unsigned char info;
|
|
|
|
u_int32_t rangesize;
|
|
|
|
u_int32_t ipnum;
|
|
|
|
u_int32_t *iparray;
|
|
|
|
|
|
|
|
/* hangs off end. */
|
2007-03-14 17:37:25 -06:00
|
|
|
struct nf_nat_range range[IPT_SAME_MAX_RANGE];
|
2005-04-16 16:20:36 -06:00
|
|
|
};
|
|
|
|
|
|
|
|
#endif /*_IPT_SAME_H*/
|