Debian Codegraph @

include/netlink/route/cls/matchall.h

raw
1 /* SPDX-License-Identifier: LGPL-2.1-only */
2 /*
3 * Copyright (c) 2017 Volodymyr Bendiuga <[email protected]>
4 */
5
6 #ifndef NETLINK_MATCHALL_H_
7 #define NETLINK_MATCHALL_H_
8
9 #include <netlink/netlink.h>
10 #include <netlink/cache.h>
11 #include <netlink/route/classifier.h>
12 #include <netlink/route/action.h>
13
14 #ifdef __cplusplus
15 extern "C" {
16 #endif
17
18 extern int rtnl_mall_set_classid(struct rtnl_cls *, uint32_t);
19 extern int rtnl_mall_get_classid(struct rtnl_cls *, uint32_t *);
20 extern int rtnl_mall_set_flags(struct rtnl_cls *, uint32_t);
21 extern int rtnl_mall_get_flags(struct rtnl_cls *, uint32_t *);
22 extern int rtnl_mall_append_action(struct rtnl_cls *, struct rtnl_act *);
23 extern struct rtnl_act *rtnl_mall_get_first_action(struct rtnl_cls *);
24 extern int rtnl_mall_del_action(struct rtnl_cls *, struct rtnl_act *);
25
26 #ifdef __cplusplus
27 }
28 #endif
29
30 #endif