summaryrefslogtreecommitdiff
path: root/lib/prefix.h
diff options
context:
space:
mode:
authorstreambinder <posta@davidepucci.it>2020-06-15 15:21:19 +0200
committerstreambinder <posta@davidepucci.it>2020-06-15 15:34:49 +0200
commit132b6a9139e64afe7910ac144179b57aa27175cf (patch)
tree3ad43c39cd0bf15a945a3af42453d1187a9e7805 /lib/prefix.h
parent1a5fc72066daf409d7470d4c4c34d979efd94ca0 (diff)
lib: prefix: add prefix_rd type
Signed-off-by: streambinder <posta@davidepucci.it>
Diffstat (limited to 'lib/prefix.h')
-rw-r--r--lib/prefix.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/prefix.h b/lib/prefix.h
index 4b2d90d63a..506efffb94 100644
--- a/lib/prefix.h
+++ b/lib/prefix.h
@@ -295,6 +295,7 @@ union prefixptr {
prefixtype(prefixptr, struct prefix_ipv6, p6)
prefixtype(prefixptr, struct prefix_evpn, evp)
prefixtype(prefixptr, struct prefix_fs, fs)
+ prefixtype(prefixptr, struct prefix_rd, rd)
} __attribute__((transparent_union));
union prefixconstptr {
@@ -303,6 +304,7 @@ union prefixconstptr {
prefixtype(prefixconstptr, const struct prefix_ipv6, p6)
prefixtype(prefixconstptr, const struct prefix_evpn, evp)
prefixtype(prefixconstptr, const struct prefix_fs, fs)
+ prefixtype(prefixconstptr, const struct prefix_rd, rd)
} __attribute__((transparent_union));
#ifndef INET_ADDRSTRLEN