diff options
author | Thomas Haller <thaller@redhat.com> | 2023-07-28 16:05:06 (GMT) |
---|---|---|
committer | Thomas Haller <thaller@redhat.com> | 2023-07-31 13:24:01 (GMT) |
commit | fd470c069edc6edc26e3b0783137fb1c319ae100 (patch) | |
tree | 786ea3ad550bfee25785605a2b43d921bd735d4b /lib/mpls.h | |
parent | 78056ad2e827f69aec5f1b3c9f21cd59780c9414 (diff) | |
download | libnl-fd470c069edc6edc26e3b0783137fb1c319ae100.zip libnl-fd470c069edc6edc26e3b0783137fb1c319ae100.tar.gz libnl-fd470c069edc6edc26e3b0783137fb1c319ae100.tar.bz2 |
include: move "include/netlink-private/route/mpls.h" to "lib/mpls.h"
Diffstat (limited to 'lib/mpls.h')
-rw-r--r-- | lib/mpls.h | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/lib/mpls.h b/lib/mpls.h new file mode 100644 index 0000000..502fd34 --- /dev/null +++ b/lib/mpls.h @@ -0,0 +1,15 @@ +#ifndef MPLS_H_ +#define MPLS_H_ + +#ifdef __cplusplus +extern "C" { +#endif + +extern const char *mpls_ntop(int af, const void *addr, char *buf, size_t buflen); +extern int mpls_pton(int af, const char *src, void *addr, size_t alen); + +#ifdef __cplusplus +} +#endif + +#endif |