Code Review
/
vpp.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
FIB: use vlib-log for debugging
[vpp.git]
/
src
/
vnet
/
fib
/
fib_entry.h
diff --git
a/src/vnet/fib/fib_entry.h
b/src/vnet/fib/fib_entry.h
index
9175a57
..
8ede39c
100644
(file)
--- a/
src/vnet/fib/fib_entry.h
+++ b/
src/vnet/fib/fib_entry.h
@@
-286,6
+286,8
@@
typedef enum fib_entry_flag_t_ {
FIB_ENTRY_FLAG_INTERPOSE = (1 << FIB_ENTRY_ATTRIBUTE_INTERPOSE),
} __attribute__((packed)) fib_entry_flag_t;
FIB_ENTRY_FLAG_INTERPOSE = (1 << FIB_ENTRY_ATTRIBUTE_INTERPOSE),
} __attribute__((packed)) fib_entry_flag_t;
+extern u8 * format_fib_entry_flags(u8 *s, va_list *args);
+
/**
* Flags for the source data
*/
/**
* Flags for the source data
*/
@@
-337,6
+339,8
@@
typedef enum fib_entry_src_flag_t_ {
FIB_ENTRY_SRC_FLAG_INHERITED = (1 << FIB_ENTRY_SRC_ATTRIBUTE_INHERITED),
} __attribute__ ((packed)) fib_entry_src_flag_t;
FIB_ENTRY_SRC_FLAG_INHERITED = (1 << FIB_ENTRY_SRC_ATTRIBUTE_INHERITED),
} __attribute__ ((packed)) fib_entry_src_flag_t;
+extern u8 * format_fib_entry_src_flags(u8 *s, va_list *args);
+
/*
* Keep the size of the flags field to 2 bytes, so it
* can be placed next to the 2 bytes reference count
/*
* Keep the size of the flags field to 2 bytes, so it
* can be placed next to the 2 bytes reference count