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

Classes
[Traffic Control]


Modules

 Class Based Queueing (CBQ)
 Differentiated Services Marker (DSMARK)
 Hierachical Token Bucket (HTB)

Classes

struct  rtnl_class_ops

Class Addition/Modification

static struct nl_msg * class_build (struct rtnl_class *class, int type, int flags)
int rtnl_class_add (struct nl_handle *handle, struct rtnl_class *class, int flags)
struct nl_msg * rtnl_class_build_add_request (struct rtnl_class *class, int flags)

General

struct rtnl_class * rtnl_class_alloc (void)
struct nl_cache * rtnl_class_alloc_cache (struct nl_handle *handle, int ifindex)
void rtnl_class_free (struct rtnl_class *class)
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)

Attribute Modifications

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 Access

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

Class Module API

int rtnl_class_register (struct rtnl_class_ops *ops)
int rtnl_class_unregister (struct rtnl_class_ops *ops)

Functions

static int class_dump_brief (struct nl_object *obj, struct nl_dump_params *p)
static int class_dump_full (struct nl_object *obj, struct nl_dump_params *p)
static int class_dump_stats (struct nl_object *obj, struct nl_dump_params *p)
static void __exit class_exit (void)
static int class_filter (struct nl_object *obj, struct nl_object *filter)
static void class_free_data (struct nl_object *obj)
static void __init class_init (void)
static struct rtnl_class_opsclass_lookup_ops (const char *kind)
static int class_msg_parser (struct sockaddr_nl *who, struct nlmsghdr *n, void *arg)
static struct rtnl_class_opsclass_ops (struct rtnl_class *class)
static int class_request_update (struct nl_cache *cache, struct nl_handle *handle)

Variables

static struct rtnl_class_opsclass_ops_list
static struct nl_cache_ops rtnl_class_ops


Generated by  Doxygen 1.6.0   Back to index