Lines Matching refs:cls
57 static void basic_free_data(struct rtnl_cls *cls) in basic_free_data() argument
59 struct rtnl_basic *basic = rtnl_cls_data(cls); in basic_free_data()
64 static int basic_msg_parser(struct rtnl_cls *cls) in basic_msg_parser() argument
67 struct rtnl_basic *basic = rtnl_cls_data(cls); in basic_msg_parser()
70 err = tca_parse(tb, TCA_BASIC_MAX, (struct rtnl_tca *) cls, basic_policy); in basic_msg_parser()
99 static void basic_dump_line(struct rtnl_cls *cls, struct nl_dump_params *p) in basic_dump_line() argument
101 struct rtnl_basic *b = rtnl_cls_data(cls); in basic_dump_line()
114 static void basic_dump_details(struct rtnl_cls *cls, struct nl_dump_params *p) in basic_dump_details() argument
116 struct rtnl_basic *b = rtnl_cls_data(cls); in basic_dump_details()
126 static int basic_get_opts(struct rtnl_cls *cls, struct nl_msg *msg) in basic_get_opts() argument
128 struct rtnl_basic *b = rtnl_cls_data(cls); in basic_get_opts()
146 int rtnl_basic_set_classid(struct rtnl_cls *cls, uint32_t classid) in rtnl_basic_set_classid() argument
148 struct rtnl_basic *b = rtnl_cls_data(cls); in rtnl_basic_set_classid()
156 uint32_t rtnl_basic_get_classid(struct rtnl_cls *cls) in rtnl_basic_get_classid() argument
158 struct rtnl_basic *b = rtnl_cls_data(cls); in rtnl_basic_get_classid()
163 int rtnl_basic_set_ematch(struct rtnl_cls *cls, struct rtnl_ematch_tree *tree) in rtnl_basic_set_ematch() argument
165 struct rtnl_basic *b = rtnl_cls_data(cls); in rtnl_basic_set_ematch()
180 struct rtnl_ematch_tree *rtnl_basic_get_ematch(struct rtnl_cls *cls) in rtnl_basic_get_ematch() argument
182 struct rtnl_basic *b = rtnl_cls_data(cls); in rtnl_basic_get_ematch()