libnl 3.7.0

Attribute Modifications

uint32_t rtnl_qdisc_hfsc_get_defcls (const struct rtnl_qdisc *qdisc)
 Return default class of HFSC qdisc. More...
 
int rtnl_qdisc_hfsc_set_defcls (struct rtnl_qdisc *qdisc, uint32_t defcls)
 Set default class of the hfsc qdisc to the specified value. More...
 
int rtnl_class_hfsc_get_rsc (const struct rtnl_class *class, struct tc_service_curve *tsc)
 
int rtnl_class_hfsc_set_rsc (struct rtnl_class *class, const struct tc_service_curve *tsc)
 
int rtnl_class_hfsc_get_fsc (const struct rtnl_class *class, struct tc_service_curve *tsc)
 
int rtnl_class_hfsc_set_fsc (struct rtnl_class *class, const struct tc_service_curve *tsc)
 
int rtnl_class_hfsc_get_usc (const struct rtnl_class *class, struct tc_service_curve *tsc)
 
int rtnl_class_hfsc_set_usc (struct rtnl_class *class, const struct tc_service_curve *tsc)
 

Detailed Description

Function Documentation

◆ rtnl_qdisc_hfsc_get_defcls()

uint32_t rtnl_qdisc_hfsc_get_defcls ( const struct rtnl_qdisc *  qdisc)

Return default class of HFSC qdisc.

Parameters
qdischfsc qdisc object

Returns the classid of the class where all unclassified traffic goes to.

Returns
classid or TC_H_UNSPEC if unspecified.

Definition at line 196 of file hfsc.c.

◆ rtnl_qdisc_hfsc_set_defcls()

int rtnl_qdisc_hfsc_set_defcls ( struct rtnl_qdisc *  qdisc,
uint32_t  defcls 
)

Set default class of the hfsc qdisc to the specified value.

Parameters
qdiscqdisc to change
defclsnew default class

Definition at line 212 of file hfsc.c.

◆ rtnl_class_hfsc_get_rsc()

int rtnl_class_hfsc_get_rsc ( const struct rtnl_class *  class,
struct tc_service_curve *  tsc 
)

Definition at line 226 of file hfsc.c.

◆ rtnl_class_hfsc_set_rsc()

int rtnl_class_hfsc_set_rsc ( struct rtnl_class *  class,
const struct tc_service_curve *  tsc 
)

Definition at line 240 of file hfsc.c.

◆ rtnl_class_hfsc_get_fsc()

int rtnl_class_hfsc_get_fsc ( const struct rtnl_class *  class,
struct tc_service_curve *  tsc 
)

Definition at line 254 of file hfsc.c.

◆ rtnl_class_hfsc_set_fsc()

int rtnl_class_hfsc_set_fsc ( struct rtnl_class *  class,
const struct tc_service_curve *  tsc 
)

Definition at line 268 of file hfsc.c.

◆ rtnl_class_hfsc_get_usc()

int rtnl_class_hfsc_get_usc ( const struct rtnl_class *  class,
struct tc_service_curve *  tsc 
)

Definition at line 282 of file hfsc.c.

◆ rtnl_class_hfsc_set_usc()

int rtnl_class_hfsc_set_usc ( struct rtnl_class *  class,
const struct tc_service_curve *  tsc 
)

Definition at line 296 of file hfsc.c.