Searched refs:sk_cookie (Results 1 – 7 of 7) sorted by relevance
/kernel/linux/linux-5.10/tools/testing/selftests/bpf/ |
D | test_maps.c | 1481 u64 sk_cookie; in prepare_reuseport_grp() local 1491 optlen = sizeof(sk_cookie); in prepare_reuseport_grp() 1530 err = getsockopt(fd64, SOL_SOCKET, SO_COOKIE, &sk_cookie, in prepare_reuseport_grp() 1553 sk_cookies[i] = sk_cookie; in prepare_reuseport_grp() 1563 __u64 grpa_cookies[2], sk_cookie, map_cookie; in test_reuseport_array() local 1650 sk_cookie = grpa_cookies[fds_idx]; in test_reuseport_array() 1679 CHECK(err == -1 || sk_cookie != map_cookie, in test_reuseport_array() 1682 type, err, errno, sk_cookie, map_cookie); in test_reuseport_array() 1712 &sk_cookie, 1); in test_reuseport_array()
|
/kernel/linux/linux-5.10/net/core/ |
D | sock_diag.c | 28 u64 res = atomic64_read(&sk->sk_cookie); in __sock_gen_cookie() 33 atomic64_cmpxchg(&sk->sk_cookie, 0, res); in __sock_gen_cookie()
|
D | sock_map.c | 418 return &sk->sk_cookie; in sock_map_lookup_sys() 1239 return &sk->sk_cookie; in sock_hash_lookup_sys()
|
/kernel/linux/linux-5.10/net/ipv4/ |
D | inet_timewait_sock.c | 187 atomic64_set(&tw->tw_cookie, atomic64_read(&sk->sk_cookie)); in inet_twsk_alloc()
|
D | inet_connection_sock.c | 859 atomic64_set(&newsk->sk_cookie, in inet_csk_clone_lock()
|
D | inet_diag.c | 470 offsetof(struct sock, sk_cookie)); in inet_req_diag_fill()
|
/kernel/linux/linux-5.10/include/net/ |
D | sock.h | 387 #define sk_cookie __sk_common.skc_cookie macro
|