Lines Matching refs:nlattr
235 struct nlattr *nest; in tcf_dump_walker()
308 struct nlattr *nest; in tcf_del_walker()
426 int tcf_idr_create(struct tc_action_net *tn, u32 index, struct nlattr *est, in tcf_idr_create()
483 struct nlattr *est, struct tc_action **a, in tcf_idr_create_from_flags()
655 static struct tc_action_ops *tc_lookup_action(struct nlattr *kind) in tc_lookup_action()
816 struct nlattr *nest; in tcf_action_dump_1()
856 struct nlattr *nest; in tcf_action_dump()
879 static struct tc_cookie *nla_memdup_cookie(struct nlattr **tb) in nla_memdup_cookie()
895 static u8 tcf_action_hw_stats_get(struct nlattr *hw_stats_attr) in tcf_action_hw_stats_get()
939 struct tc_action_ops *tc_action_load_ops(char *name, struct nlattr *nla, in tc_action_load_ops()
943 struct nlattr *tb[TCA_ACT_MAX + 1]; in tc_action_load_ops()
946 struct nlattr *kind; in tc_action_load_ops()
1001 struct nlattr *nla, struct nlattr *est, in tcf_action_init_1()
1009 struct nlattr *tb[TCA_ACT_MAX + 1]; in tcf_action_init_1()
1060 int tcf_action_init(struct net *net, struct tcf_proto *tp, struct nlattr *nla, in tcf_action_init()
1061 struct nlattr *est, char *name, int ovr, int bind, in tcf_action_init()
1066 struct nlattr *tb[TCA_ACT_MAX_PRIO + 1]; in tcf_action_init()
1194 struct nlattr *nest; in tca_get_fill()
1241 static struct tc_action *tcf_action_get_1(struct net *net, struct nlattr *nla, in tcf_action_get_1()
1245 struct nlattr *tb[TCA_ACT_MAX + 1]; in tcf_action_get_1()
1285 static int tca_action_flush(struct net *net, struct nlattr *nla, in tca_action_flush()
1294 struct nlattr *nest; in tca_action_flush()
1295 struct nlattr *tb[TCA_ACT_MAX + 1]; in tca_action_flush()
1297 struct nlattr *kind; in tca_action_flush()
1427 tca_action_gd(struct net *net, struct nlattr *nla, struct nlmsghdr *n, in tca_action_gd()
1431 struct nlattr *tb[TCA_ACT_MAX_PRIO + 1]; in tca_action_gd()
1500 static int tcf_action_add(struct net *net, struct nlattr *nla, in tcf_action_add()
1538 struct nlattr *tca[TCA_ROOT_MAX + 1]; in tc_ctl_action()
1585 static struct nlattr *find_dump_kind(struct nlattr **nla) in find_dump_kind()
1587 struct nlattr *tb1, *tb2[TCA_ACT_MAX + 1]; in find_dump_kind()
1588 struct nlattr *tb[TCA_ACT_MAX_PRIO + 1]; in find_dump_kind()
1589 struct nlattr *kind; in find_dump_kind()
1612 struct nlattr *nest; in tc_dump_action()
1616 struct nlattr *tb[TCA_ROOT_MAX + 1]; in tc_dump_action()
1617 struct nlattr *count_attr = NULL; in tc_dump_action()
1619 struct nlattr *kind = NULL; in tc_dump_action()