Home
last modified time | relevance | path

Searched refs:next_key_p (Results 1 – 2 of 2) sorted by relevance

/tools/testing/selftests/bpf/map_tests/
A Dlpm_trie_map_basic_ops.c598 assert(next_key_p->prefixlen == 16 && next_key_p->data[0] == 192 && in test_lpm_get_next_key()
616 assert(next_key_p->prefixlen == 24 && next_key_p->data[0] == 192 && in test_lpm_get_next_key()
617 next_key_p->data[1] == 168 && next_key_p->data[2] == 128); in test_lpm_get_next_key()
621 assert(next_key_p->prefixlen == 16 && next_key_p->data[0] == 192 && in test_lpm_get_next_key()
639 assert(next_key_p->prefixlen == 24 && next_key_p->data[0] == 192 && in test_lpm_get_next_key()
640 next_key_p->data[1] == 168 && next_key_p->data[2] == 1); in test_lpm_get_next_key()
645 next_key_p->data[1] == 168 && next_key_p->data[2] == 128); in test_lpm_get_next_key()
668 next_key_p->data[1] == 168 && next_key_p->data[2] == 1 && in test_lpm_get_next_key()
674 next_key_p->data[1] == 168 && next_key_p->data[2] == 1); in test_lpm_get_next_key()
679 next_key_p->data[1] == 168 && next_key_p->data[2] == 128); in test_lpm_get_next_key()
[all …]
/tools/testing/selftests/bpf/
A Dtest_progs.c699 __u32 key, next_key, *cur_key_p, *next_key_p; in compare_stack_ips() local
706 next_key_p = &key; in compare_stack_ips()
707 while (bpf_map_get_next_key(smap_fd, cur_key_p, next_key_p) == 0) { in compare_stack_ips()
708 err = bpf_map_lookup_elem(smap_fd, next_key_p, val_buf1); in compare_stack_ips()
711 err = bpf_map_lookup_elem(amap_fd, next_key_p, val_buf2); in compare_stack_ips()
720 key = *next_key_p; in compare_stack_ips()
722 next_key_p = &next_key; in compare_stack_ips()

Completed in 10 milliseconds