include/netlink/route/cls/police.h
raw| 1 | /* SPDX-License-Identifier: LGPL-2.1-only */ |
| 2 | /* |
| 3 | * Copyright (c) 2003-2006 Thomas Graf <[email protected]> |
| 4 | */ |
| 5 | |
| 6 | #ifndef NETLINK_CLS_POLICE_H_ |
| 7 | #define NETLINK_CLS_POLICE_H_ |
| 8 | |
| 9 | #include <netlink/netlink.h> |
| 10 | #include <netlink/cache.h> |
| 11 | |
| 12 | #ifdef __cplusplus |
| 13 | extern "C" { |
| 14 | #endif |
| 15 | |
| 16 | extern char * nl_police2str(int, char *, size_t); |
| 17 | extern int nl_str2police(const char *); |
| 18 | |
| 19 | #ifdef __cplusplus |
| 20 | } |
| 21 | #endif |
| 22 | |
| 23 | #endif |