/* SPDX-License-Identifier: LGPL-2.1-only */ /* * Copyright (c) 2017 Volodymyr Bendiuga */ #ifndef NETLINK_MATCHALL_H_ #define NETLINK_MATCHALL_H_ #include #include #include #include #ifdef __cplusplus extern "C" { #endif extern int rtnl_mall_set_classid(struct rtnl_cls *, uint32_t); extern int rtnl_mall_get_classid(struct rtnl_cls *, uint32_t *); extern int rtnl_mall_set_flags(struct rtnl_cls *, uint32_t); extern int rtnl_mall_get_flags(struct rtnl_cls *, uint32_t *); extern int rtnl_mall_append_action(struct rtnl_cls *, struct rtnl_act *); extern struct rtnl_act *rtnl_mall_get_first_action(struct rtnl_cls *); extern int rtnl_mall_del_action(struct rtnl_cls *, struct rtnl_act *); #ifdef __cplusplus } #endif #endif