Lines Matching refs:eth_hdr
221 struct eth_hdr { struct
229 __u64 off = sizeof(struct eth_hdr); in calc_offset() argument
293 struct eth_hdr *new_eth; in encap_v6()
294 struct eth_hdr *old_eth; in encap_v6()
305 ip6h = data + sizeof(struct eth_hdr); in encap_v6()
338 struct eth_hdr *new_eth; in encap_v4()
339 struct eth_hdr *old_eth; in encap_v4()
353 iph = data + sizeof(struct eth_hdr); in encap_v4()
388 struct eth_hdr *new_eth; in decap_v6()
389 struct eth_hdr *old_eth; in decap_v6()
409 struct eth_hdr *new_eth; in decap_v4()
410 struct eth_hdr *old_eth; in decap_v4()
428 struct eth_hdr *eth; in swap_mac_and_send()
448 if (data + sizeof(struct eth_hdr) in send_icmp_reply()
451 off += sizeof(struct eth_hdr); in send_icmp_reply()
478 if (data + sizeof(struct eth_hdr) in send_icmp6_reply()
481 off += sizeof(struct eth_hdr); in send_icmp6_reply()
710 struct eth_hdr *eth = data; in process_packet()
816 struct eth_hdr *eth = data; in balancer_ingress()
820 nh_off = sizeof(struct eth_hdr); in balancer_ingress()