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

Functions

QDisc Addition
int rtnl_qdisc_build_add_request (struct rtnl_qdisc *qdisc, int flags, struct nl_msg **result)
 Build a netlink message to add a new qdisc. More...
 
int rtnl_qdisc_add (struct nl_sock *sk, struct rtnl_qdisc *qdisc, int flags)
 Add a new qdisc. More...
 
QDisc Modification
int rtnl_qdisc_build_change_request (struct rtnl_qdisc *qdisc, struct rtnl_qdisc *new, struct nl_msg **result)
 Build a netlink message to change attributes of a existing qdisc. More...
 
int rtnl_qdisc_change (struct nl_sock *sk, struct rtnl_qdisc *qdisc, struct rtnl_qdisc *new)
 Change attributes of a qdisc. More...
 
QDisc Deletion
int rtnl_qdisc_build_delete_request (struct rtnl_qdisc *qdisc, struct nl_msg **result)
 Build a netlink request message to delete a qdisc. More...
 
int rtnl_qdisc_delete (struct nl_sock *sk, struct rtnl_qdisc *qdisc)
 Delete a qdisc. More...
 
Qdisc Cache Management
int rtnl_qdisc_alloc_cache (struct nl_sock *sk, struct nl_cache **result)
 Build a qdisc cache including all qdiscs currently configured in the kernel. More...
 
struct rtnl_qdiscrtnl_qdisc_get_by_parent (struct nl_cache *cache, int ifindex, uint32_t parent)
 Look up qdisc by its parent in the provided cache. More...
 
struct rtnl_qdiscrtnl_qdisc_get (struct nl_cache *cache, int ifindex, uint32_t handle)
 Look up qdisc by its handle in the provided cache. More...