/openbmc/linux/include/linux/ |
H A D | skmsg.h | 79 struct sk_psock { struct 281 static inline struct sk_psock *sk_psock(const struct sock *sk) in sk_psock() function 287 static inline void sk_psock_set_state(struct sk_psock *psock, in sk_psock_set_state() 311 static inline void sk_psock_queue_msg(struct sk_psock *psock, in sk_psock_queue_msg() 380 struct sk_psock *sk_psock_init(struct sock *sk, int node); 381 void sk_psock_stop(struct sk_psock *psock); 431 struct sk_psock *psock) in sk_psock_restore_proto() 437 static inline struct sk_psock *sk_psock_get(struct sock *sk) in sk_psock_get() 439 struct sk_psock *psock; in sk_psock_get() 442 psock = sk_psock(sk); in sk_psock_get() [all …]
|
/openbmc/linux/net/core/ |
H A D | skmsg.c | 491 struct sk_psock *psock; in sk_msg_is_readable() 495 psock = sk_psock(sk); in sk_msg_is_readable() 645 struct sk_psock *psock = container_of(dwork, struct sk_psock, work); in sk_psock_backlog() 703 struct sk_psock *psock; in sk_psock_init() 1040 struct sk_psock *psock; in sk_psock_write_space() 1044 psock = sk_psock(sk); in sk_psock_write_space() 1065 psock = sk_psock(sk); in sk_psock_strp_read() 1092 struct sk_psock *psock = container_of(strp, struct sk_psock, strp); in sk_psock_strp_parse() 1115 psock = sk_psock(sk); in sk_psock_strp_data_ready() 1187 psock = sk_psock(sk); in sk_psock_verdict_recv() [all …]
|
H A D | sock_map.c | 177 struct sk_psock *psock = sk_psock(sk); in sock_map_unref() 195 struct sk_psock *psock; in sock_map_psock_get_checked() 198 psock = sk_psock(sk); in sock_map_psock_get_checked() 220 struct sk_psock *psock; in sock_map_link() 469 struct sk_psock *psock; in sock_map_update_common() 487 psock = sk_psock(sk); in sock_map_update_common() 990 struct sk_psock *psock; in sock_hash_update_common() 1005 psock = sk_psock(sk); in sock_hash_update_common() 1595 struct sk_psock *psock; in sock_map_unhash() 1598 psock = sk_psock(sk); in sock_map_unhash() [all …]
|
/openbmc/linux/net/ipv4/ |
H A D | udp_bpf.c | 29 static bool psock_has_data(struct sk_psock *psock) in psock_has_data() 38 static int udp_msg_wait_data(struct sock *sk, struct sk_psock *psock, in udp_msg_wait_data() 65 struct sk_psock *psock; in udp_bpf_recvmsg() 141 int udp_bpf_update_proto(struct sock *sk, struct sk_psock *psock, bool restore) in udp_bpf_update_proto()
|
H A D | tcp_bpf.c | 32 static int bpf_tcp_ingress(struct sock *sk, struct sk_psock *psock, in bpf_tcp_ingress() 164 struct sk_psock *psock = sk_psock_get(sk); in tcp_bpf_sendmsg_redir() 178 static int tcp_msg_wait_data(struct sock *sk, struct sk_psock *psock, in tcp_msg_wait_data() 200 static bool is_next_msg_fin(struct sk_psock *psock) in is_next_msg_fin() 227 struct sk_psock *psock; in tcp_bpf_recvmsg_parser() 334 struct sk_psock *psock; in tcp_bpf_recvmsg() 381 static int tcp_bpf_send_verdict(struct sock *sk, struct sk_psock *psock, in tcp_bpf_send_verdict() 499 struct sk_psock *psock; in tcp_bpf_sendmsg() 649 int tcp_bpf_update_proto(struct sock *sk, struct sk_psock *psock, bool restore) in tcp_bpf_update_proto()
|
/openbmc/linux/net/vmw_vsock/ |
H A D | vsock_bpf.c | 25 static bool vsock_has_data(struct sock *sk, struct sk_psock *psock) in vsock_has_data() 37 static bool vsock_msg_wait_data(struct sock *sk, struct sk_psock *psock, long timeo) in vsock_msg_wait_data() 79 struct sk_psock *psock; in vsock_bpf_recvmsg() 141 int vsock_bpf_update_proto(struct sock *sk, struct sk_psock *psock, bool restore) in vsock_bpf_update_proto()
|
/openbmc/linux/net/unix/ |
H A D | unix_bpf.c | 15 static int unix_msg_wait_data(struct sock *sk, struct sk_psock *psock, in unix_msg_wait_data() 54 struct sk_psock *psock; in unix_bpf_recvmsg() 147 int unix_dgram_bpf_update_proto(struct sock *sk, struct sk_psock *psock, bool restore) in unix_dgram_bpf_update_proto() 163 int unix_stream_bpf_update_proto(struct sock *sk, struct sk_psock *psock, bool restore) in unix_stream_bpf_update_proto()
|
/openbmc/linux/include/net/ |
H A D | af_unix.h | 112 int unix_dgram_bpf_update_proto(struct sock *sk, struct sk_psock *psock, bool restore); 113 int unix_stream_bpf_update_proto(struct sock *sk, struct sk_psock *psock, bool restore);
|
H A D | udp.h | 528 struct sk_psock; 529 int udp_bpf_update_proto(struct sock *sk, struct sk_psock *psock, bool restore);
|
H A D | af_vsock.h | 241 int vsock_bpf_update_proto(struct sock *sk, struct sk_psock *psock, bool restore);
|
H A D | tcp.h | 2388 struct sk_psock; 2391 int tcp_bpf_update_proto(struct sock *sk, struct sk_psock *psock, bool restore);
|
H A D | sock.h | 1235 struct sk_psock; 1307 struct sk_psock *psock,
|
/openbmc/linux/net/tls/ |
H A D | tls_sw.c | 849 struct sk_psock *psock; in bpf_exec_tx_verdict() 1308 tls_rx_rec_wait(struct sock *sk, struct sk_psock *psock, bool nonblock, in tls_rx_rec_wait() 1960 struct sk_psock *psock; in tls_sw_recvmsg() 2254 struct sk_psock *psock; in tls_sw_read_sock() 2347 struct sk_psock *psock; in tls_sw_sock_is_readable() 2350 psock = sk_psock(sk); in tls_sw_sock_is_readable() 2431 struct sk_psock *psock; in tls_data_ready()
|
H A D | tls_main.c | 411 struct sk_psock *psock; in tls_sk_poll()
|
/openbmc/linux/Documentation/bpf/ |
H A D | map_sockmap.rst | 35 replaced and a ``struct sk_psock`` is attached to it. Additionally, this 36 ``sk_psock`` inherits the programs that are attached to the map.
|