libnl 3.5.0

gact.h
1 /*
2 * netlink/route/act/gact.h gact action
3 *
4 * This library is free software; you can redistribute it and/or
5 * modify it under the terms of the GNU Lesser General Public
6 * License as published by the Free Software Foundation version 2.1
7 * of the License.
8 *
9 * Copyright (c) 2016 Sushma Sitaram <sushma.sitaram@intel.com>
10 */
11
12 #ifndef NETLINK_GACT_H_
13 #define NETLINK_GACT_H_
14
15 #include <netlink/netlink.h>
16 #include <netlink/cache.h>
17 #include <netlink/route/action.h>
18 #include <linux/tc_act/tc_gact.h>
19
20 #ifdef __cplusplus
21 extern "C" {
22 #endif
23
24 extern int rtnl_gact_set_action(struct rtnl_act *act, int action);
25 extern int rtnl_gact_get_action(struct rtnl_act *act);
26
27 #ifdef __cplusplus
28 }
29 #endif
30
31 #endif