Lines Matching refs:nlattr
795 static int get_dist_table(struct disttable **tbl, const struct nlattr *attr) in get_dist_table()
817 static void get_slot(struct netem_sched_data *q, const struct nlattr *attr) in get_slot()
839 static void get_correlation(struct netem_sched_data *q, const struct nlattr *attr) in get_correlation()
848 static void get_reorder(struct netem_sched_data *q, const struct nlattr *attr) in get_reorder()
856 static void get_corrupt(struct netem_sched_data *q, const struct nlattr *attr) in get_corrupt()
864 static void get_rate(struct netem_sched_data *q, const struct nlattr *attr) in get_rate()
878 static int get_loss_clg(struct netem_sched_data *q, const struct nlattr *attr) in get_loss_clg()
880 const struct nlattr *la; in get_loss_clg()
946 static int parse_attr(struct nlattr *tb[], int maxtype, struct nlattr *nla, in parse_attr()
961 memset(tb, 0, sizeof(struct nlattr *) * (maxtype + 1)); in parse_attr()
966 static int netem_change(struct Qdisc *sch, struct nlattr *opt, in netem_change()
970 struct nlattr *tb[TCA_NETEM_MAX + 1]; in netem_change()
1077 static int netem_init(struct Qdisc *sch, struct nlattr *opt, in netem_init()
1109 struct nlattr *nest; in dump_loss_model()
1159 struct nlattr *nla = (struct nlattr *) skb_tail_pointer(skb); in netem_dump()