Lines Matching refs:nlattr
513 struct nlattr *nest; in tcf_dump_walker()
590 struct nlattr *nest; in tcf_del_walker()
733 int tcf_idr_create(struct tc_action_net *tn, u32 index, struct nlattr *est, in tcf_idr_create()
792 struct nlattr *est, struct tc_action **a, in tcf_idr_create_from_flags()
1053 static struct tc_action_ops *tc_lookup_action(struct nlattr *kind) in tc_lookup_action()
1187 struct nlattr *nest; in tcf_action_dump_1()
1232 struct nlattr *nest; in tcf_action_dump()
1255 static struct tc_cookie *nla_memdup_cookie(struct nlattr **tb) in nla_memdup_cookie()
1271 static u8 tcf_action_hw_stats_get(struct nlattr *hw_stats_attr) in tcf_action_hw_stats_get()
1317 struct tc_action_ops *tc_action_load_ops(struct nlattr *nla, bool police, in tc_action_load_ops()
1321 struct nlattr *tb[TCA_ACT_MAX + 1]; in tc_action_load_ops()
1324 struct nlattr *kind; in tc_action_load_ops()
1379 struct nlattr *nla, struct nlattr *est, in tcf_action_init_1()
1387 struct nlattr *tb[TCA_ACT_MAX + 1]; in tcf_action_init_1()
1447 int tcf_action_init(struct net *net, struct tcf_proto *tp, struct nlattr *nla, in tcf_action_init()
1448 struct nlattr *est, struct tc_action *actions[], in tcf_action_init()
1454 struct nlattr *tb[TCA_ACT_MAX_PRIO + 1]; in tcf_action_init()
1623 struct nlattr *nest; in tca_get_fill()
1675 static struct tc_action *tcf_action_get_1(struct net *net, struct nlattr *nla, in tcf_action_get_1()
1679 struct nlattr *tb[TCA_ACT_MAX + 1]; in tcf_action_get_1()
1719 static int tca_action_flush(struct net *net, struct nlattr *nla, in tca_action_flush()
1728 struct nlattr *nest; in tca_action_flush()
1729 struct nlattr *tb[TCA_ACT_MAX + 1]; in tca_action_flush()
1731 struct nlattr *kind; in tca_action_flush()
1947 tca_action_gd(struct net *net, struct nlattr *nla, struct nlmsghdr *n, in tca_action_gd()
1951 struct nlattr *tb[TCA_ACT_MAX_PRIO + 1]; in tca_action_gd()
2016 static int tcf_action_add(struct net *net, struct nlattr *nla, in tcf_action_add()
2055 struct nlattr *tca[TCA_ROOT_MAX + 1]; in tc_ctl_action()
2103 static struct nlattr *find_dump_kind(struct nlattr **nla) in find_dump_kind()
2105 struct nlattr *tb1, *tb2[TCA_ACT_MAX + 1]; in find_dump_kind()
2106 struct nlattr *tb[TCA_ACT_MAX_PRIO + 1]; in find_dump_kind()
2107 struct nlattr *kind; in find_dump_kind()
2130 struct nlattr *nest; in tc_dump_action()
2134 struct nlattr *tb[TCA_ROOT_MAX + 1]; in tc_dump_action()
2135 struct nlattr *count_attr = NULL; in tc_dump_action()
2137 struct nlattr *kind = NULL; in tc_dump_action()