Home
last modified time | relevance | path

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

/Linux-v6.1/samples/bpf/
Dxdp_redirect_map_user.c133 ret = get_mac_addr(ifindex_out, skel->rodata->tx_mac_addr); in main()
143 skel->rodata->tx_mac_addr[0], skel->rodata->tx_mac_addr[1], in main()
144 skel->rodata->tx_mac_addr[2], skel->rodata->tx_mac_addr[3], in main()
145 skel->rodata->tx_mac_addr[4], skel->rodata->tx_mac_addr[5]); in main()
Dxdp_redirect_map.bpf.c36 const volatile __u8 tx_mac_addr[ETH_ALEN]; variable
76 u8 *mac_addr = (u8 *) tx_mac_addr; in xdp_redirect_map_egress()
Dxdp_redirect_cpu.bpf.c47 char tx_mac_addr[ETH_ALEN]; variable
534 __builtin_memcpy(eth->h_source, (const char *)tx_mac_addr, ETH_ALEN); in xdp_redirect_egress_prog()
Dxdp_redirect_cpu_user.c282 if (get_mac_addr(ifindex_out, skel->bss->tx_mac_addr) < 0) { in set_cpumap_prog()