Home
last modified time | relevance | path

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

/kernel/linux/linux-5.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
288 static inline void sk_psock_queue_msg(struct sk_psock *psock, in sk_psock_queue_msg()
294 static inline bool sk_psock_queue_empty(const struct sk_psock *psock) in sk_psock_queue_empty()
299 static inline void sk_psock_report_error(struct sk_psock *psock, int err) in sk_psock_report_error()
307 struct sk_psock *sk_psock_init(struct sock *sk, int node);
309 int sk_psock_init_strp(struct sock *sk, struct sk_psock *psock);
310 void sk_psock_start_strp(struct sock *sk, struct sk_psock *psock);
311 void sk_psock_stop_strp(struct sock *sk, struct sk_psock *psock);
[all …]
/kernel/linux/linux-5.10/net/core/
Dskmsg.c431 struct sk_psock *psock, in sk_psock_skb_ingress_enqueue()
459 static int sk_psock_skb_ingress_self(struct sk_psock *psock, struct sk_buff *skb);
461 static int sk_psock_skb_ingress(struct sk_psock *psock, struct sk_buff *skb) in sk_psock_skb_ingress()
494 static int sk_psock_skb_ingress_self(struct sk_psock *psock, struct sk_buff *skb) in sk_psock_skb_ingress_self()
510 static int sk_psock_handle_skb(struct sk_psock *psock, struct sk_buff *skb, in sk_psock_handle_skb()
523 struct sk_psock *psock = container_of(work, struct sk_psock, work); in sk_psock_backlog()
574 struct sk_psock *sk_psock_init(struct sock *sk, int node) in sk_psock_init()
576 struct sk_psock *psock; in sk_psock_init()
626 struct sk_psock_link *sk_psock_link_pop(struct sk_psock *psock) in sk_psock_link_pop()
639 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()
484 struct sk_psock *psock; in sock_map_update_common()
[all …]
/kernel/linux/linux-5.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()
221 struct sk_psock *psock = sk_psock_get(sk); in tcp_bpf_sendmsg_redir()
237 struct sk_psock *psock; in tcp_bpf_stream_read()
241 psock = sk_psock(sk); in tcp_bpf_stream_read()
248 static int tcp_bpf_wait_data(struct sock *sk, struct sk_psock *psock, in tcp_bpf_wait_data()
273 struct sk_psock *psock; in tcp_bpf_recvmsg()
316 static int tcp_bpf_send_verdict(struct sock *sk, struct sk_psock *psock, in tcp_bpf_send_verdict()
432 struct sk_psock *psock; in tcp_bpf_sendmsg()
521 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()
/kernel/linux/linux-5.10/include/net/
Dudp.h518 struct sk_psock;
519 struct proto *udp_bpf_get_proto(struct sock *sk, struct sk_psock *psock);
Dtcp.h2231 struct sk_psock;
2234 struct proto *tcp_bpf_get_proto(struct sock *sk, struct sk_psock *psock);
2245 int __tcp_bpf_recvmsg(struct sock *sk, struct sk_psock *psock,
/kernel/linux/linux-5.10/net/tls/
Dtls_sw.c802 struct sk_psock *psock; in bpf_exec_tx_verdict()
1296 static struct sk_buff *tls_wait_data(struct sock *sk, struct sk_psock *psock, in tls_wait_data()
1752 struct sk_psock *psock; in tls_sw_recvmsg()
2044 struct sk_psock *psock; in tls_sw_stream_read()
2047 psock = sk_psock(sk); in tls_sw_stream_read()
2135 struct sk_psock *psock; in tls_data_ready()