diff options
author | melifaro <melifaro@FreeBSD.org> | 2014-08-14 21:43:20 +0000 |
---|---|---|
committer | melifaro <melifaro@FreeBSD.org> | 2014-08-14 21:43:20 +0000 |
commit | 6f8397b648e798c63c625664eeca8929d714fcd8 (patch) | |
tree | dc5834ed4d032335dd38a90a8899059e06eeeb54 /sys/netinet/ip_fw.h | |
parent | 7c57f4c90d41ff42afedef34f6c0c7d534b2a5e4 (diff) | |
download | FreeBSD-src-6f8397b648e798c63c625664eeca8929d714fcd8.zip FreeBSD-src-6f8397b648e798c63c625664eeca8929d714fcd8.tar.gz |
Replace "cidr" table type with "addr" type.
Suggested by: luigi
Diffstat (limited to 'sys/netinet/ip_fw.h')
-rw-r--r-- | sys/netinet/ip_fw.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/sys/netinet/ip_fw.h b/sys/netinet/ip_fw.h index cc6c474..9dee50f 100644 --- a/sys/netinet/ip_fw.h +++ b/sys/netinet/ip_fw.h @@ -654,12 +654,14 @@ struct _ipfw_dyn_rule { * These are used for lookup tables. */ -#define IPFW_TABLE_CIDR 1 /* Table for holding IPv4/IPv6 prefixes */ +#define IPFW_TABLE_ADDR 1 /* Table for holding IPv4/IPv6 prefixes */ #define IPFW_TABLE_INTERFACE 2 /* Table for holding interface names */ #define IPFW_TABLE_NUMBER 3 /* Table for holding ports/uid/gid/etc */ #define IPFW_TABLE_FLOW 4 /* Table for holding flow data */ #define IPFW_TABLE_MAXTYPE 4 /* Maximum valid number */ +#define IPFW_TABLE_CIDR IPFW_TABLE_ADDR /* compat */ + /* Value types */ #define IPFW_VTYPE_U32 1 /* Skipto/tablearg integer */ @@ -833,7 +835,7 @@ typedef struct _ipfw_ta_tinfo { #define IPFW_TATFLAGS_AFITEM 0x0004 /* diff. items per AF */ typedef struct _ipfw_xtable_info { - uint8_t type; /* table type (cidr,iface,..) */ + uint8_t type; /* table type (addr,iface,..) */ uint8_t tflags; /* type flags */ uint8_t vtype; /* value type (u32) */ uint8_t vftype; /* value format type (ip,number)*/ |