16 lines
264 B
C
16 lines
264 B
C
|
#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
|