Home
last modified time | relevance | path

Searched refs:bpf_lpm_trie_key (Results 1 – 6 of 6) sorted by relevance

/Linux-v4.19/kernel/bpf/
Dlpm_trie.c169 const struct bpf_lpm_trie_key *key) in longest_prefix_match()
195 struct bpf_lpm_trie_key *key = _key; in trie_lookup_elem()
270 struct bpf_lpm_trie_key *key = _key; in trie_update_elem()
398 struct bpf_lpm_trie_key *key = _key; in trie_delete_elem()
496 #define LPM_KEY_SIZE(X) (sizeof(struct bpf_lpm_trie_key) + (X))
529 offsetof(struct bpf_lpm_trie_key, data); in trie_alloc()
602 struct bpf_lpm_trie_key *key = _key, *next_key = _next_key; in trie_get_next_key()
684 memcpy((void *)next_key + offsetof(struct bpf_lpm_trie_key, data), in trie_get_next_key()
/Linux-v4.19/tools/testing/selftests/bpf/
Dtest_lpm_map.c213 struct bpf_lpm_trie_key *key; in test_lpm_map()
332 struct bpf_lpm_trie_key *key_ipv4; in test_lpm_ipaddr()
333 struct bpf_lpm_trie_key *key_ipv6; in test_lpm_ipaddr()
426 struct bpf_lpm_trie_key *key; in test_lpm_delete()
528 struct bpf_lpm_trie_key *key_p, *next_key_p; in test_lpm_get_next_key()
661 struct bpf_lpm_trie_key *key_p; in lpm_test_command()
663 key_size = sizeof(struct bpf_lpm_trie_key) + sizeof(__u32); in lpm_test_command()
685 struct bpf_lpm_trie_key *next_key_p = alloca(key_size); in lpm_test_command()
719 key_size = sizeof(struct bpf_lpm_trie_key) + value_size; in test_lpm_multi_thread()
/Linux-v4.19/samples/bpf/
Dmap_perf_test_user.c369 struct bpf_lpm_trie_key *key; in fill_lpm_trie()
Dxdp_router_ipv4_user.c109 struct bpf_lpm_trie_key *prefix_key; in read_route()
/Linux-v4.19/tools/include/uapi/linux/
Dbpf.h73 struct bpf_lpm_trie_key { struct
/Linux-v4.19/include/uapi/linux/
Dbpf.h73 struct bpf_lpm_trie_key { struct