Home
last modified time | relevance | path

Searched refs:sk_cookie (Results 1 – 7 of 7) sorted by relevance

/linux-6.1.9/net/core/
Dsock_diag.c29 u64 res = atomic64_read(&sk->sk_cookie); in __sock_gen_cookie()
34 atomic64_cmpxchg(&sk->sk_cookie, 0, res); in __sock_gen_cookie()
Dsock_map.c409 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/
Dtest_maps.c1631 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/
Dinet_timewait_sock.c211 atomic64_set(&tw->tw_cookie, atomic64_read(&sk->sk_cookie)); in inet_twsk_alloc()
Dinet_connection_sock.c1139 atomic64_set(&newsk->sk_cookie, in inet_csk_clone_lock()
Dinet_diag.c476 offsetof(struct sock, sk_cookie)); in inet_req_diag_fill()
/linux-6.1.9/include/net/
Dsock.h388 #define sk_cookie __sk_common.skc_cookie macro