summaryrefslogtreecommitdiffstats
path: root/src/vnet/session/session_rules_table.h
diff options
context:
space:
mode:
authorFlorin Coras <fcoras@cisco.com>2017-11-02 21:31:46 -0700
committerDamjan Marion <dmarion.lists@gmail.com>2017-11-03 08:19:41 +0000
commitf0c1c96b0be1552deff0fbfc62db4ce510cb700d (patch)
tree07f33ac6b10567325ccd125be5b2b3a810175b96 /src/vnet/session/session_rules_table.h
parent77eb3a936adfe455ed1a450560c4f0f5d8a28ea4 (diff)
session: support drop action in rules table
Change-Id: Ided2980373ed5329c68f958f61be893428bccd31 Signed-off-by: Florin Coras <fcoras@cisco.com>
Diffstat (limited to 'src/vnet/session/session_rules_table.h')
-rw-r--r--src/vnet/session/session_rules_table.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/vnet/session/session_rules_table.h b/src/vnet/session/session_rules_table.h
index e9d573a3b04..27b0f8856f5 100644
--- a/src/vnet/session/session_rules_table.h
+++ b/src/vnet/session/session_rules_table.h
@@ -65,6 +65,8 @@ typedef struct _session_rules_table_add_del_args
u8 is_add;
} session_rule_table_add_del_args_t;
+#define SESSION_RULES_TABLE_ACTION_DROP (((u32)~0) - 1)
+
typedef struct _session_rules_table_t
{
/**