Home
last modified time | relevance | path

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

/Linux-v5.4/include/linux/
Dskmsg.h81 struct sk_psock { struct
132 static inline void sk_msg_apply_bytes(struct sk_psock *psock, u32 bytes) in sk_msg_apply_bytes()
277 static inline struct sk_psock *sk_psock(const struct sock *sk) in sk_psock() function
282 static inline void sk_psock_queue_msg(struct sk_psock *psock, in sk_psock_queue_msg()
288 static inline bool sk_psock_queue_empty(const struct sk_psock *psock) in sk_psock_queue_empty()
293 static inline void sk_psock_report_error(struct sk_psock *psock, int err) in sk_psock_report_error()
301 struct sk_psock *sk_psock_init(struct sock *sk, int node);
303 int sk_psock_init_strp(struct sock *sk, struct sk_psock *psock);
304 void sk_psock_start_strp(struct sock *sk, struct sk_psock *psock);
305 void sk_psock_stop_strp(struct sock *sk, struct sk_psock *psock);
[all …]
/Linux-v5.4/net/core/
Dskmsg.c399 static int sk_psock_skb_ingress(struct sk_psock *psock, struct sk_buff *skb) in sk_psock_skb_ingress()
432 static int sk_psock_handle_skb(struct sk_psock *psock, struct sk_buff *skb, in sk_psock_handle_skb()
443 struct sk_psock *psock = container_of(work, struct sk_psock, work); in sk_psock_backlog()
494 struct sk_psock *sk_psock_init(struct sock *sk, int node) in sk_psock_init()
496 struct sk_psock *psock = kzalloc_node(sizeof(*psock), in sk_psock_init()
522 struct sk_psock_link *sk_psock_link_pop(struct sk_psock *psock) in sk_psock_link_pop()
535 void __sk_psock_purge_ingress_msg(struct sk_psock *psock) in __sk_psock_purge_ingress_msg()
546 static void sk_psock_zap_ingress(struct sk_psock *psock) in sk_psock_zap_ingress()
552 static void sk_psock_link_destroy(struct sk_psock *psock) in sk_psock_link_destroy()
564 struct sk_psock *psock = container_of(gc, struct sk_psock, gc); in sk_psock_destroy_deferred()
[all …]
Dsock_map.c95 static void sock_map_add_link(struct sk_psock *psock, in sock_map_add_link()
107 struct sk_psock *psock, void *link_raw) in sock_map_del_link()
134 struct sk_psock *psock = sk_psock(sk); in sock_map_unref()
147 struct sk_psock *psock; in sock_map_link()
339 struct sk_psock *psock; in sock_map_update_common()
359 psock = sk_psock(sk); in sock_map_update_common()
664 struct sk_psock *psock; in sock_hash_update_common()
681 psock = sk_psock(sk); in sock_hash_update_common()
/Linux-v5.4/net/ipv4/
Dtcp_bpf.c15 struct sk_psock *psock; in tcp_bpf_stream_read()
19 psock = sk_psock(sk); in tcp_bpf_stream_read()
26 static int tcp_bpf_wait_data(struct sock *sk, struct sk_psock *psock, in tcp_bpf_wait_data()
45 int __tcp_bpf_recvmsg(struct sock *sk, struct sk_psock *psock, in __tcp_bpf_recvmsg()
121 struct sk_psock *psock; in tcp_bpf_recvmsg()
161 static int bpf_tcp_ingress(struct sock *sk, struct sk_psock *psock, in bpf_tcp_ingress()
287 struct sk_psock *psock = sk_psock_get(sk); in tcp_bpf_sendmsg_redir()
301 static int tcp_bpf_send_verdict(struct sock *sk, struct sk_psock *psock, in tcp_bpf_send_verdict()
402 struct sk_psock *psock; in tcp_bpf_sendmsg()
491 struct sk_psock *psock; in tcp_bpf_sendpage()
[all …]
/Linux-v5.4/net/tls/
Dtls_sw.c760 struct sk_psock *psock; in bpf_exec_tx_verdict()
1236 static struct sk_buff *tls_wait_data(struct sock *sk, struct sk_psock *psock, in tls_wait_data()
1684 struct sk_psock *psock; in tls_sw_recvmsg()
1955 struct sk_psock *psock; in tls_sw_stream_read()
1958 psock = sk_psock(sk); in tls_sw_stream_read()
2046 struct sk_psock *psock; in tls_data_ready()
/Linux-v5.4/include/net/
Dtcp.h2146 struct sk_psock;
2154 int __tcp_bpf_recvmsg(struct sock *sk, struct sk_psock *psock,