Current File : //proc/thread-self/root/kunden/usr/include/libnl3/netlink/route/cls/matchall.h |
/* SPDX-License-Identifier: LGPL-2.1-only */
/*
* Copyright (c) 2017 Volodymyr Bendiuga <volodymyr.bendiuga@gmail.com>
*/
#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