Lines Matching defs:key
42 printf(" -k <key> |- map key\n");
76 static int bpf_do_map(const char *file, uint32_t flags, uint32_t key,
96 ret = bpf_map_update_elem(fd, &key, &value, 0);
97 printf("bpf: fd:%d u->(%u:%u) ret:(%d,%s)\n", fd, key, value,
101 ret = bpf_map_lookup_elem(fd, &key, &value);
102 printf("bpf: fd:%d l->(%u):%u ret:(%d,%s)\n", fd, key, value,
142 uint32_t key = 0, value = 0, flags = 0;
162 key = strtoul(optarg, NULL, 0);
186 return bpf_do_map(file, flags, key, value);