Home
last modified time | relevance | path

Searched refs:cookie_value (Results 1 – 5 of 5) sorted by relevance

/external/linux-kselftest/tools/testing/selftests/bpf/
Dsocket_cookie_prog.c20 __u32 cookie_value = 0xFF; in set_cookie() local
27 if (bpf_map_update_elem(&socket_cookies, &cookie_key, &cookie_value, 0)) in set_cookie()
37 __u32 *cookie_value; in update_cookie() local
48 cookie_value = bpf_map_lookup_elem(&socket_cookies, &cookie_key); in update_cookie()
49 if (!cookie_value) in update_cookie()
52 new_cookie_value = (ctx->local_port << 8) | *cookie_value; in update_cookie()
Dtest_socket_cookie.c92 __u32 cookie_value; in validate_map() local
110 err = bpf_map_lookup_elem(map_fd, &cookie_key, &cookie_value); in validate_map()
123 if (cookie_value != cookie_expected_value) { in validate_map()
124 log_err("Unexpected value in map: %x != %x", cookie_value, in validate_map()
/external/autotest/client/site_tests/policy_CookiesSessionOnlyForUrls/
Dpolicy_CookiesSessionOnlyForUrls.py73 cookie_value = tab.GetCookieByName(self.COOKIE_NAME)
75 return cookie_value is None
/external/boringssl/src/ssl/
Dtls13_client.cc139 CBS cookie_value; in do_read_hello_retry_request() local
140 if (!CBS_get_u16_length_prefixed(&cookie, &cookie_value) || in do_read_hello_retry_request()
141 CBS_len(&cookie_value) == 0 || in do_read_hello_retry_request()
148 if (!hs->cookie.CopyFrom(cookie_value)) { in do_read_hello_retry_request()
/external/protobuf/src/google/protobuf/
Darena_unittest.cc1295 int cookie_value = *static_cast<int*>(cookie); in on_allocation() local
1296 EXPECT_EQ(kCookieValue, cookie_value); in on_allocation()
1302 int cookie_value = *static_cast<int*>(cookie); in on_reset() local
1303 EXPECT_EQ(kCookieValue, cookie_value); in on_reset()
1309 int cookie_value = *static_cast<int*>(cookie); in on_destruction() local
1310 EXPECT_EQ(kCookieValue, cookie_value); in on_destruction()