Lines Matching refs:eth
63 struct ethhdr *eth = data; in icmp_check() local
67 if (data + sizeof(*eth) + sizeof(*iph) + ICMP_ECHO_LEN > data_end) in icmp_check()
70 if (eth->h_proto != bpf_htons(ETH_P_IP)) in icmp_check()
73 iph = data + sizeof(*eth); in icmp_check()
81 icmph = data + sizeof(*eth) + sizeof(*iph); in icmp_check()
95 struct ethhdr *eth = data; in xdping_client() local
109 iph = data + sizeof(*eth); in xdping_client()
110 icmph = data + sizeof(*eth) + sizeof(*iph); in xdping_client()
158 struct ethhdr *eth = data; in xdping_server() local
169 iph = data + sizeof(*eth); in xdping_server()
170 icmph = data + sizeof(*eth) + sizeof(*iph); in xdping_server()