Lines Matching refs:req
18 static int hierarchy_token_bucket_fill_message(Link *link, QDisc *qdisc, sd_netlink_message *req) { in hierarchy_token_bucket_fill_message() argument
24 assert(req); in hierarchy_token_bucket_fill_message()
34 r = sd_netlink_message_open_container_union(req, TCA_OPTIONS, "htb"); in hierarchy_token_bucket_fill_message()
38 r = sd_netlink_message_append_data(req, TCA_HTB_INIT, &opt, sizeof(opt)); in hierarchy_token_bucket_fill_message()
42 r = sd_netlink_message_close_container(req); in hierarchy_token_bucket_fill_message()
173 …nt hierarchy_token_bucket_class_fill_message(Link *link, TClass *tclass, sd_netlink_message *req) { in hierarchy_token_bucket_class_fill_message() argument
180 assert(req); in hierarchy_token_bucket_class_fill_message()
209 r = sd_netlink_message_open_container_union(req, TCA_OPTIONS, "htb"); in hierarchy_token_bucket_class_fill_message()
213 r = sd_netlink_message_append_data(req, TCA_HTB_PARMS, &opt, sizeof(opt)); in hierarchy_token_bucket_class_fill_message()
218 r = sd_netlink_message_append_u64(req, TCA_HTB_RATE64, htb->rate); in hierarchy_token_bucket_class_fill_message()
224 r = sd_netlink_message_append_u64(req, TCA_HTB_CEIL64, htb->ceil_rate); in hierarchy_token_bucket_class_fill_message()
229 r = sd_netlink_message_append_data(req, TCA_HTB_RTAB, rtab, sizeof(rtab)); in hierarchy_token_bucket_class_fill_message()
233 r = sd_netlink_message_append_data(req, TCA_HTB_CTAB, ctab, sizeof(ctab)); in hierarchy_token_bucket_class_fill_message()
237 r = sd_netlink_message_close_container(req); in hierarchy_token_bucket_class_fill_message()