Searched refs:assert_mprog_count_ifindex (Results 1 – 4 of 4) sorted by relevance
/linux/tools/testing/selftests/bpf/prog_tests/ |
H A D | tc_netkit.c | 210 assert_mprog_count_ifindex(ifindex, BPF_NETKIT_PRIMARY, 0); in serial_test_tc_netkit_basic() 211 assert_mprog_count_ifindex(ifindex, BPF_NETKIT_PEER, 0); in serial_test_tc_netkit_basic() 224 assert_mprog_count_ifindex(ifindex, BPF_NETKIT_PRIMARY, 1); in serial_test_tc_netkit_basic() 225 assert_mprog_count_ifindex(ifindex, BPF_NETKIT_PEER, 0); in serial_test_tc_netkit_basic() 260 assert_mprog_count_ifindex(ifindex, BPF_NETKIT_PRIMARY, 1); in serial_test_tc_netkit_multi_links_target() 261 assert_mprog_count_ifindex(ifindex, BPF_NETKIT_PEER, 1); in serial_test_tc_netkit_multi_links_target() 286 assert_mprog_count_ifindex(ifindex, BPF_NETKIT_PRIMARY, 0); in serial_test_tc_netkit_multi_links_target() 287 assert_mprog_count_ifindex(ifindex, BPF_NETKIT_PEER, 0); in serial_test_tc_netkit_multi_links_target() 325 assert_mprog_count_ifindex(ifindex, target, 0); in serial_test_tc_netkit_multi_links_target() 339 assert_mprog_count_ifindex(ifinde in serial_test_tc_netkit_multi_links_target() [all...] |
H A D | tc_helpers.h | 68 static inline void assert_mprog_count_ifindex(int ifindex, int target, int expected) in assert_mprog_count_ifindex() function
|
H A D | tc_opts.c | 1337 assert_mprog_count_ifindex(ifindex, target, 0); in test_tc_opts_dev_cleanup_target() 1343 assert_mprog_count_ifindex(ifindex, target, 1); in test_tc_opts_dev_cleanup_target() 1349 assert_mprog_count_ifindex(ifindex, target, 2); in test_tc_opts_dev_cleanup_target() 1355 assert_mprog_count_ifindex(ifindex, target, 3); in test_tc_opts_dev_cleanup_target() 1361 assert_mprog_count_ifindex(ifindex, target, 4); in test_tc_opts_dev_cleanup_target() 1371 assert_mprog_count_ifindex(ifindex, target, 2); in test_tc_opts_dev_cleanup_target() 1376 assert_mprog_count_ifindex(ifindex, target, 1); in test_tc_opts_dev_cleanup_target() 1381 assert_mprog_count_ifindex(ifindex, target, 0); in test_tc_opts_dev_cleanup_target() 2415 assert_mprog_count_ifindex(ifindex, target, 0); in test_tc_opts_max_target() 2424 assert_mprog_count_ifindex(ifindex, target, i + 1); in test_tc_opts_max_target() [all …]
|
H A D | tc_links.c | 1526 assert_mprog_count_ifindex(ifindex, target, 1); in test_tc_links_dev_cleanup_target() 1534 assert_mprog_count_ifindex(ifindex, target, 2); in test_tc_links_dev_cleanup_target() 1542 assert_mprog_count_ifindex(ifindex, target, 3); in test_tc_links_dev_cleanup_target() 1550 assert_mprog_count_ifindex(ifindex, target, 4); in test_tc_links_dev_cleanup_target() 1899 assert_mprog_count_ifindex(ifindex, target, 1); in test_tc_links_dev_mixed() 1907 assert_mprog_count_ifindex(ifindex, target, 2); in test_tc_links_dev_mixed() 1915 assert_mprog_count_ifindex(ifindex, target, 3); in test_tc_links_dev_mixed() 1923 assert_mprog_count_ifindex(ifindex, target, 4); in test_tc_links_dev_mixed()
|