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

Queueing Discipline Object
[Queueing Disciplines]


Allocation/Freeing

struct rtnl_qdisc * rtnl_qdisc_alloc (void)
void rtnl_qdisc_put (struct rtnl_qdisc *qdisc)

Iterators

void rtnl_qdisc_foreach_child (struct rtnl_qdisc *qdisc, struct nl_cache *cache, void(*cb)(struct nl_object *, void *), void *arg)
void rtnl_qdisc_foreach_cls (struct rtnl_qdisc *qdisc, struct nl_cache *cache, void(*cb)(struct nl_object *, void *), void *arg)

Attributes

uint32_t rtnl_qdisc_get_handle (struct rtnl_qdisc *qdisc)
int rtnl_qdisc_get_ifindex (struct rtnl_qdisc *qdisc)
char * rtnl_qdisc_get_kind (struct rtnl_qdisc *qdisc)
uint32_t rtnl_qdisc_get_parent (struct rtnl_qdisc *qdisc)
uint64_t rtnl_qdisc_get_stat (struct rtnl_qdisc *qdisc, enum rtnl_tc_stats_id id)
void rtnl_qdisc_set_handle (struct rtnl_qdisc *qdisc, uint32_t handle)
void rtnl_qdisc_set_ifindex (struct rtnl_qdisc *qdisc, int ifindex)
void rtnl_qdisc_set_kind (struct rtnl_qdisc *qdisc, const char *name)
void rtnl_qdisc_set_parent (struct rtnl_qdisc *qdisc, uint32_t parent)

Qdisc Specific Options

struct nl_msg * rtnl_qdisc_get_opts (struct rtnl_qdisc *qdisc)

Functions

static int qdisc_clone (struct nl_object *_dst, struct nl_object *_src)
static void qdisc_dump_details (struct nl_object *arg, struct nl_dump_params *p)
static void qdisc_dump_line (struct nl_object *obj, struct nl_dump_params *p)
static void qdisc_dump_stats (struct nl_object *arg, struct nl_dump_params *p)
static void qdisc_free_data (struct nl_object *obj)

Variables

struct nl_object_ops qdisc_obj_ops


Generated by  Doxygen 1.6.0   Back to index