Searched refs:sk_cookie (Results 1 – 7 of 7) sorted by relevance
/linux-6.1.9/net/core/ |
D | sock_diag.c | 29 u64 res = atomic64_read(&sk->sk_cookie); in __sock_gen_cookie() 34 atomic64_cmpxchg(&sk->sk_cookie, 0, res); in __sock_gen_cookie()
|
D | sock_map.c | 409 return &sk->sk_cookie; in sock_map_lookup_sys() 1188 return &sk->sk_cookie; in sock_hash_lookup_sys()
|
/linux-6.1.9/tools/testing/selftests/bpf/ |
D | test_maps.c | 1631 u64 sk_cookie; in prepare_reuseport_grp() local 1641 optlen = sizeof(sk_cookie); in prepare_reuseport_grp() 1680 err = getsockopt(fd64, SOL_SOCKET, SO_COOKIE, &sk_cookie, in prepare_reuseport_grp() 1703 sk_cookies[i] = sk_cookie; in prepare_reuseport_grp() 1713 __u64 grpa_cookies[2], sk_cookie, map_cookie; in test_reuseport_array() local 1800 sk_cookie = grpa_cookies[fds_idx]; in test_reuseport_array() 1829 CHECK(err < 0 || sk_cookie != map_cookie, in test_reuseport_array() 1832 type, err, errno, sk_cookie, map_cookie); in test_reuseport_array() 1862 &sk_cookie, 1); in test_reuseport_array()
|
/linux-6.1.9/net/ipv4/ |
D | inet_timewait_sock.c | 211 atomic64_set(&tw->tw_cookie, atomic64_read(&sk->sk_cookie)); in inet_twsk_alloc()
|
D | inet_connection_sock.c | 1139 atomic64_set(&newsk->sk_cookie, in inet_csk_clone_lock()
|
D | inet_diag.c | 476 offsetof(struct sock, sk_cookie)); in inet_req_diag_fill()
|
/linux-6.1.9/include/net/ |
D | sock.h | 388 #define sk_cookie __sk_common.skc_cookie macro
|