Lines Matching refs:req
96 static int sendAndProcessNetlinkResponse(const void* req, int len) { in sendAndProcessNetlinkResponse() argument
124 rv = send(fd, req, len, 0); in sendAndProcessNetlinkResponse()
178 } req = { in doTcQdiscClsact() local
181 .nlmsg_len = sizeof(req), in doTcQdiscClsact()
204 return sendAndProcessNetlinkResponse(&req, sizeof(req)); in doTcQdiscClsact()
291 } req = { in tcFilterAddDevBpf() local
294 .nlmsg_len = sizeof(req), in tcFilterAddDevBpf()
311 .nla_len = sizeof(req.kind), in tcFilterAddDevBpf()
320 .nla_len = sizeof(req.options), in tcFilterAddDevBpf()
327 .nla_len = sizeof(req.options.fd), in tcFilterAddDevBpf()
336 .nla_len = sizeof(req.options.name), in tcFilterAddDevBpf()
347 .nla_len = sizeof(req.options.flags), in tcFilterAddDevBpf()
356 strncpy(req.options.name.str, name, sizeof(req.options.name.str)); in tcFilterAddDevBpf()
358 return sendAndProcessNetlinkResponse(&req, sizeof(req)); in tcFilterAddDevBpf()
366 } req = { in tcFilterDelDev() local
369 .nlmsg_len = sizeof(req), in tcFilterDelDev()
384 return sendAndProcessNetlinkResponse(&req, sizeof(req)); in tcFilterDelDev()