Home | History | Annotate | Download | only in wpa_supplicant

Lines Matching full:len

40 			    const u8 *buf, size_t len);
55 const u8 *buf, size_t len)
59 struct l2_ethhdr *eth = os_malloc(sizeof(*eth) + len);
65 os_memcpy(eth + 1, buf, len);
66 ret = pcap_inject(l2->pcap, (u8 *) eth, len + sizeof(*eth));
70 return pcap_inject(l2->pcap, buf, len);
82 size_t len;
92 len = hdr.caplen;
95 len = hdr.caplen - sizeof(*ethhdr);
97 l2->rx_callback(l2->rx_callback_ctx, ethhdr->h_source, buf, len);
166 size_t len;
169 if (sysctl(mib, 6, NULL, &len, NULL, 0) < 0)
171 if ((buf = os_malloc(len)) == NULL)
173 if (sysctl(mib, 6, buf, &len, NULL, 0) < 0) {
177 for (p = buf; p < buf + len; p += ifm->ifm_msglen) {
191 if (p >= buf + len) {
202 const u8 *buf, size_t len),
244 int l2_packet_get_ip_addr(struct l2_packet_data *l2, char *buf, size_t len)
265 os_snprintf(buf, len, "%s",