Home
last modified time | relevance | path

Searched refs:sock_cookie (Results 1 – 3 of 3) sorted by relevance

/linux/tools/testing/selftests/bpf/progs/
H A Dsock_destroy_prog.c30 __u64 sock_cookie = 0; in sock_connect() local
37 sock_cookie = bpf_get_socket_cookie(ctx); in sock_connect()
39 bpf_map_update_elem(&tcp_conn_sockets, &key, &sock_cookie, 0); in sock_connect()
41 bpf_map_update_elem(&udp_conn_sockets, &keyc, &sock_cookie, 0); in sock_connect()
52 __u64 sock_cookie = 0; in iter_tcp6_client() local
62 sock_cookie = bpf_get_socket_cookie(sk_common); in iter_tcp6_client()
67 if (sock_cookie == *val) in iter_tcp6_client()
109 __u64 sock_cookie = 0, *val; in iter_udp6_client() local
115 sock_cookie = bpf_get_socket_cookie(sk); in iter_udp6_client()
120 if (sock_cookie == *val) in iter_udp6_client()
/linux/include/trace/events/
H A Dtcp.h162 __field(__u64, sock_cookie)
184 __entry->sock_cookie = sock_gen_cookie(sk);
192 __entry->sock_cookie)
286 __field(__u64, sock_cookie)
315 __entry->sock_cookie = sock_gen_cookie(sk);
326 __entry->srtt, __entry->rcv_wnd, __entry->sock_cookie,
/linux/net/core/
H A Dsock_diag.c25 DEFINE_COOKIE(sock_cookie);
32 u64 new = gen_cookie_next(&sock_cookie); in __sock_gen_cookie()