Searched refs:cookie_key (Results 1 – 3 of 3) sorted by relevance
/external/linux-kselftest/tools/testing/selftests/bpf/ |
D | socket_cookie_prog.c | 21 __u64 cookie_key; in set_cookie() local 26 cookie_key = bpf_get_socket_cookie(ctx); in set_cookie() 27 if (bpf_map_update_elem(&socket_cookies, &cookie_key, &cookie_value, 0)) in set_cookie() 38 __u64 cookie_key; in update_cookie() local 46 cookie_key = bpf_get_socket_cookie(ctx); in update_cookie() 48 cookie_value = bpf_map_lookup_elem(&socket_cookies, &cookie_key); in update_cookie() 53 bpf_map_update_elem(&socket_cookies, &cookie_key, &new_cookie_value, 0); in update_cookie()
|
D | test_socket_cookie.c | 93 __u64 cookie_key; in validate_map() local 104 err = bpf_map_get_next_key(map_fd, NULL, &cookie_key); in validate_map() 110 err = bpf_map_lookup_elem(map_fd, &cookie_key, &cookie_value); in validate_map()
|
/external/autotest/tko/ |
D | unique_cookie.py | 4 def unique_id(cookie_key): argument 16 key = '%s=' % cookie_key 26 set_cookie_statement = 'Set-Cookie:%s=%s;' % (cookie_key, uid)
|