Home
last modified time | relevance | path

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

/Linux-v5.10/include/linux/
Dskmsg.h85 struct sk_psock { struct
136 static inline void sk_msg_apply_bytes(struct sk_psock *psock, u32 bytes) in sk_msg_apply_bytes()
282 static inline struct sk_psock *sk_psock(const struct sock *sk) in sk_psock() function
287 static inline void sk_psock_queue_msg(struct sk_psock *psock, in sk_psock_queue_msg()
293 static inline bool sk_psock_queue_empty(const struct sk_psock *psock) in sk_psock_queue_empty()
298 static inline void sk_psock_report_error(struct sk_psock *psock, int err) in sk_psock_report_error()
306 struct sk_psock *sk_psock_init(struct sock *sk, int node);
308 int sk_psock_init_strp(struct sock *sk, struct sk_psock *psock);
309 void sk_psock_start_strp(struct sock *sk, struct sk_psock *psock);
310 void sk_psock_stop_strp(struct sock *sk, struct sk_psock *psock);
[all …]
/Linux-v5.10/net/core/
Dskmsg.c422 struct sk_psock *psock, in sk_psock_skb_ingress_enqueue()
452 static int sk_psock_skb_ingress_self(struct sk_psock *psock, struct sk_buff *skb);
454 static int sk_psock_skb_ingress(struct sk_psock *psock, struct sk_buff *skb) in sk_psock_skb_ingress()
483 static int sk_psock_skb_ingress_self(struct sk_psock *psock, struct sk_buff *skb) in sk_psock_skb_ingress_self()
494 static int sk_psock_handle_skb(struct sk_psock *psock, struct sk_buff *skb, in sk_psock_handle_skb()
507 struct sk_psock *psock = container_of(work, struct sk_psock, work); in sk_psock_backlog()
558 struct sk_psock *sk_psock_init(struct sock *sk, int node) in sk_psock_init()
560 struct sk_psock *psock; in sk_psock_init()
608 struct sk_psock_link *sk_psock_link_pop(struct sk_psock *psock) in sk_psock_link_pop()
621 void __sk_psock_purge_ingress_msg(struct sk_psock *psock) in __sk_psock_purge_ingress_msg()
[all …]
Dsock_map.c137 static void sock_map_add_link(struct sk_psock *psock, in sock_map_add_link()
149 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()
213 static struct sk_psock *sock_map_psock_get_checked(struct sock *sk) in sock_map_psock_get_checked()
215 struct sk_psock *psock; in sock_map_psock_get_checked()
218 psock = sk_psock(sk); in sock_map_psock_get_checked()
237 struct sk_psock *psock; in sock_map_link()
326 struct sk_psock *psock; in sock_map_link_no_progs()
482 struct sk_psock *psock; in sock_map_update_common()
[all …]
/Linux-v5.10/net/ipv4/
Dtcp_bpf.c13 int __tcp_bpf_recvmsg(struct sock *sk, struct sk_psock *psock, in __tcp_bpf_recvmsg()
93 static int bpf_tcp_ingress(struct sock *sk, struct sk_psock *psock, in bpf_tcp_ingress()
218 struct sk_psock *psock = sk_psock_get(sk); in tcp_bpf_sendmsg_redir()
235 struct sk_psock *psock; in tcp_bpf_stream_read()
239 psock = sk_psock(sk); in tcp_bpf_stream_read()
246 static int tcp_bpf_wait_data(struct sock *sk, struct sk_psock *psock, in tcp_bpf_wait_data()
271 struct sk_psock *psock; in tcp_bpf_recvmsg()
314 static int tcp_bpf_send_verdict(struct sock *sk, struct sk_psock *psock, in tcp_bpf_send_verdict()
412 struct sk_psock *psock; in tcp_bpf_sendmsg()
501 struct sk_psock *psock; in tcp_bpf_sendpage()
[all …]
Dudp_bpf.c44 struct proto *udp_bpf_get_proto(struct sock *sk, struct sk_psock *psock) in udp_bpf_get_proto()
/Linux-v5.10/include/net/
Dudp.h515 struct sk_psock;
516 struct proto *udp_bpf_get_proto(struct sock *sk, struct sk_psock *psock);
Dtcp.h2212 struct sk_psock;
2215 struct proto *tcp_bpf_get_proto(struct sock *sk, struct sk_psock *psock);
2226 int __tcp_bpf_recvmsg(struct sock *sk, struct sk_psock *psock,
/Linux-v5.10/net/tls/
Dtls_sw.c792 struct sk_psock *psock; in bpf_exec_tx_verdict()
1284 static struct sk_buff *tls_wait_data(struct sock *sk, struct sk_psock *psock, in tls_wait_data()
1740 struct sk_psock *psock; in tls_sw_recvmsg()
2035 struct sk_psock *psock; in tls_sw_stream_read()
2038 psock = sk_psock(sk); in tls_sw_stream_read()
2126 struct sk_psock *psock; in tls_data_ready()