Home
last modified time | relevance | path

Searched refs:sk_psock (Results 1 – 13 of 13) sorted by relevance

/linux/include/linux/
H A Dskmsg.h83 struct sk_psock { struct
116 int (*psock_update_sk_prot)(struct sock *sk, struct sk_psock *psock, argument
144 int sk_msg_recvmsg(struct sock *sk, struct sk_psock *psock, struct msghdr *msg, argument
146 int __sk_msg_recvmsg(struct sock *sk, struct sk_psock *psock, struct msghdr *msg,
155 static inline void sk_msg_apply_bytes(struct sk_psock *psock, u32 bytes) in sk_msg_apply_bytes()
296 static inline struct sk_psock *sk_psock(const struct sock *sk) in sk_psock() function
302 static inline void sk_psock_set_state(struct sk_psock *psock, in sk_psock_set_state()
308 static inline void sk_psock_clear_state(struct sk_psock *psock, in sk_psock_clear_state()
314 static inline bool sk_psock_test_state(const struct sk_psock *psock, in sk_psock_test_state()
326 static inline u32 sk_psock_get_msg_len_nolock(struct sk_psock *psock) in sk_psock_get_msg_len_nolock()
[all …]
/linux/net/core/
H A Dskmsg.c412 int __sk_msg_recvmsg(struct sock *sk, struct sk_psock *psock, struct msghdr *msg, in __sk_msg_recvmsg()
500 int sk_msg_recvmsg(struct sock *sk, struct sk_psock *psock, struct msghdr *msg, in sk_msg_recvmsg()
509 struct sk_psock *psock; in sk_msg_is_readable()
513 psock = sk_psock(sk); in sk_msg_is_readable()
546 struct sk_psock *psock, in sk_psock_skb_ingress_enqueue()
587 static int sk_psock_skb_ingress_self(struct sk_psock *psock, struct sk_buff *skb,
590 static int sk_psock_skb_ingress(struct sk_psock *psock, struct sk_buff *skb, in sk_psock_skb_ingress()
624 static int sk_psock_skb_ingress_self(struct sk_psock *psock, struct sk_buff *skb, in sk_psock_skb_ingress_self()
646 static int sk_psock_handle_skb(struct sk_psock *psock, struct sk_buff *skb, in sk_psock_handle_skb()
658 static void sk_psock_skb_state(struct sk_psock *psock, in sk_psock_skb_state()
[all …]
/linux/net/vmw_vsock/
H A Dvsock_bpf.c25 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()
150 int vsock_bpf_update_proto(struct sock *sk, struct sk_psock *psock, bool restore) in vsock_bpf_update_proto()
/linux/net/ipv4/
H A Dudp_bpf.c28 static bool psock_has_data(struct sk_psock *psock) in psock_has_data()
37 static int udp_msg_wait_data(struct sock *sk, struct sk_psock *psock, in udp_msg_wait_data()
64 struct sk_psock *psock; in udp_bpf_recvmsg()
154 int udp_bpf_update_proto(struct sock *sk, struct sk_psock *psock, bool restore) in udp_bpf_update_proto()
H A Dtcp_bpf.c33 static int bpf_tcp_ingress(struct sock *sk, struct sk_psock *psock, in bpf_tcp_ingress()
167 struct sk_psock *psock = sk_psock_get(sk); in tcp_bpf_sendmsg_redir()
181 static int tcp_msg_wait_data(struct sock *sk, struct sk_psock *psock, in tcp_msg_wait_data()
203 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()
356 struct sk_psock *psock; in tcp_bpf_recvmsg()
403 static int tcp_bpf_send_verdict(struct sock *sk, struct sk_psock *psock, in tcp_bpf_send_verdict()
521 struct sk_psock *psock; in tcp_bpf_sendmsg()
677 struct sk_psock *psock; in tcp_bpf_strp_read_sock()
683 psock = sk_psock(sk); in tcp_bpf_strp_read_sock()
[all …]
/linux/net/unix/
H A Dunix_bpf.c16 static int unix_msg_wait_data(struct sock *sk, struct sk_psock *psock, in unix_msg_wait_data()
55 struct sk_psock *psock; in unix_bpf_recvmsg()
148 int unix_dgram_bpf_update_proto(struct sock *sk, struct sk_psock *psock, bool restore) in unix_dgram_bpf_update_proto()
164 int unix_stream_bpf_update_proto(struct sock *sk, struct sk_psock *psock, bool restore) in unix_stream_bpf_update_proto()
H A Daf_unix.h62 int unix_dgram_bpf_update_proto(struct sock *sk, struct sk_psock *psock, bool restore);
63 int unix_stream_bpf_update_proto(struct sock *sk, struct sk_psock *psock, bool restore);
/linux/include/net/
H A Daf_vsock.h263 int vsock_bpf_update_proto(struct sock *sk, struct sk_psock *psock, bool restore);
H A Dsock.h1267 struct sk_psock;
1346 struct sk_psock *psock,
H A Dtcp.h2852 struct sk_psock;
2855 int tcp_bpf_update_proto(struct sock *sk, struct sk_psock *psock, bool restore);
/linux/net/tls/
H A Dtls_sw.c860 struct sk_psock *psock; in bpf_exec_tx_verdict()
1360 tls_rx_rec_wait(struct sock *sk, struct sk_psock *psock, bool nonblock, in tls_rx_rec_wait()
2051 struct sk_psock *psock; in tls_sw_recvmsg()
2345 struct sk_psock *psock; in tls_sw_read_sock()
2438 struct sk_psock *psock; in tls_sw_sock_is_readable()
2441 psock = sk_psock(sk); in tls_sw_sock_is_readable()
2521 struct sk_psock *psock; in tls_data_ready()
H A Dtls_main.c407 struct sk_psock *psock; in tls_sk_poll()
/linux/Documentation/bpf/
H A Dmap_sockmap.rst35 replaced and a ``struct sk_psock`` is attached to it. Additionally, this
36 ``sk_psock`` inherits the programs that are attached to the map.