#include <netlink-local.h>
Macros | |
#define | TCA_ATTR_HANDLE 0x001 |
#define | TCA_ATTR_PARENT 0x002 |
#define | TCA_ATTR_IFINDEX 0x004 |
#define | TCA_ATTR_KIND 0x008 |
#define | TCA_ATTR_FAMILY 0x010 |
#define | TCA_ATTR_INFO 0x020 |
#define | TCA_ATTR_OPTS 0x040 |
#define | TCA_ATTR_STATS 0x080 |
#define | TCA_ATTR_XSTATS 0x100 |
#define | TCA_ATTR_MAX TCA_ATTR_XSTATS |
Functions | |
int | tca_parse (struct nlattr **, int, struct rtnl_tca *, struct nla_policy *) |
int | tca_msg_parser (struct nlmsghdr *, struct rtnl_tca *) |
void | tca_free_data (struct rtnl_tca *) |
int | tca_clone (struct rtnl_tca *, struct rtnl_tca *) |
void | tca_dump_line (struct rtnl_tca *, const char *, struct nl_dump_params *) |
void | tca_dump_details (struct rtnl_tca *, struct nl_dump_params *) |
void | tca_dump_stats (struct rtnl_tca *, struct nl_dump_params *) |
int | tca_compare (struct nl_object *, struct nl_object *, uint32_t, int) |
void | tca_set_ifindex (struct rtnl_tca *, int) |
int | tca_get_ifindex (struct rtnl_tca *) |
void | tca_set_handle (struct rtnl_tca *, uint32_t) |
uint32_t | tca_get_handle (struct rtnl_tca *) |
void | tca_set_parent (struct rtnl_tca *, uint32_t) |
uint32_t | tca_get_parent (struct rtnl_tca *) |
void | tca_set_kind (struct rtnl_tca *, const char *) |
char * | tca_get_kind (struct rtnl_tca *) |
uint64_t | tca_get_stat (struct rtnl_tca *, int) |
int | tca_build_msg (struct rtnl_tca *, int, int, struct nl_msg **) |
#define TCA_ATTR_FAMILY 0x010 |
#define TCA_ATTR_HANDLE 0x001 |
#define TCA_ATTR_IFINDEX 0x004 |
Referenced by rtnl_class_build_delete_request(), and rtnl_qdisc_build_delete_request().
#define TCA_ATTR_INFO 0x020 |
#define TCA_ATTR_KIND 0x008 |
Referenced by rtnl_cls_set_kind().
#define TCA_ATTR_MAX TCA_ATTR_XSTATS |
#define TCA_ATTR_OPTS 0x040 |
#define TCA_ATTR_PARENT 0x002 |
Referenced by rtnl_class_build_delete_request(), and rtnl_qdisc_build_delete_request().
#define TCA_ATTR_STATS 0x080 |
#define TCA_ATTR_XSTATS 0x100 |
void tca_dump_details | ( | struct rtnl_tca * | , |
struct nl_dump_params * | |||
) |
void tca_dump_line | ( | struct rtnl_tca * | , |
const char * | , | ||
struct nl_dump_params * | |||
) |
void tca_dump_stats | ( | struct rtnl_tca * | , |
struct nl_dump_params * | |||
) |
Referenced by rtnl_class_get_handle(), and rtnl_qdisc_get_handle().
Referenced by rtnl_class_get_ifindex(), and rtnl_qdisc_get_ifindex().
Referenced by rtnl_class_get_kind(), and rtnl_qdisc_get_kind().
Referenced by rtnl_class_get_parent(), and rtnl_qdisc_get_parent().
Referenced by rtnl_class_get_stat(), and rtnl_qdisc_get_stat().
Referenced by rtnl_class_set_handle(), rtnl_cls_set_handle(), rtnl_qdisc_set_handle(), and rtnl_u32_set_handle().
Referenced by rtnl_class_set_ifindex(), rtnl_cls_set_ifindex(), and rtnl_qdisc_set_ifindex().
Referenced by rtnl_class_set_kind(), rtnl_cls_set_kind(), and rtnl_qdisc_set_kind().
Referenced by rtnl_class_set_parent(), rtnl_cls_set_parent(), and rtnl_qdisc_set_parent().