Lines Matching refs:nlattr
87 struct nlattr *nest; in tcf_dump_walker()
135 struct nlattr *nest; in tcf_del_walker()
236 void tcf_hash_cleanup(struct tc_action *a, struct nlattr *est) in tcf_hash_cleanup()
246 int tcf_hash_create(u32 index, struct nlattr *est, struct tc_action *a, in tcf_hash_create()
387 static struct tc_action_ops *tc_lookup_action(struct nlattr *kind) in tc_lookup_action()
457 struct nlattr *nest; in tcf_action_dump_1()
483 struct nlattr *nest; in tcf_action_dump()
504 struct tc_action *tcf_action_init_1(struct net *net, struct nlattr *nla, in tcf_action_init_1()
505 struct nlattr *est, char *name, int ovr, in tcf_action_init_1()
511 struct nlattr *tb[TCA_ACT_MAX + 1]; in tcf_action_init_1()
512 struct nlattr *kind; in tcf_action_init_1()
587 int tcf_action_init(struct net *net, struct nlattr *nla, in tcf_action_init()
588 struct nlattr *est, char *name, int ovr, in tcf_action_init()
591 struct nlattr *tb[TCA_ACT_MAX_PRIO + 1]; in tcf_action_init()
666 struct nlattr *nest; in tca_get_fill()
725 tcf_action_get_1(struct nlattr *nla, struct nlmsghdr *n, u32 portid) in tcf_action_get_1()
727 struct nlattr *tb[TCA_ACT_MAX + 1]; in tcf_action_get_1()
776 static int tca_action_flush(struct net *net, struct nlattr *nla, in tca_action_flush()
784 struct nlattr *nest; in tca_action_flush()
785 struct nlattr *tb[TCA_ACT_MAX + 1]; in tca_action_flush()
786 struct nlattr *kind; in tca_action_flush()
880 tca_action_gd(struct net *net, struct nlattr *nla, struct nlmsghdr *n, in tca_action_gd()
884 struct nlattr *tb[TCA_ACT_MAX_PRIO + 1]; in tca_action_gd()
947 tcf_action_add(struct net *net, struct nlattr *nla, struct nlmsghdr *n, in tcf_action_add()
969 struct nlattr *tca[TCA_ACT_MAX + 1]; in tc_ctl_action()
1016 static struct nlattr *
1019 struct nlattr *tb1, *tb2[TCA_ACT_MAX + 1]; in find_dump_kind()
1020 struct nlattr *tb[TCA_ACT_MAX_PRIO + 1]; in find_dump_kind()
1021 struct nlattr *nla[TCAA_MAX + 1]; in find_dump_kind()
1022 struct nlattr *kind; in find_dump_kind()
1049 struct nlattr *nest; in tc_dump_action()
1054 struct nlattr *kind = find_dump_kind(cb->nlh); in tc_dump_action()