Searched refs:tlpm_match (Results 1 - 1 of 1) sorted by relevance

/linux-master/tools/testing/selftests/bpf/
H A Dtest_lpm_map.c36 static struct tlpm_node *tlpm_match(struct tlpm_node *list,
50 node = tlpm_match(list, key, n_bits);
80 static struct tlpm_node *tlpm_match(struct tlpm_node *list, function
113 struct tlpm_node *best = tlpm_match(list, key, n_bits);
143 assert(!tlpm_match(list, (uint8_t[]){ 0xff }, 8));
146 assert(t1 == tlpm_match(list, (uint8_t[]){ 0xff }, 8));
147 assert(t1 == tlpm_match(list, (uint8_t[]){ 0xff, 0xff }, 16));
148 assert(t1 == tlpm_match(list, (uint8_t[]){ 0xff, 0x00 }, 16));
149 assert(!tlpm_match(list, (uint8_t[]){ 0x7f }, 8));
150 assert(!tlpm_match(lis
[all...]

Completed in 109 milliseconds