summaryrefslogtreecommitdiff
path: root/lib/memory.h
diff options
context:
space:
mode:
authorPhilippe Guibert <philippe.guibert@6wind.com>2018-01-10 19:13:27 +0100
committerPhilippe Guibert <philippe.guibert@6wind.com>2018-03-30 14:00:47 +0200
commit9a14899b0ac8f3d9d0ce077127568f215c301f6a (patch)
tree177eadb198e40a532c4ae6d9a2f72ab2825df5cd /lib/memory.h
parent46f1e1ee964e6408fbae477b824e8ed18cb357d6 (diff)
lib: prefix support for flowspec
prefix structure is used to handle flowspec prefixes. A new AFI is introduced: AF_FLOWSPEC. A sub structure named flowspec_prefix is used in prefix to host the flowspec entry. Reason to introduce that new kind is that prefixlen from prefix structure is too short to all the flowspec needs, since NLRI can go over 0xff bytes. Signed-off-by: Philippe Guibert <philippe.guibert@6wind.com>
Diffstat (limited to 'lib/memory.h')
-rw-r--r--lib/memory.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/memory.h b/lib/memory.h
index 6de370514a..1fbbbe4231 100644
--- a/lib/memory.h
+++ b/lib/memory.h
@@ -127,6 +127,7 @@ struct memgroup {
DECLARE_MGROUP(LIB)
DECLARE_MTYPE(TMP)
+DECLARE_MTYPE(PREFIX_FLOWSPEC)
extern void *qmalloc(struct memtype *mt, size_t size)