1/* 2 * netlink/route/cls/cgroup.h Control Groups Classifier 3 * 4 * This library is free software; you can redistribute it and/or 5 * modify it under the terms of the GNU Lesser General Public 6 * License as published by the Free Software Foundation version 2.1 7 * of the License. 8 * 9 * Copyright (c) 2009-2010 Thomas Graf <tgraf@suug.ch> 10 */ 11 12#ifndef NETLINK_CLS_CGROUP_H_ 13#define NETLINK_CLS_CGROUP_H_ 14 15#include <netlink/netlink.h> 16#include <netlink/cache.h> 17#include <netlink/route/classifier.h> 18#include <netlink/route/cls/ematch.h> 19 20#ifdef __cplusplus 21extern "C" { 22#endif 23 24extern void rtnl_cgroup_set_ematch(struct rtnl_cls *, 25 struct rtnl_ematch_tree *); 26struct rtnl_ematch_tree * rtnl_cgroup_get_ematch(struct rtnl_cls *); 27 28#ifdef __cplusplus 29} 30#endif 31 32#endif 33