OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
full:key_ipv4
(Results
1 - 1
of
1
) sorted by null
/external/linux-kselftest/tools/testing/selftests/bpf/
test_lpm_map.c
242
struct bpf_lpm_trie_key *
key_ipv4
;
local
250
key_size_ipv4 = sizeof(*
key_ipv4
) + sizeof(__u32);
252
key_ipv4
= alloca(key_size_ipv4);
267
key_ipv4
->prefixlen = 16;
268
inet_pton(AF_INET, "192.168.0.0",
key_ipv4
->data);
269
assert(bpf_map_update_elem(map_fd_ipv4,
key_ipv4
, &value, 0) == 0);
272
key_ipv4
->prefixlen = 24;
273
inet_pton(AF_INET, "192.168.0.0",
key_ipv4
->data);
274
assert(bpf_map_update_elem(map_fd_ipv4,
key_ipv4
, &value, 0) == 0);
277
key_ipv4
->prefixlen = 24
[
all
...]
Completed in 678 milliseconds