Home
last modified time | relevance | path

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

/linux-6.12.1/tools/testing/selftests/bpf/prog_tests/
Dtc_netkit.c173 err = create_netkit(NETKIT_L2, NETKIT_PASS, NETKIT_PASS, in serial_test_tc_netkit_basic()
399 serial_test_tc_netkit_multi_links_target(NETKIT_L2, BPF_NETKIT_PRIMARY); in serial_test_tc_netkit_multi_links()
401 serial_test_tc_netkit_multi_links_target(NETKIT_L2, BPF_NETKIT_PEER); in serial_test_tc_netkit_multi_links()
513 serial_test_tc_netkit_multi_opts_target(NETKIT_L2, BPF_NETKIT_PRIMARY); in serial_test_tc_netkit_multi_opts()
515 serial_test_tc_netkit_multi_opts_target(NETKIT_L2, BPF_NETKIT_PEER); in serial_test_tc_netkit_multi_opts()
705 serial_test_tc_netkit_neigh_links_target(NETKIT_L2, BPF_NETKIT_PRIMARY); in serial_test_tc_netkit_neigh_links()
779 serial_test_tc_netkit_pkt_type_mode(NETKIT_L2); in serial_test_tc_netkit_pkt_type()
/linux-6.12.1/drivers/net/
Dnetkit.c167 if (nk->mode != NETKIT_L2) in netkit_set_macaddr()
304 case NETKIT_L2: in netkit_check_mode()
388 if (mode != NETKIT_L2 && in netkit_new_link()
405 if (mode == NETKIT_L2 && !(ifmp && tbp[IFLA_ADDRESS])) in netkit_new_link()
421 if (mode == NETKIT_L2) in netkit_new_link()
428 if (mode == NETKIT_L2 && !tb[IFLA_ADDRESS]) in netkit_new_link()
445 if (mode == NETKIT_L2) in netkit_new_link()
/linux-6.12.1/tools/include/uapi/linux/
Dif_link.h768 NETKIT_L2, enumerator
/linux-6.12.1/include/uapi/linux/
Dif_link.h1291 NETKIT_L2, enumerator