| 1 |
/* SPDX-License-Identifier: LGPL-2.1-only */ |
| 2 |
/* |
| 3 |
* Copyright (c) 2009-2010 Thomas Graf <[email protected]> |
| 4 |
*/ |
| 5 |
|
| 6 |
#ifndef NETLINK_CLS_CGROUP_H_ |
| 7 |
#define NETLINK_CLS_CGROUP_H_ |
| 8 |
|
| 9 |
#include <netlink/netlink.h> |
| 10 |
#include <netlink/cache.h> |
| 11 |
#include <netlink/route/classifier.h> |
| 12 |
#include <netlink/route/cls/ematch.h> |
| 13 |
|
| 14 |
#ifdef __cplusplus |
| 15 |
extern "C" { |
| 16 |
#endif |
| 17 |
|
| 18 |
extern void rtnl_cgroup_set_ematch(struct rtnl_cls *, |
| 19 |
struct rtnl_ematch_tree *); |
| 20 |
struct rtnl_ematch_tree * rtnl_cgroup_get_ematch(struct rtnl_cls *); |
| 21 |
|
| 22 |
#ifdef __cplusplus |
| 23 |
} |
| 24 |
#endif |
| 25 |
|
| 26 |
#endif |