Home
last modified time | relevance | path

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

/Linux-v5.15/include/linux/
Dskmsg.h80 struct sk_psock { struct
102 int (*psock_update_sk_prot)(struct sock *sk, struct sk_psock *psock, argument
129 int sk_msg_recvmsg(struct sock *sk, struct sk_psock *psock, struct msghdr *msg, argument
138 static inline void sk_msg_apply_bytes(struct sk_psock *psock, u32 bytes) in sk_msg_apply_bytes()
284 static inline struct sk_psock *sk_psock(const struct sock *sk) in sk_psock() function
289 static inline void sk_psock_set_state(struct sk_psock *psock, in sk_psock_set_state()
295 static inline void sk_psock_clear_state(struct sk_psock *psock, in sk_psock_clear_state()
301 static inline bool sk_psock_test_state(const struct sk_psock *psock, in sk_psock_test_state()
313 static inline void drop_sk_msg(struct sk_psock *psock, struct sk_msg *msg) in drop_sk_msg()
320 static inline void sk_psock_queue_msg(struct sk_psock *psock, in sk_psock_queue_msg()
[all …]
/Linux-v5.15/net/core/
Dskmsg.c403 int sk_msg_recvmsg(struct sock *sk, struct sk_psock *psock, struct msghdr *msg, in sk_msg_recvmsg()
479 struct sk_psock *psock; in sk_msg_is_readable()
483 psock = sk_psock(sk); in sk_msg_is_readable()
511 struct sk_psock *psock, in sk_psock_skb_ingress_enqueue()
539 static int sk_psock_skb_ingress_self(struct sk_psock *psock, struct sk_buff *skb);
541 static int sk_psock_skb_ingress(struct sk_psock *psock, struct sk_buff *skb) in sk_psock_skb_ingress()
574 static int sk_psock_skb_ingress_self(struct sk_psock *psock, struct sk_buff *skb) in sk_psock_skb_ingress_self()
590 static int sk_psock_handle_skb(struct sk_psock *psock, struct sk_buff *skb, in sk_psock_handle_skb()
601 static void sk_psock_skb_state(struct sk_psock *psock, in sk_psock_skb_state()
619 struct sk_psock *psock = container_of(work, struct sk_psock, work); in sk_psock_backlog()
[all …]
Dsock_map.c132 static void sock_map_add_link(struct sk_psock *psock, in sock_map_add_link()
144 struct sk_psock *psock, void *link_raw) in sock_map_del_link()
178 struct sk_psock *psock = sk_psock(sk); in sock_map_unref()
186 static int sock_map_init_proto(struct sock *sk, struct sk_psock *psock) in sock_map_init_proto()
194 static struct sk_psock *sock_map_psock_get_checked(struct sock *sk) in sock_map_psock_get_checked()
196 struct sk_psock *psock; in sock_map_psock_get_checked()
199 psock = sk_psock(sk); in sock_map_psock_get_checked()
221 struct sk_psock *psock; in sock_map_link()
461 struct sk_psock *psock; in sock_map_update_common()
479 psock = sk_psock(sk); in sock_map_update_common()
[all …]
/Linux-v5.15/net/ipv4/
Dudp_bpf.c30 static bool psock_has_data(struct sk_psock *psock) in psock_has_data()
39 static int udp_msg_wait_data(struct sock *sk, struct sk_psock *psock, in udp_msg_wait_data()
66 struct sk_psock *psock; in udp_bpf_recvmsg()
139 int udp_bpf_update_proto(struct sock *sk, struct sk_psock *psock, bool restore) in udp_bpf_update_proto()
Dtcp_bpf.c13 static int bpf_tcp_ingress(struct sock *sk, struct sk_psock *psock, in bpf_tcp_ingress()
138 struct sk_psock *psock = sk_psock_get(sk); in tcp_bpf_sendmsg_redir()
153 static int tcp_msg_wait_data(struct sock *sk, struct sk_psock *psock, in tcp_msg_wait_data()
178 struct sk_psock *psock; in tcp_bpf_recvmsg()
216 static int tcp_bpf_send_verdict(struct sock *sk, struct sk_psock *psock, in tcp_bpf_send_verdict()
326 struct sk_psock *psock; in tcp_bpf_sendmsg()
415 struct sk_psock *psock; in tcp_bpf_sendpage()
518 int tcp_bpf_update_proto(struct sock *sk, struct sk_psock *psock, bool restore) in tcp_bpf_update_proto()
/Linux-v5.15/net/unix/
Dunix_bpf.c15 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()
142 int unix_dgram_bpf_update_proto(struct sock *sk, struct sk_psock *psock, bool restore) in unix_dgram_bpf_update_proto()
158 int unix_stream_bpf_update_proto(struct sock *sk, struct sk_psock *psock, bool restore) in unix_stream_bpf_update_proto()
/Linux-v5.15/include/net/
Daf_unix.h104 int unix_dgram_bpf_update_proto(struct sock *sk, struct sk_psock *psock, bool restore);
105 int unix_stream_bpf_update_proto(struct sock *sk, struct sk_psock *psock, bool restore);
Dudp.h545 struct sk_psock;
546 struct proto *udp_bpf_get_proto(struct sock *sk, struct sk_psock *psock);
547 int udp_bpf_update_proto(struct sock *sk, struct sk_psock *psock, bool restore);
Dtcp.h2221 struct sk_psock;
2224 struct proto *tcp_bpf_get_proto(struct sock *sk, struct sk_psock *psock);
2225 int tcp_bpf_update_proto(struct sock *sk, struct sk_psock *psock, bool restore);
Dsock.h1128 struct sk_psock;
1201 struct sk_psock *psock,
/Linux-v5.15/net/tls/
Dtls_sw.c801 struct sk_psock *psock; in bpf_exec_tx_verdict()
1293 static struct sk_buff *tls_wait_data(struct sock *sk, struct sk_psock *psock, in tls_wait_data()
1749 struct sk_psock *psock; in tls_sw_recvmsg()
2043 struct sk_psock *psock; in tls_sw_sock_is_readable()
2046 psock = sk_psock(sk); in tls_sw_sock_is_readable()
2135 struct sk_psock *psock; in tls_data_ready()