Lines Matching refs:nlattr
281 struct nlattr *nest; in tcf_dump_walker()
355 struct nlattr *nest; in tcf_del_walker()
468 int tcf_idr_create(struct tc_action_net *tn, u32 index, struct nlattr *est, in tcf_idr_create()
525 struct nlattr *est, struct tc_action **a, in tcf_idr_create_from_flags()
697 static struct tc_action_ops *tc_lookup_action(struct nlattr *kind) in tc_lookup_action()
821 struct nlattr *nest; in tcf_action_dump_1()
861 struct nlattr *nest; in tcf_action_dump()
884 static struct tc_cookie *nla_memdup_cookie(struct nlattr **tb) in nla_memdup_cookie()
900 static u8 tcf_action_hw_stats_get(struct nlattr *hw_stats_attr) in tcf_action_hw_stats_get()
944 struct tc_action_ops *tc_action_load_ops(struct nlattr *nla, bool police, in tc_action_load_ops()
948 struct nlattr *tb[TCA_ACT_MAX + 1]; in tc_action_load_ops()
951 struct nlattr *kind; in tc_action_load_ops()
1006 struct nlattr *nla, struct nlattr *est, in tcf_action_init_1()
1013 struct nlattr *tb[TCA_ACT_MAX + 1]; in tcf_action_init_1()
1064 int tcf_action_init(struct net *net, struct tcf_proto *tp, struct nlattr *nla, in tcf_action_init()
1065 struct nlattr *est, struct tc_action *actions[], in tcf_action_init()
1070 struct nlattr *tb[TCA_ACT_MAX_PRIO + 1]; in tcf_action_init()
1199 struct nlattr *nest; in tca_get_fill()
1246 static struct tc_action *tcf_action_get_1(struct net *net, struct nlattr *nla, in tcf_action_get_1()
1250 struct nlattr *tb[TCA_ACT_MAX + 1]; in tcf_action_get_1()
1290 static int tca_action_flush(struct net *net, struct nlattr *nla, in tca_action_flush()
1299 struct nlattr *nest; in tca_action_flush()
1300 struct nlattr *tb[TCA_ACT_MAX + 1]; in tca_action_flush()
1302 struct nlattr *kind; in tca_action_flush()
1428 tca_action_gd(struct net *net, struct nlattr *nla, struct nlmsghdr *n, in tca_action_gd()
1432 struct nlattr *tb[TCA_ACT_MAX_PRIO + 1]; in tca_action_gd()
1497 static int tcf_action_add(struct net *net, struct nlattr *nla, in tcf_action_add()
1536 struct nlattr *tca[TCA_ROOT_MAX + 1]; in tc_ctl_action()
1584 static struct nlattr *find_dump_kind(struct nlattr **nla) in find_dump_kind()
1586 struct nlattr *tb1, *tb2[TCA_ACT_MAX + 1]; in find_dump_kind()
1587 struct nlattr *tb[TCA_ACT_MAX_PRIO + 1]; in find_dump_kind()
1588 struct nlattr *kind; in find_dump_kind()
1611 struct nlattr *nest; in tc_dump_action()
1615 struct nlattr *tb[TCA_ROOT_MAX + 1]; in tc_dump_action()
1616 struct nlattr *count_attr = NULL; in tc_dump_action()
1618 struct nlattr *kind = NULL; in tc_dump_action()