Logo Search packages:      
Sourcecode: libnl2 version File versions  Download package

Class Object
[Queueing Classes]


Allocation/Freeing

struct rtnl_class * rtnl_class_alloc (void)
void rtnl_class_put (struct rtnl_class *class)

Iterators

void rtnl_class_foreach_child (struct rtnl_class *class, struct nl_cache *cache, void(*cb)(struct nl_object *, void *), void *arg)
void rtnl_class_foreach_cls (struct rtnl_class *class, struct nl_cache *cache, void(*cb)(struct nl_object *, void *), void *arg)

Attributes

uint32_t rtnl_class_get_handle (struct rtnl_class *class)
int rtnl_class_get_ifindex (struct rtnl_class *class)
char * rtnl_class_get_kind (struct rtnl_class *class)
uint32_t rtnl_class_get_parent (struct rtnl_class *class)
uint64_t rtnl_class_get_stat (struct rtnl_class *class, enum rtnl_tc_stats_id id)
void rtnl_class_set_handle (struct rtnl_class *class, uint32_t handle)
void rtnl_class_set_ifindex (struct rtnl_class *class, int ifindex)
void rtnl_class_set_kind (struct rtnl_class *class, const char *name)
void rtnl_class_set_parent (struct rtnl_class *class, uint32_t parent)

Leaf Qdisc

struct rtnl_qdisc * rtnl_class_leaf_qdisc (struct rtnl_class *class, struct nl_cache *cache)

Functions

static int class_clone (struct nl_object *_dst, struct nl_object *_src)
static void class_dump_details (struct nl_object *obj, struct nl_dump_params *p)
static void class_dump_line (struct nl_object *obj, struct nl_dump_params *p)
static void class_dump_stats (struct nl_object *obj, struct nl_dump_params *p)
static void class_free_data (struct nl_object *obj)

Variables

struct nl_object_ops class_obj_ops


Generated by  Doxygen 1.6.0   Back to index