blob: f17979af15ab1529150cf0266080cdfbfccba9c4 [file] [log] [blame]
/****************************************************************************
****************************************************************************
***
*** This header was automatically generated from a Linux kernel header
*** of the same name, to make information necessary for userspace to
*** call into the kernel available to libc. It contains only constants,
*** structures, and macros generated from the original header, and thus,
*** contains no copyrightable information.
***
****************************************************************************
****************************************************************************/
#ifndef _XT_MULTIPORT_H
#define _XT_MULTIPORT_H
enum xt_multiport_flags
{
XT_MULTIPORT_SOURCE,
XT_MULTIPORT_DESTINATION,
XT_MULTIPORT_EITHER
};
#define XT_MULTI_PORTS 15
struct xt_multiport
{
u_int8_t flags;
u_int8_t count;
u_int16_t ports[XT_MULTI_PORTS];
};
struct xt_multiport_v1
{
u_int8_t flags;
u_int8_t count;
u_int16_t ports[XT_MULTI_PORTS];
u_int8_t pflags[XT_MULTI_PORTS];
u_int8_t invert;
};
#endif