Lines Matching full:len
42 const u8 *buf, size_t len);
84 const u8 *buf, size_t len)
94 ret = pcap_sendpacket(l2->pcap, buf, len);
96 ret = eth_send(l2->eth, buf, len);
99 size_t mlen = sizeof(*eth) + len;
107 os_memcpy(eth + 1, buf, len);
131 size_t len;
141 len = hdr.caplen;
144 len = hdr.caplen - sizeof(*ethhdr);
146 l2->rx_callback(l2->rx_callback_ctx, ethhdr->h_source, buf, len);
158 size_t len;
166 len = hdr->caplen;
169 len = hdr->caplen - sizeof(*ethhdr);
171 l2->rx_callback(l2->rx_callback_ctx, ethhdr->h_source, buf, len);
287 const u8 *buf, size_t len),
338 int l2_packet_get_ip_addr(struct l2_packet_data *l2, char *buf, size_t len)
359 os_snprintf(buf, len, "%s",