Searched refs:ETH_ALEN (Results 1 – 7 of 7) sorted by relevance
| /samples/bpf/ |
| A D | parse_simple.c | 21 unsigned char h_dest[ETH_ALEN]; 22 unsigned char h_source[ETH_ALEN];
|
| A D | net_shared.h | 8 #define ETH_ALEN 6 macro
|
| A D | xdp_router_ipv4.bpf.c | 12 #define ETH_ALEN 6 macro 168 __builtin_memcpy(eth->h_dest, dest_mac, ETH_ALEN); in xdp_router_ipv4_prog() 169 __builtin_memcpy(eth->h_source, src_mac, ETH_ALEN); in xdp_router_ipv4_prog()
|
| A D | xdp_fwd_kern.c | 138 memcpy(eth->h_dest, fib_params.dmac, ETH_ALEN); in xdp_fwd_flags() 139 memcpy(eth->h_source, fib_params.smac, ETH_ALEN); in xdp_fwd_flags()
|
| A D | xdp_adjust_tail_kern.c | 53 memcpy(eth->h_source, orig_eth->h_dest, ETH_ALEN); in swap_mac() 54 memcpy(eth->h_dest, orig_eth->h_source, ETH_ALEN); in swap_mac()
|
| A D | tc_l2_redirect_kern.c | 35 unsigned char h_dest[ETH_ALEN]; 36 unsigned char h_source[ETH_ALEN];
|
| A D | tcbpf1_kern.c | 18 bpf_skb_store_bytes(skb, 0, mac, ETH_ALEN, 1); in set_dst_mac()
|
Completed in 6 milliseconds