Home
last modified time | relevance | path

Searched refs:sk_msg (Results 1 – 12 of 12) sorted by relevance

/linux/include/linux/
H A Dskmsg.h44 struct sk_msg { struct
91 struct sk_msg *cork;
127 int sk_msg_alloc(struct sock *sk, struct sk_msg *msg, int len,
129 int sk_msg_clone(struct sock *sk, struct sk_msg *dst, struct sk_msg *src,
131 void sk_msg_trim(struct sock *sk, struct sk_msg *msg, int len);
132 int sk_msg_free(struct sock *sk, struct sk_msg *msg);
133 int sk_msg_free_nocharge(struct sock *sk, struct sk_msg *msg);
134 void sk_msg_free_partial(struct sock *sk, struct sk_msg *msg, u32 bytes);
135 void sk_msg_free_partial_nocharge(struct sock *sk, struct sk_msg *msg,
138 void sk_msg_return(struct sock *sk, struct sk_msg *msg, int bytes);
[all …]
/linux/net/ipv4/
H A Dtcp_bpf.c34 struct sk_msg *msg, u32 apply_bytes) in bpf_tcp_ingress()
39 struct sk_msg *tmp; in bpf_tcp_ingress()
91 static int tcp_bpf_push(struct sock *sk, struct sk_msg *msg, u32 apply_bytes, in tcp_bpf_push()
153 static int tcp_bpf_push_locked(struct sock *sk, struct sk_msg *msg, in tcp_bpf_push_locked()
165 struct sk_msg *msg, u32 bytes, int flags) in tcp_bpf_sendmsg_redir()
206 struct sk_msg *msg_rx; in is_next_msg_fin()
419 struct sk_msg *msg, int *copied, int flags) in tcp_bpf_send_verdict()
536 struct sk_msg tmp, *msg_tx = NULL; in tcp_bpf_sendmsg()
/linux/tools/testing/selftests/bpf/progs/
H A Dtest_ns_current_pid_tgid.c46 int sk_msg(struct sk_msg_md *msg) in sk_msg() function
/linux/include/net/
H A Despintcp.h16 struct sk_msg skmsg;
H A Dtcp.h2837 struct sk_msg;
2859 struct sk_msg *msg, u32 bytes, int flags);
/linux/tools/testing/selftests/bpf/prog_tests/
H A Dns_current_pid_tgid.c135 bpf_program__set_autoload(skel->progs.sk_msg, true); in test_current_pid_tgid_sk_msg()
145 verdict = bpf_program__fd(skel->progs.sk_msg); in test_current_pid_tgid_sk_msg()
/linux/net/tls/
H A Dtls_sw.c326 struct sk_msg *msg_en = &rec->msg_encrypted; in tls_alloc_encrypted_msg()
337 struct sk_msg *msg_pl = &rec->msg_plaintext; in tls_clone_plaintext_msg()
338 struct sk_msg *msg_en = &rec->msg_encrypted; in tls_clone_plaintext_msg()
360 struct sk_msg *msg_pl, *msg_en; in tls_get_rec()
413 struct sk_msg *msg_en; in tls_tx_records()
474 struct sk_msg *msg_en; in tls_encrypt_done()
542 struct sk_msg *msg_en = &rec->msg_encrypted; in tls_do_encryption()
624 struct sk_msg *msg_pl, *msg_en; in tls_push_record()
701 static int bpf_exec_tx_verdict(struct sk_msg *msg, struct sock *sk, in bpf_exec_tx_verdict()
720 struct sk_msg *msg_pl; in tls_sw_push_pending_record()
[all …]
H A Dtls.h116 struct sk_msg msg_plaintext;
117 struct sk_msg msg_encrypted;
/linux/net/core/
H A Dfilter.c2634 BPF_CALL_2(bpf_msg_apply_bytes, struct sk_msg *, msg, u32, bytes) in BPF_CALL_2() argument
2648 BPF_CALL_2(bpf_msg_cork_bytes, struct sk_msg *, msg, u32, bytes) in BPF_CALL_2() argument
2654 static void sk_msg_reset_curr(struct sk_msg *msg) in sk_msg_reset_curr()
2668 static bool sk_msg_elem_is_copy(const struct sk_msg *msg, u32 i) in sk_msg_elem_is_copy()
2673 static void sk_msg_clear_elem_copy(struct sk_msg *msg, u32 i) in sk_msg_clear_elem_copy()
2678 static void sk_msg_set_elem_copy(struct sk_msg *msg, u32 i, bool sg_copy) in sk_msg_set_elem_copy()
2683 static void sk_msg_clear_copy_range(struct sk_msg *msg, u32 start, u32 end) in sk_msg_clear_copy_range()
2691 static void sk_msg_sg_move(struct sk_msg *msg, u32 dst, u32 src) in sk_msg_sg_move()
2707 BPF_CALL_4(bpf_msg_pull_data, struct sk_msg *, msg, u32, start, in BPF_CALL_4() argument
2844 BPF_CALL_4(bpf_msg_push_data, struct sk_msg *, msg, u32, start, in BPF_CALL_4() argument
[all …]
H A Dsock_map.c675 BPF_CALL_4(bpf_msg_redirect_map, struct sk_msg *, msg, in BPF_CALL_4() argument
1281 BPF_CALL_4(bpf_msg_redirect_hash, struct sk_msg *, msg, in BPF_CALL_4() argument
/linux/net/xfrm/
H A Despintcp.c212 struct sk_msg *skmsg = &emsg->skmsg; in espintcp_sendskmsg_locked()
/linux/tools/bpf/bpftool/Documentation/
H A Dbpftool-prog.rst49 | **lwt_seg6local** | **sockops** | **sk_skb** | **sk_msg** | **lirc_mode2** |