blob: bfe1e7c55a536ebe27e6ca1372d391aeebda1d31 [file]
/* SPDX-License-Identifier: LGPL-2.1-only */
/*
* Copyright (c) 2017 Volodymyr Bendiuga <[email protected]>
*/
#ifndef NETLINK_MATCHALL_H_
#define NETLINK_MATCHALL_H_
#include <netlink/netlink.h>
#include <netlink/cache.h>
#include <netlink/route/classifier.h>
#include <netlink/route/action.h>
#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