Home | History | Annotate | Download | only in drivers

Lines Matching refs:req

147 	} req;
152 os_memset(&req, 0, sizeof(req));
154 req.hdr.nlmsg_len = NLMSG_LENGTH(sizeof(struct ifinfomsg));
155 req.hdr.nlmsg_type = RTM_SETLINK;
156 req.hdr.nlmsg_flags = NLM_F_REQUEST;
157 req.hdr.nlmsg_seq = ++nl_seq;
158 req.hdr.nlmsg_pid = 0;
160 req.ifinfo.ifi_family = AF_UNSPEC;
161 req.ifinfo.ifi_type = 0;
162 req.ifinfo.ifi_index = ifindex;
163 req.ifinfo.ifi_flags = 0;
164 req.ifinfo.ifi_change = 0;
168 ((char *) &req + NLMSG_ALIGN(req.hdr.nlmsg_len)),
173 req.hdr.nlmsg_len = NLMSG_ALIGN(req.hdr.nlmsg_len) +
178 ((char *) &req + NLMSG_ALIGN(req.hdr.nlmsg_len)),
183 req.hdr.nlmsg_len = NLMSG_ALIGN(req.hdr.nlmsg_len) +
190 ret = send(netlink->sock, &req, req.hdr.nlmsg_len, 0);