summaryrefslogtreecommitdiffstats
path: root/src/vnet/adj/rewrite.h
diff options
context:
space:
mode:
authorNeale Ranns <neale@graphiant.com>2021-03-04 16:23:26 +0000
committerNeale Ranns <neale@graphiant.com>2021-03-05 12:23:54 +0000
commitd89de31489cc0fb0c3d606fe9b30a97934942e80 (patch)
tree5e6ff1a85a20add5e6bb65b6ffe48aa01348d10b /src/vnet/adj/rewrite.h
parent8fb5add31885fcee1abaf60dd903aa566cc53b0d (diff)
fib: format function for adjacency flags
Type: improvement Signed-off-by: Neale Ranns <neale@graphiant.com> Change-Id: Ib01ed3231321f0f38c4b1deb885c4cf718cc0147
Diffstat (limited to 'src/vnet/adj/rewrite.h')
-rw-r--r--src/vnet/adj/rewrite.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/vnet/adj/rewrite.h b/src/vnet/adj/rewrite.h
index 496bb149bc4..4234986dc37 100644
--- a/src/vnet/adj/rewrite.h
+++ b/src/vnet/adj/rewrite.h
@@ -67,6 +67,8 @@ typedef enum vnet_rewrite_flags_t_
VNET_REWRITE_FIXUP_FLOW_HASH = (1 << 2),
} __attribute__ ((packed)) vnet_rewrite_flags_t;
+extern u8 *format_vnet_rewrite_flags (u8 *s, va_list *ap);
+
typedef struct vnet_rewrite_header_t_
{
/* Interface to mark re-written packets with. */