Searched refs:prefix_key (Results 1 – 1 of 1) sorted by relevance
125 struct bpf_lpm_trie_key *prefix_key; in read_route() local211 prefix_key = alloca(sizeof(*prefix_key) + 3); in read_route()214 prefix_key->prefixlen = 32; in read_route()215 prefix_key->prefixlen = route.dst_len; in read_route()235 prefix_key->data[i] = (route.dst >> i * 8) & 0xff; in read_route()238 (int)prefix_key->data[0], in read_route()239 (int)prefix_key->data[1], in read_route()240 (int)prefix_key->data[2], in read_route()241 (int)prefix_key->data[3], in read_route()245 if (bpf_map_lookup_elem(lpm_map_fd, prefix_key, in read_route()[all …]