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) |
| void | rtnl_cls_set_handle (struct rtnl_cls *f, uint32_t handle) |
| void | rtnl_cls_set_parent (struct rtnl_cls *f, uint32_t parent) |
| void | rtnl_cls_set_kind (struct rtnl_cls *f, const char *kind) |
| void | rtnl_cls_set_prio (struct rtnl_cls *cls, int prio) |
| int | rtnl_cls_get_prio (struct rtnl_cls *cls) |
| void | rtnl_cls_set_protocol (struct rtnl_cls *cls, int protocol) |
| int | rtnl_cls_get_protocol (struct rtnl_cls *cls) |
| struct nl_object_ops cls_obj_ops |
{
.oo_name = "route/cls",
.oo_size = sizeof(struct rtnl_cls),
.oo_free_data = cls_free_data,
.oo_clone = cls_clone,
.oo_dump[NL_DUMP_BRIEF] = cls_dump_brief,
.oo_dump[NL_DUMP_FULL] = cls_dump_full,
.oo_dump[NL_DUMP_STATS] = cls_dump_stats,
.oo_compare = tca_compare,
.oo_id_attrs = (TCA_ATTR_IFINDEX | TCA_ATTR_HANDLE),
}
1.6.1