Lines Matching refs:req
18 static int token_bucket_filter_fill_message(Link *link, QDisc *qdisc, sd_netlink_message *req) { in token_bucket_filter_fill_message() argument
25 assert(req); in token_bucket_filter_fill_message()
68 r = sd_netlink_message_open_container_union(req, TCA_OPTIONS, "tbf"); in token_bucket_filter_fill_message()
72 r = sd_netlink_message_append_data(req, TCA_TBF_PARMS, &opt, sizeof(opt)); in token_bucket_filter_fill_message()
76 r = sd_netlink_message_append_data(req, TCA_TBF_BURST, &tbf->burst, sizeof(tbf->burst)); in token_bucket_filter_fill_message()
81 r = sd_netlink_message_append_u64(req, TCA_TBF_RATE64, tbf->rate); in token_bucket_filter_fill_message()
86 r = sd_netlink_message_append_data(req, TCA_TBF_RTAB, rtab, sizeof(rtab)); in token_bucket_filter_fill_message()
92 r = sd_netlink_message_append_u64(req, TCA_TBF_PRATE64, tbf->peak_rate); in token_bucket_filter_fill_message()
97 r = sd_netlink_message_append_u32(req, TCA_TBF_PBURST, tbf->mtu); in token_bucket_filter_fill_message()
101 r = sd_netlink_message_append_data(req, TCA_TBF_PTAB, ptab, sizeof(ptab)); in token_bucket_filter_fill_message()
106 r = sd_netlink_message_close_container(req); in token_bucket_filter_fill_message()