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

Functions

Allocation/Freeing
struct rtnl_classrtnl_class_alloc (void)
 
void rtnl_class_put (struct rtnl_class *class)
 
Leaf Qdisc
struct rtnl_qdiscrtnl_class_leaf_qdisc (struct rtnl_class *class, struct nl_cache *cache)
 Lookup the leaf qdisc of a class. More...
 
Iterators
void rtnl_class_foreach_child (struct rtnl_class *class, struct nl_cache *cache, void(*cb)(struct nl_object *, void *), void *arg)
 Call a callback for each child of a class. More...
 
void rtnl_class_foreach_cls (struct rtnl_class *class, struct nl_cache *cache, void(*cb)(struct nl_object *, void *), void *arg)
 Call a callback for each classifier attached to the class. More...
 
Attributes
void rtnl_class_set_ifindex (struct rtnl_class *class, int ifindex)
 
int rtnl_class_get_ifindex (struct rtnl_class *class)
 
void rtnl_class_set_handle (struct rtnl_class *class, uint32_t handle)
 
uint32_t rtnl_class_get_handle (struct rtnl_class *class)
 
void rtnl_class_set_parent (struct rtnl_class *class, uint32_t parent)
 
uint32_t rtnl_class_get_parent (struct rtnl_class *class)
 
void rtnl_class_set_kind (struct rtnl_class *class, const char *name)
 
char * rtnl_class_get_kind (struct rtnl_class *class)
 
uint64_t rtnl_class_get_stat (struct rtnl_class *class, enum rtnl_tc_stats_id id)
 

Variables

struct nl_object_ops class_obj_ops