commit | 2daf7f3a8d69213f35b16a04dbe300957481a811 | [log] [tgz] |
---|---|---|
author | Lou Berger <lberger@labn.net> | Tue Jan 12 13:41:50 2016 -0500 |
committer | Paul Jakma <paul.jakma@hpe.com> | Fri Feb 26 14:11:42 2016 +0000 |
tree | 13a66fd8d74fd79db772307361b4af1738fd95fe | |
parent | c7f7e49a4f68c92152384582ff70d64609858170 [diff] [blame] |
lib: add SAFI_ENCAP type, safi2str prefix utility Signed-off-by: Lou Berger <lberger@labn.net>
diff --git a/lib/prefix.h b/lib/prefix.h index a517d79..4a31750 100644 --- a/lib/prefix.h +++ b/lib/prefix.h
@@ -173,6 +173,7 @@ extern int str2family(const char *); extern int afi2family (afi_t); extern afi_t family2afi (int); +extern const char *safi2str(safi_t safi); /* Check bit of the prefix. */ extern unsigned int prefix_bit (const u_char *prefix, const u_char prefixlen);