Home
last modified time | relevance | path

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

/openbmc/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()
/openbmc/linux/include/trace/events/
H A Dtcp.h136 __field(__u64, sock_cookie)
158 __entry->sock_cookie = sock_gen_cookie(sk);
166 __entry->sock_cookie)
260 __field(__u64, sock_cookie)
287 __entry->sock_cookie = sock_gen_cookie(sk);
295 __entry->srtt, __entry->rcv_wnd, __entry->sock_cookie)
/openbmc/linux/net/core/
H A Dsock_diag.c24 DEFINE_COOKIE(sock_cookie);
31 u64 new = gen_cookie_next(&sock_cookie); in __sock_gen_cookie()