1 /* SPDX-License-Identifier: LGPL-2.1-only */ 2 /* 3 * Copyright (c) 2016 Sushma Sitaram <[email protected]> 4 */ 5 6 #ifndef NETLINK_GACT_H_ 7 #define NETLINK_GACT_H_ 8 9 #include <netlink/netlink.h> 10 #include <netlink/cache.h> 11 #include <netlink/route/action.h> 12 #include <linux/tc_act/tc_gact.h> 13 14 #ifdef __cplusplus 15 extern "C" { 16 #endif 17 18 extern int rtnl_gact_set_action(struct rtnl_act *act, int action); 19 extern int rtnl_gact_get_action(struct rtnl_act *act); 20 21 #ifdef __cplusplus 22 } 23 #endif 24 25 #endif 26