Searched refs:msg_tx (Results 1 - 2 of 2) sorted by relevance
/kernel/linux/linux-5.10/net/ipv4/ |
H A D | tcp_bpf.c | 431 struct sk_msg tmp, *msg_tx = NULL; in tcp_bpf_sendmsg() local 460 msg_tx = psock->cork; in tcp_bpf_sendmsg() 462 msg_tx = &tmp; in tcp_bpf_sendmsg() 463 sk_msg_init(msg_tx); in tcp_bpf_sendmsg() 466 osize = msg_tx->sg.size; in tcp_bpf_sendmsg() 467 err = sk_msg_alloc(sk, msg_tx, msg_tx->sg.size + copy, msg_tx->sg.end - 1); in tcp_bpf_sendmsg() 472 copy = msg_tx->sg.size - osize; in tcp_bpf_sendmsg() 475 err = sk_msg_memcopy_from_iter(sk, &msg->msg_iter, msg_tx, in tcp_bpf_sendmsg() [all...] |
/kernel/linux/linux-6.6/net/ipv4/ |
H A D | tcp_bpf.c | 497 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() [all...] |
Completed in 2 milliseconds