Home
last modified time | relevance | path

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

/OK3568_Linux_fs/kernel/include/linux/
H A Dskmsg.h44 struct sk_msg { struct
91 struct sk_msg *cork;
112 int sk_msg_alloc(struct sock *sk, struct sk_msg *msg, int len,
114 int sk_msg_clone(struct sock *sk, struct sk_msg *dst, struct sk_msg *src,
116 void sk_msg_trim(struct sock *sk, struct sk_msg *msg, int len);
117 int sk_msg_free(struct sock *sk, struct sk_msg *msg);
118 int sk_msg_free_nocharge(struct sock *sk, struct sk_msg *msg);
119 void sk_msg_free_partial(struct sock *sk, struct sk_msg *msg, u32 bytes);
120 void sk_msg_free_partial_nocharge(struct sock *sk, struct sk_msg *msg,
123 void sk_msg_return(struct sock *sk, struct sk_msg *msg, int bytes);
[all …]
H A Dbpf_types.h33 BPF_PROG_TYPE(BPF_PROG_TYPE_SK_MSG, sk_msg,
34 struct sk_msg_md, struct sk_msg)
/OK3568_Linux_fs/kernel/net/core/
H A Dskmsg.c12 static bool sk_msg_try_coalesce_ok(struct sk_msg *msg, int elem_first_coalesce) in sk_msg_try_coalesce_ok()
26 int sk_msg_alloc(struct sock *sk, struct sk_msg *msg, int len, in sk_msg_alloc()
86 int sk_msg_clone(struct sock *sk, struct sk_msg *dst, struct sk_msg *src, in sk_msg_clone()
137 void sk_msg_return_zero(struct sock *sk, struct sk_msg *msg, int bytes) in sk_msg_return_zero()
161 void sk_msg_return(struct sock *sk, struct sk_msg *msg, int bytes) in sk_msg_return()
176 static int sk_msg_free_elem(struct sock *sk, struct sk_msg *msg, u32 i, in sk_msg_free_elem()
192 static int __sk_msg_free(struct sock *sk, struct sk_msg *msg, u32 i, in __sk_msg_free()
210 int sk_msg_free_nocharge(struct sock *sk, struct sk_msg *msg) in sk_msg_free_nocharge()
216 int sk_msg_free(struct sock *sk, struct sk_msg *msg) in sk_msg_free()
222 static void __sk_msg_free_partial(struct sock *sk, struct sk_msg *msg, in __sk_msg_free_partial()
[all …]
H A Dfilter.c2569 BPF_CALL_2(bpf_msg_apply_bytes, struct sk_msg *, msg, u32, bytes) in BPF_CALL_2() argument
2583 BPF_CALL_2(bpf_msg_cork_bytes, struct sk_msg *, msg, u32, bytes) in BPF_CALL_2() argument
2597 BPF_CALL_4(bpf_msg_pull_data, struct sk_msg *, msg, u32, start, in BPF_CALL_4() argument
2723 BPF_CALL_4(bpf_msg_push_data, struct sk_msg *, msg, u32, start, in BPF_CALL_4() argument
2858 static void sk_msg_shift_left(struct sk_msg *msg, int i) in sk_msg_shift_left()
2871 static void sk_msg_shift_right(struct sk_msg *msg, int i) in sk_msg_shift_right()
2888 BPF_CALL_4(bpf_msg_pop_data, struct sk_msg *, msg, u32, start, in BPF_CALL_4() argument
9562 BUILD_BUG_ON(offsetof(struct sk_msg, sg) != 0); in sk_msg_convert_ctx_access()
9566 *insn++ = BPF_LDX_MEM(BPF_FIELD_SIZEOF(struct sk_msg, data), in sk_msg_convert_ctx_access()
9568 offsetof(struct sk_msg, data)); in sk_msg_convert_ctx_access()
[all …]
H A Dsock_map.c694 BPF_CALL_4(bpf_msg_redirect_map, struct sk_msg *, msg, in BPF_CALL_4() argument
1307 BPF_CALL_4(bpf_msg_redirect_hash, struct sk_msg *, msg, in BPF_CALL_4() argument
/OK3568_Linux_fs/kernel/net/ipv4/
H A Dtcp_bpf.c18 struct sk_msg *msg_rx; in __tcp_bpf_recvmsg()
22 struct sk_msg, list); in __tcp_bpf_recvmsg()
72 struct sk_msg, list)) in __tcp_bpf_recvmsg()
86 struct sk_msg, list); in __tcp_bpf_recvmsg()
94 struct sk_msg *msg, u32 apply_bytes, int flags) in bpf_tcp_ingress()
99 struct sk_msg *tmp; in bpf_tcp_ingress()
146 static int tcp_bpf_push(struct sock *sk, struct sk_msg *msg, u32 apply_bytes, in tcp_bpf_push()
203 static int tcp_bpf_push_locked(struct sock *sk, struct sk_msg *msg, in tcp_bpf_push_locked()
214 int tcp_bpf_sendmsg_redir(struct sock *sk, struct sk_msg *msg, in tcp_bpf_sendmsg_redir()
314 struct sk_msg *msg, int *copied, int flags) in tcp_bpf_send_verdict()
[all …]
/OK3568_Linux_fs/kernel/net/tls/
H A Dtls_sw.c297 struct sk_msg *msg_en = &rec->msg_encrypted; in tls_alloc_encrypted_msg()
308 struct sk_msg *msg_pl = &rec->msg_plaintext; in tls_clone_plaintext_msg()
309 struct sk_msg *msg_en = &rec->msg_encrypted; in tls_clone_plaintext_msg()
331 struct sk_msg *msg_pl, *msg_en; in tls_get_rec()
382 struct sk_msg *msg_en; in tls_tx_records()
444 struct sk_msg *msg_en; in tls_encrypt_done()
505 struct sk_msg *msg_en = &rec->msg_encrypted; in tls_do_encryption()
559 struct tls_rec **to, struct sk_msg *msg_opl, in tls_split_open_record()
560 struct sk_msg *msg_oen, u32 split_point, in tls_split_open_record()
567 struct sk_msg *msg_npl; in tls_split_open_record()
[all …]
/OK3568_Linux_fs/kernel/include/net/
H A Despintcp.h16 struct sk_msg skmsg;
H A Dtls.h105 struct sk_msg msg_plaintext;
106 struct sk_msg msg_encrypted;
H A Dtcp.h2230 struct sk_msg;
2243 int tcp_bpf_sendmsg_redir(struct sock *sk, struct sk_msg *msg, u32 bytes,
/OK3568_Linux_fs/kernel/net/xfrm/
H A Despintcp.c209 struct sk_msg *skmsg = &emsg->skmsg; in espintcp_sendskmsg_locked()
/OK3568_Linux_fs/kernel/tools/bpf/bpftool/Documentation/
H A Dbpftool-prog.rst42 | **lwt_seg6local** | **sockops** | **sk_skb** | **sk_msg** | **lirc_mode2** |
/OK3568_Linux_fs/kernel/tools/bpf/bpftool/bash-completion/
H A Dbpftool472 lwt_seg6local sockops sk_skb sk_msg \