]>
Commit | Line | Data |
---|---|---|
acddc0ed | 1 | // SPDX-License-Identifier: GPL-2.0-or-later |
05895ad0 PG |
2 | /* zebra NETNS ID handling routines |
3 | * Copyright (C) 2018 6WIND | |
05895ad0 PG |
4 | */ |
5 | #if !defined(__ZEBRA_NS_ID_H__) | |
6 | #define __ZEBRA_NS_ID_H__ | |
7 | #include "zebra.h" | |
8 | #include "ns.h" | |
9 | ||
51e94aa7 EDP |
10 | #ifdef __cplusplus |
11 | extern "C" { | |
12 | #endif | |
13 | ||
289b0f0d | 14 | extern ns_id_t zebra_ns_id_get(const char *netnspath, int fd); |
ec31f30d | 15 | extern ns_id_t zebra_ns_id_get_default(void); |
05895ad0 | 16 | |
51e94aa7 EDP |
17 | #ifdef __cplusplus |
18 | } | |
19 | #endif | |
20 | ||
05895ad0 | 21 | #endif /* __ZEBRA_NS_ID_H__ */ |