Home | History | Annotate | Download | only in drivers

Lines Matching refs:eth

842 	struct l2_ethhdr eth;
851 os_memset(&eth, 0, sizeof(eth));
852 os_memcpy(eth.h_dest, dest, ETH_ALEN);
853 os_memcpy(eth.h_source, drv->own_addr, ETH_ALEN);
854 eth.h_proto = host_to_be16(proto);
856 msg_len = 6 + sizeof(eth) + data_len;
861 os_memcpy(msg + 6, &eth, sizeof(eth));
862 os_memcpy(msg + 6 + sizeof(eth), data, data_len);