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