#include <netlink-local.h>
#include <netlink-tc.h>
#include <netlink/netlink.h>
#include <netlink/utils.h>
#include <netlink/route/tc.h>
#include <netlink/route/classifier.h>
#include <netlink/route/classifier-modules.h>
#include <netlink/route/link.h>
Functions | |
Classifier Addition/Modification/Deletion | |
int | rtnl_cls_build_add_request (struct rtnl_cls *cls, int flags, struct nl_msg **result) |
Build a netlink message to add a new classifier. More... | |
int | rtnl_cls_add (struct nl_sock *sk, struct rtnl_cls *cls, int flags) |
Add a new classifier. More... | |
int | rtnl_cls_build_change_request (struct rtnl_cls *cls, int flags, struct nl_msg **result) |
Build a netlink message to change classifier attributes. More... | |
int | rtnl_cls_change (struct nl_sock *sk, struct rtnl_cls *cls, int flags) |
Change a classifier. More... | |
int | rtnl_cls_build_delete_request (struct rtnl_cls *cls, int flags, struct nl_msg **result) |
Build a netlink request message to delete a classifier. More... | |
int | rtnl_cls_delete (struct nl_sock *sk, struct rtnl_cls *cls, int flags) |
Delete a classifier. More... | |
Cache Management | |
int | rtnl_cls_alloc_cache (struct nl_sock *sk, int ifindex, uint32_t parent, struct nl_cache **result) |
Build a classifier cache including all classifiers attached to the specified class/qdisc on eht specified interface. More... | |