Home
last modified time | relevance | path

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

/openbmc/linux/net/ipv4/
H A Dtcp_bpf.c497 struct sk_msg tmp, *msg_tx = NULL; in tcp_bpf_sendmsg() local
526 msg_tx = psock->cork; in tcp_bpf_sendmsg()
528 msg_tx = &tmp; in tcp_bpf_sendmsg()
529 sk_msg_init(msg_tx); in tcp_bpf_sendmsg()
532 osize = msg_tx->sg.size; in tcp_bpf_sendmsg()
533 err = sk_msg_alloc(sk, msg_tx, msg_tx->sg.size + copy, msg_tx->sg.end - 1); in tcp_bpf_sendmsg()
538 copy = msg_tx->sg.size - osize; in tcp_bpf_sendmsg()
541 err = sk_msg_memcopy_from_iter(sk, &msg->msg_iter, msg_tx, in tcp_bpf_sendmsg()
544 sk_msg_trim(sk, msg_tx, osize); in tcp_bpf_sendmsg()
570 if (msg_tx && msg_tx != psock->cork) in tcp_bpf_sendmsg()
[all …]