Searched refs:prefix_key (Results 1 – 1 of 1) sorted by relevance
94 struct bpf_lpm_trie_key *prefix_key; in read_route() local165 prefix_key = alloca(sizeof(*prefix_key) + 4); in read_route()168 prefix_key->prefixlen = 32; in read_route()169 prefix_key->prefixlen = route.dst_len; in read_route()189 prefix_key->data[i] = (route.dst >> i * 8) & 0xff; in read_route()191 if (bpf_map_lookup_elem(lpm_map_fd, prefix_key, in read_route()194 prefix_value->prefix[i] = prefix_key->data[i]; in read_route()201 prefix_key, in read_route()207 prefix_key in read_route()215 } else if (prefix_key->data[0] == in read_route()[all …]