netfilter
firewalling, NAT, and packet mangling for linux
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Modules Pages
cls.c File Reference
Include dependency graph for cls.c:

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...