Variables | |
struct nl_object_ops | cls_obj_ops |
Allocation/Freeing | |
struct rtnl_cls * | rtnl_cls_alloc (void) |
void | rtnl_cls_put (struct rtnl_cls *cls) |
Attributes | |
void | rtnl_cls_set_ifindex (struct rtnl_cls *f, int ifindex) |
int | rtnl_cls_get_ifindex (struct rtnl_cls *cls) |
void | rtnl_cls_set_handle (struct rtnl_cls *f, uint32_t handle) |
void | rtnl_cls_set_parent (struct rtnl_cls *f, uint32_t parent) |
uint32_t | rtnl_cls_get_parent (struct rtnl_cls *cls) |
int | rtnl_cls_set_kind (struct rtnl_cls *cls, const char *kind) |
struct rtnl_cls_ops * | rtnl_cls_get_ops (struct rtnl_cls *cls) |
void | rtnl_cls_set_prio (struct rtnl_cls *cls, uint16_t prio) |
uint16_t | rtnl_cls_get_prio (struct rtnl_cls *cls) |
void | rtnl_cls_set_protocol (struct rtnl_cls *cls, uint16_t protocol) |
uint16_t | rtnl_cls_get_protocol (struct rtnl_cls *cls) |
void * | rtnl_cls_data (struct rtnl_cls *cls) |
References cls_obj_ops, and nl_object_alloc().
Referenced by nlt_alloc_cls(), rtnl_class_foreach_cls(), and rtnl_qdisc_foreach_cls().
References __rtnl_cls_lookup_ops(), BUG, rtnl_cls::c_ops, rtnl_cls_ops::co_size, nl_data_alloc(), nl_data_get(), and NULL.
Referenced by rtnl_basic_get_classid(), rtnl_basic_get_ematch(), rtnl_basic_set_classid(), rtnl_basic_set_ematch(), rtnl_cgroup_get_ematch(), rtnl_cgroup_set_ematch(), rtnl_cls_set_kind(), rtnl_fw_set_classid(), rtnl_u32_add_key(), rtnl_u32_set_classid(), and rtnl_u32_set_flags().
struct rtnl_cls_ops* rtnl_cls_get_ops | ( | struct rtnl_cls * | cls | ) |
References rtnl_cls::c_prio.
References rtnl_cls::c_protocol, and ETH_P_ALL.
References nl_object_put().
Referenced by rtnl_class_foreach_cls(), and rtnl_qdisc_foreach_cls().
References tca_set_handle().
Referenced by parse_handle().
References tca_set_ifindex().
Referenced by parse_dev(), rtnl_class_foreach_cls(), and rtnl_qdisc_foreach_cls().
References NLE_EXIST, rtnl_cls_data(), TCA_ATTR_KIND, and tca_set_kind().
Referenced by main().
References tca_set_parent().
Referenced by parse_parent(), rtnl_class_foreach_cls(), and rtnl_qdisc_foreach_cls().
References rtnl_cls::c_prio.
Referenced by parse_prio().
References rtnl_cls::c_protocol.
Referenced by parse_proto().
struct nl_object_ops cls_obj_ops |
Referenced by rtnl_cls_alloc().