tlpm_match 37 tools/testing/selftests/bpf/test_lpm_map.c static struct tlpm_node *tlpm_match(struct tlpm_node *list, tlpm_match 51 tools/testing/selftests/bpf/test_lpm_map.c node = tlpm_match(list, key, n_bits); tlpm_match 114 tools/testing/selftests/bpf/test_lpm_map.c struct tlpm_node *best = tlpm_match(list, key, n_bits); tlpm_match 144 tools/testing/selftests/bpf/test_lpm_map.c assert(!tlpm_match(list, (uint8_t[]){ 0xff }, 8)); tlpm_match 147 tools/testing/selftests/bpf/test_lpm_map.c assert(t1 == tlpm_match(list, (uint8_t[]){ 0xff }, 8)); tlpm_match 148 tools/testing/selftests/bpf/test_lpm_map.c assert(t1 == tlpm_match(list, (uint8_t[]){ 0xff, 0xff }, 16)); tlpm_match 149 tools/testing/selftests/bpf/test_lpm_map.c assert(t1 == tlpm_match(list, (uint8_t[]){ 0xff, 0x00 }, 16)); tlpm_match 150 tools/testing/selftests/bpf/test_lpm_map.c assert(!tlpm_match(list, (uint8_t[]){ 0x7f }, 8)); tlpm_match 151 tools/testing/selftests/bpf/test_lpm_map.c assert(!tlpm_match(list, (uint8_t[]){ 0xfe }, 8)); tlpm_match 152 tools/testing/selftests/bpf/test_lpm_map.c assert(!tlpm_match(list, (uint8_t[]){ 0xff }, 7)); tlpm_match 155 tools/testing/selftests/bpf/test_lpm_map.c assert(t1 == tlpm_match(list, (uint8_t[]){ 0xff }, 8)); tlpm_match 156 tools/testing/selftests/bpf/test_lpm_map.c assert(t2 == tlpm_match(list, (uint8_t[]){ 0xff, 0xff }, 16)); tlpm_match 157 tools/testing/selftests/bpf/test_lpm_map.c assert(t1 == tlpm_match(list, (uint8_t[]){ 0xff, 0xff }, 15)); tlpm_match 158 tools/testing/selftests/bpf/test_lpm_map.c assert(!tlpm_match(list, (uint8_t[]){ 0x7f, 0xff }, 16)); tlpm_match 161 tools/testing/selftests/bpf/test_lpm_map.c assert(t1 == tlpm_match(list, (uint8_t[]){ 0xff }, 8)); tlpm_match 162 tools/testing/selftests/bpf/test_lpm_map.c assert(t1 == tlpm_match(list, (uint8_t[]){ 0xff, 0xff }, 16)); tlpm_match 165 tools/testing/selftests/bpf/test_lpm_map.c assert(!tlpm_match(list, (uint8_t[]){ 0xff }, 8)); tlpm_match 193 tools/testing/selftests/bpf/test_lpm_map.c t1 = tlpm_match(l1, key, 16); tlpm_match 194 tools/testing/selftests/bpf/test_lpm_map.c t2 = tlpm_match(l2, key, 16); tlpm_match 260 tools/testing/selftests/bpf/test_lpm_map.c t = tlpm_match(list, data, 8 * keysize); tlpm_match 297 tools/testing/selftests/bpf/test_lpm_map.c t = tlpm_match(list, data, 8 * keysize);