Merge pull request #6582 from streambinder/master

lib: prefix: add prefix_rd type
This commit is contained in:
Donald Sharp 2020-06-15 12:32:24 -04:00 committed by GitHub
commit c0757e84ce
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -295,6 +295,7 @@ union prefixptr {
prefixtype(prefixptr, struct prefix_ipv6, p6) prefixtype(prefixptr, struct prefix_ipv6, p6)
prefixtype(prefixptr, struct prefix_evpn, evp) prefixtype(prefixptr, struct prefix_evpn, evp)
prefixtype(prefixptr, struct prefix_fs, fs) prefixtype(prefixptr, struct prefix_fs, fs)
prefixtype(prefixptr, struct prefix_rd, rd)
} __attribute__((transparent_union)); } __attribute__((transparent_union));
union prefixconstptr { union prefixconstptr {
@ -303,6 +304,7 @@ union prefixconstptr {
prefixtype(prefixconstptr, const struct prefix_ipv6, p6) prefixtype(prefixconstptr, const struct prefix_ipv6, p6)
prefixtype(prefixconstptr, const struct prefix_evpn, evp) prefixtype(prefixconstptr, const struct prefix_evpn, evp)
prefixtype(prefixconstptr, const struct prefix_fs, fs) prefixtype(prefixconstptr, const struct prefix_fs, fs)
prefixtype(prefixconstptr, const struct prefix_rd, rd)
} __attribute__((transparent_union)); } __attribute__((transparent_union));
#ifndef INET_ADDRSTRLEN #ifndef INET_ADDRSTRLEN