Home | History | Annotate | Download | only in wpa_supplicant

Lines Matching refs:hdr

100 		struct nlmsghdr hdr;
108 req.hdr.nlmsg_len = NLMSG_LENGTH(sizeof(struct ifinfomsg));
109 req.hdr.nlmsg_type = RTM_SETLINK;
110 req.hdr.nlmsg_flags = NLM_F_REQUEST;
111 req.hdr.nlmsg_seq = ++nl_seq;
112 req.hdr.nlmsg_pid = 0;
122 ((char *) &req + NLMSG_ALIGN(req.hdr.nlmsg_len));
126 req.hdr.nlmsg_len = NLMSG_ALIGN(req.hdr.nlmsg_len) +
131 ((char *) &req + NLMSG_ALIGN(req.hdr.nlmsg_len));
135 req.hdr.nlmsg_len = NLMSG_ALIGN(req.hdr.nlmsg_len) +
142 ret = send(drv->event_sock, &req, req.hdr.nlmsg_len, 0);
2259 struct hostapd_ioctl_hw_modes_hdr *hdr;
2263 hdr = (struct hostapd_ioctl_hw_modes_hdr *) pos;
2264 pos = (u8 *) (hdr + 1);
2265 clen = hdr->num_channels * sizeof(struct wpa_channel_data);
2266 rlen = hdr->num_rates * sizeof(struct wpa_rate_data);
2269 switch (hdr->mode) {
2282 "get_hw_features data", hdr->mode);
2287 "get_hw_features data", hdr->mode);
2292 feature->num_channels = hdr->num_channels;
2293 feature->num_rates = hdr->num_rates;