/linux-5.19.10/include/linux/ |
D | skmsg.h | 79 struct sk_psock { struct 101 int (*psock_update_sk_prot)(struct sock *sk, struct sk_psock *psock, argument 128 int sk_msg_recvmsg(struct sock *sk, struct sk_psock *psock, struct msghdr *msg, argument 137 static inline void sk_msg_apply_bytes(struct sk_psock *psock, u32 bytes) in sk_msg_apply_bytes() 278 static inline struct sk_psock *sk_psock(const struct sock *sk) in sk_psock() function 284 static inline void sk_psock_set_state(struct sk_psock *psock, in sk_psock_set_state() 290 static inline void sk_psock_clear_state(struct sk_psock *psock, in sk_psock_clear_state() 296 static inline bool sk_psock_test_state(const struct sk_psock *psock, in sk_psock_test_state() 308 static inline void sk_psock_queue_msg(struct sk_psock *psock, in sk_psock_queue_msg() 321 static inline struct sk_msg *sk_psock_dequeue_msg(struct sk_psock *psock) in sk_psock_dequeue_msg() [all …]
|
/linux-5.19.10/net/core/ |
D | skmsg.c | 412 int sk_msg_recvmsg(struct sock *sk, struct sk_psock *psock, struct msghdr *msg, in sk_msg_recvmsg() 488 struct sk_psock *psock; in sk_msg_is_readable() 492 psock = sk_psock(sk); in sk_msg_is_readable() 521 struct sk_psock *psock, in sk_psock_skb_ingress_enqueue() 553 static int sk_psock_skb_ingress_self(struct sk_psock *psock, struct sk_buff *skb, 556 static int sk_psock_skb_ingress(struct sk_psock *psock, struct sk_buff *skb, in sk_psock_skb_ingress() 590 static int sk_psock_skb_ingress_self(struct sk_psock *psock, struct sk_buff *skb, in sk_psock_skb_ingress_self() 607 static int sk_psock_handle_skb(struct sk_psock *psock, struct sk_buff *skb, in sk_psock_handle_skb() 618 static void sk_psock_skb_state(struct sk_psock *psock, in sk_psock_skb_state() 636 struct sk_psock *psock = container_of(work, struct sk_psock, work); in sk_psock_backlog() [all …]
|
D | sock_map.c | 132 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() 181 struct sk_psock *psock = sk_psock(sk); in sock_map_unref() 189 static int sock_map_init_proto(struct sock *sk, struct sk_psock *psock) in sock_map_init_proto() 197 static struct sk_psock *sock_map_psock_get_checked(struct sock *sk) in sock_map_psock_get_checked() 199 struct sk_psock *psock; in sock_map_psock_get_checked() 202 psock = sk_psock(sk); in sock_map_psock_get_checked() 224 struct sk_psock *psock; in sock_map_link() 471 struct sk_psock *psock; in sock_map_update_common() 489 psock = sk_psock(sk); in sock_map_update_common() [all …]
|
/linux-5.19.10/net/ipv4/ |
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() 138 int udp_bpf_update_proto(struct sock *sk, struct sk_psock *psock, bool restore) in udp_bpf_update_proto()
|
D | tcp_bpf.c | 13 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() 152 static int tcp_msg_wait_data(struct sock *sk, struct sk_psock *psock, in tcp_msg_wait_data() 180 struct sk_psock *psock; in tcp_bpf_recvmsg_parser() 238 struct sk_psock *psock; in tcp_bpf_recvmsg() 276 static int tcp_bpf_send_verdict(struct sock *sk, struct sk_psock *psock, in tcp_bpf_send_verdict() 389 struct sk_psock *psock; in tcp_bpf_sendmsg() 478 struct sk_psock *psock; in tcp_bpf_sendpage() 588 int tcp_bpf_update_proto(struct sock *sk, struct sk_psock *psock, bool restore) in tcp_bpf_update_proto()
|
/linux-5.19.10/net/unix/ |
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() 141 int unix_dgram_bpf_update_proto(struct sock *sk, struct sk_psock *psock, bool restore) in unix_dgram_bpf_update_proto() 157 int unix_stream_bpf_update_proto(struct sock *sk, struct sk_psock *psock, bool restore) in unix_stream_bpf_update_proto()
|
/linux-5.19.10/include/net/ |
D | af_unix.h | 103 int unix_dgram_bpf_update_proto(struct sock *sk, struct sk_psock *psock, bool restore); 104 int unix_stream_bpf_update_proto(struct sock *sk, struct sk_psock *psock, bool restore);
|
D | udp.h | 521 struct sk_psock; 522 struct proto *udp_bpf_get_proto(struct sock *sk, struct sk_psock *psock); 523 int udp_bpf_update_proto(struct sock *sk, struct sk_psock *psock, bool restore);
|
D | tcp.h | 2270 struct sk_psock; 2273 struct proto *tcp_bpf_get_proto(struct sock *sk, struct sk_psock *psock); 2274 int tcp_bpf_update_proto(struct sock *sk, struct sk_psock *psock, bool restore);
|
D | sock.h | 1179 struct sk_psock; 1252 struct sk_psock *psock,
|
/linux-5.19.10/net/tls/ |
D | tls_sw.c | 801 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() 1729 struct sk_psock *psock; in tls_sw_recvmsg() 1997 struct sk_psock *psock; in tls_sw_sock_is_readable() 2000 psock = sk_psock(sk); in tls_sw_sock_is_readable() 2087 struct sk_psock *psock; in tls_data_ready()
|