Home
last modified time | relevance | path

Searched refs:eth_hdr (Results 1 – 4 of 4) sorted by relevance

/samples/bpf/
Dparse_simple.c20 struct eth_hdr { struct
30 struct eth_hdr *eth = data; in handle_ingress() argument
Dtest_cgrp2_tc_kern.c16 struct eth_hdr { struct
45 struct eth_hdr *eth = data; in handle_egress()
Dtc_l2_redirect_kern.c34 struct eth_hdr { struct
63 struct eth_hdr *eth = data; in _l2_to_iptun_ingress_forward()
114 struct eth_hdr *eth = data; in _l2_to_iptun_ingress_redirect()
155 struct eth_hdr *eth = data; in _l2_to_ip6tun_ingress_redirect()
210 struct eth_hdr *eth = data; in _drop_non_tun_vip()
Dxdpsock_user.c757 struct ethhdr *eth_hdr = (struct ethhdr *)pkt_data; in gen_eth_hdr_data() local
760 memcpy(eth_hdr->h_dest, "\x3c\xfd\xfe\x9e\x7f\x71", ETH_ALEN); in gen_eth_hdr_data()
761 memcpy(eth_hdr->h_source, "\xec\xb1\xd7\x98\x3a\xc0", ETH_ALEN); in gen_eth_hdr_data()
762 eth_hdr->h_proto = htons(ETH_P_IP); in gen_eth_hdr_data()