Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/tools/testing/selftests/bpf/
Dtest_maps.c1481 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/
Dsock_diag.c28 u64 res = atomic64_read(&sk->sk_cookie); in __sock_gen_cookie()
33 atomic64_cmpxchg(&sk->sk_cookie, 0, res); in __sock_gen_cookie()
Dsock_map.c418 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/
Dinet_timewait_sock.c187 atomic64_set(&tw->tw_cookie, atomic64_read(&sk->sk_cookie)); in inet_twsk_alloc()
Dinet_connection_sock.c859 atomic64_set(&newsk->sk_cookie, in inet_csk_clone_lock()
Dinet_diag.c470 offsetof(struct sock, sk_cookie)); in inet_req_diag_fill()
/kernel/linux/linux-5.10/include/net/
Dsock.h387 #define sk_cookie __sk_common.skc_cookie macro