| /* SPDX-License-Identifier: LGPL-2.1-only */ | |
| /* | |
| * Copyright (c) 2016 Sushma Sitaram <[email protected]> | |
| */ | |
| #ifndef NETLINK_GACT_H_ | |
| #define NETLINK_GACT_H_ | |
| #include <netlink/netlink.h> | |
| #include <netlink/cache.h> | |
| #include <netlink/route/action.h> | |
| #include <linux/tc_act/tc_gact.h> | |
| #ifdef __cplusplus | |
| extern "C" { | |
| #endif | |
| extern int rtnl_gact_set_action(struct rtnl_act *act, int action); | |
| extern int rtnl_gact_get_action(struct rtnl_act *act); | |
| #ifdef __cplusplus | |
| } | |
| #endif | |
| #endif |