Lines Matching refs:req
61 struct req in __check_native() struct
69 } req; in __check_native() local
71 req.nlh.nlmsg_len = sizeof (req); in __check_native()
72 req.nlh.nlmsg_type = RTM_GETLINK; in __check_native()
73 req.nlh.nlmsg_flags = NLM_F_ROOT | NLM_F_MATCH | NLM_F_REQUEST; in __check_native()
74 req.nlh.nlmsg_pid = 0; in __check_native()
75 req.nlh.nlmsg_seq = time_now (); in __check_native()
76 req.g.rtgen_family = AF_UNSPEC; in __check_native()
78 assert (sizeof (req) - offsetof (struct req, pad) == 3); in __check_native()
79 memset (req.pad, '\0', sizeof (req.pad)); in __check_native()
106 if (TEMP_FAILURE_RETRY (__sendto (fd, (void *) &req, sizeof (req), 0, in __check_native()
139 || nlmh->nlmsg_seq != req.nlh.nlmsg_seq) in __check_native()