diff options
author | Jan Engelhardt <jengelh@medozas.de> | 2011-05-05 14:19:25 +0200 |
---|---|---|
committer | Jan Engelhardt <jengelh@medozas.de> | 2011-05-09 00:46:09 +0200 |
commit | 66266abd17adc9631f3769ef0b82968c0bac6f38 (patch) | |
tree | a1692996aea9d1519de96c0b19dd9de0aa11b3d5 /include/xtables.h.in | |
parent | fe02f76e013941a7f65f57f297d3177bcfeb0623 (diff) |
libxtables: XTTYPE_HOSTMASK support
Signed-off-by: Jan Engelhardt <jengelh@medozas.de>
Diffstat (limited to 'include/xtables.h.in')
-rw-r--r-- | include/xtables.h.in | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/include/xtables.h.in b/include/xtables.h.in index 9bb42351..caaec2fa 100644 --- a/include/xtables.h.in +++ b/include/xtables.h.in @@ -61,6 +61,8 @@ struct in_addr; * %XTTYPE_MARKMASK32: 32-bit mark with optional mask * %XTTYPE_SYSLOGLEVEL: syslog level by name or number * %XTTYPE_HOST: one host or address (ptr: union nf_inet_addr) + * %XTTYPE_HOSTMASK: one host or address, with an optional prefix length + * (ptr: union nf_inet_addr; only host portion is stored) * %XTTYPE_PORT: 16-bit port name or number * %XTTYPE_PORT_NE: 16-bit port name or number, stored as network-endian * %XTTYPE_PORTRC: colon-separated port range (names acceptable) @@ -84,6 +86,7 @@ enum xt_option_type { XTTYPE_MARKMASK32, XTTYPE_SYSLOGLEVEL, XTTYPE_HOST, + XTTYPE_HOSTMASK, XTTYPE_PORT, XTTYPE_PORT_NE, XTTYPE_PORTRC, |