6#ifndef NETLINK_ACTION_H_
7#define NETLINK_ACTION_H_
9#include <netlink/netlink.h>
10#include <netlink/cache.h>
11#include <netlink/route/tc.h>
12#include <netlink/utils.h>
18extern struct rtnl_act *rtnl_act_alloc(
void);
19extern struct rtnl_act *rtnl_act_next(
struct rtnl_act *);
20extern void rtnl_act_get(
struct rtnl_act *);
21extern void rtnl_act_put(
struct rtnl_act *);
24extern int rtnl_act_add(
struct nl_sock *,
struct rtnl_act *,
int);
33extern int rtnl_act_append(
struct rtnl_act **,
struct rtnl_act *);
34extern int rtnl_act_remove(
struct rtnl_act **,
struct rtnl_act *);
35extern int rtnl_act_fill(
struct nl_msg *,
int,
struct rtnl_act *);
36extern void rtnl_act_put_all(
struct rtnl_act **);
37extern int rtnl_act_parse(
struct rtnl_act **,
struct nlattr *);
int rtnl_act_change(struct nl_sock *, struct rtnl_act *, int)
Change an action.
int rtnl_act_build_delete_request(struct rtnl_act *, int, struct nl_msg **)
Build netlink message requesting the deletion of an action.
int rtnl_act_build_add_request(struct rtnl_act *, int, struct nl_msg **)
Build a netlink message requesting the addition of an action.
int rtnl_act_delete(struct nl_sock *, struct rtnl_act *, int)
Delete action.
int rtnl_act_add(struct nl_sock *, struct rtnl_act *, int)
Add/Update action.
int rtnl_act_build_change_request(struct rtnl_act *, int, struct nl_msg **)
Build a netlink message to change action attributes.