Home
last modified time | relevance | path

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

/linux/net/ipv4/
H A Dtcp_bpf.c536 struct sk_msg tmp, *msg_tx = NULL; in tcp_bpf_sendmsg() local
565 msg_tx = psock->cork; in tcp_bpf_sendmsg()
567 msg_tx = &tmp; in tcp_bpf_sendmsg()
568 sk_msg_init(msg_tx); in tcp_bpf_sendmsg()
571 osize = msg_tx->sg.size; in tcp_bpf_sendmsg()
572 err = sk_msg_alloc(sk, msg_tx, msg_tx->sg.size + copy, msg_tx->sg.end - 1); in tcp_bpf_sendmsg()
577 copy = msg_tx->sg.size - osize; in tcp_bpf_sendmsg()
580 ret = sk_msg_memcopy_from_iter(sk, &msg->msg_iter, msg_tx, in tcp_bpf_sendmsg()
583 sk_msg_trim(sk, msg_tx, osize); in tcp_bpf_sendmsg()
600 err = tcp_bpf_send_verdict(sk, psock, msg_tx, &copied, flags); in tcp_bpf_sendmsg()
[all …]