Searched refs:tlpm_add (Results 1 - 2 of 2) sorted by relevance
/kernel/linux/linux-5.10/tools/testing/selftests/bpf/ |
H A D | test_lpm_map.c | 41 static struct tlpm_node *tlpm_add(struct tlpm_node *list, in tlpm_add() function 146 t1 = list = tlpm_add(list, (uint8_t[]){ 0xff }, 8); in test_lpm_basic() 154 t2 = list = tlpm_add(list, (uint8_t[]){ 0xff, 0xff }, 16); in test_lpm_basic() 182 l1 = tlpm_add(l1, (uint8_t[]){ in test_lpm_order() 188 l2 = tlpm_add(l2, t1->key, t1->n_bits); in test_lpm_order() 248 list = tlpm_add(list, value, value[keysize]); in test_lpm_map()
|
/kernel/linux/linux-6.6/tools/testing/selftests/bpf/ |
H A D | test_lpm_map.c | 40 static struct tlpm_node *tlpm_add(struct tlpm_node *list, in tlpm_add() function 145 t1 = list = tlpm_add(list, (uint8_t[]){ 0xff }, 8); in test_lpm_basic() 153 t2 = list = tlpm_add(list, (uint8_t[]){ 0xff, 0xff }, 16); in test_lpm_basic() 181 l1 = tlpm_add(l1, (uint8_t[]){ in test_lpm_order() 187 l2 = tlpm_add(l2, t1->key, t1->n_bits); in test_lpm_order() 249 list = tlpm_add(list, value, value[keysize]); in test_lpm_map()
|
Completed in 3 milliseconds