Lines Matching refs:eth
391 struct eth_hdr *eth;
393 eth = data;
394 memcpy(tmp_mac, eth->eth_source, 6);
395 memcpy(eth->eth_source, eth->eth_dest, 6);
396 memcpy(eth->eth_dest, tmp_mac, 6);
778 struct eth_hdr *eth = data;
785 eth_proto = bpf_ntohs(eth->eth_proto);
797 struct eth_hdr *eth = data;
804 eth_proto = bpf_ntohs(eth->eth_proto);