#include <netlink-local.h>
#include <netlink-tc.h>
#include <netlink/netlink.h>
#include <netlink/route/tc.h>
#include <netlink/route/class.h>
#include <netlink/route/class-modules.h>
#include <netlink/route/qdisc.h>
#include <netlink/route/classifier.h>
#include <netlink/utils.h>
Functions | |
Addition/Modification | |
int | rtnl_class_build_add_request (struct rtnl_class *class, int flags, struct nl_msg **result) |
Build a netlink message to add a new class. More... | |
int | rtnl_class_add (struct nl_sock *sk, struct rtnl_class *class, int flags) |
Add a new class. More... | |
int | rtnl_class_build_delete_request (struct rtnl_class *class, struct nl_msg **result) |
int | rtnl_class_delete (struct nl_sock *sk, struct rtnl_class *class) |
Delete a class. More... | |
Cache Management | |
int | rtnl_class_alloc_cache (struct nl_sock *sk, int ifindex, struct nl_cache **result) |
Build a class cache including all classes attached to the specified interface. More... | |
struct rtnl_class * | rtnl_class_get (struct nl_cache *cache, int ifindex, uint32_t handle) |
Look up class by its handle in the provided cache. More... | |