Home
last modified time | relevance | path

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

/linux-6.15/tools/testing/selftests/net/mptcp/
H A Dmptcp_inq.c328 unsigned int tcp_inq; in process_one_client() local
380 get_tcp_inq(&msg, &tcp_inq); in process_one_client()
390 assert(ret == (ssize_t)tcp_inq); in process_one_client()
393 get_tcp_inq(&msg, &tcp_inq); in process_one_client()
394 assert(tcp_inq == 0); in process_one_client()
416 get_tcp_inq(&msg, &tcp_inq); in process_one_client()
418 if (tcp_inq > expect_len - tot) in process_one_client()
441 get_tcp_inq(&msg, &tcp_inq); in process_one_client()
444 assert(tcp_inq == 1); in process_one_client()
453 get_tcp_inq(&msg, &tcp_inq); in process_one_client()
[all …]
H A Dmptcp_connect.c84 unsigned int tcp_inq:1; member
104 static struct tcp_inq_state tcp_inq; variable
497 if (cfg_cmsg_types.tcp_inq) { in process_cmsg()
503 tcp_inq.last = inq; in process_cmsg()
525 if (ret == 0 && tcp_inq.expect_eof) in do_recvmsg_cmsg()
535 if (tcp_inq.expect_eof) in do_recvmsg_cmsg()
537 last_hint, tcp_inq.last); in do_recvmsg_cmsg()
549 if (cfg_cmsg_types.tcp_inq) { in do_recvmsg_cmsg()
557 tcp_inq.expect_eof = true; in do_recvmsg_cmsg()
1158 if (cmsg->tcp_inq) in apply_cmsg_types()
[all …]
/linux-6.15/tools/testing/selftests/net/
H A D.gitignore51 tcp_inq
H A DMakefile67 TEST_GEN_FILES += tcp_mmap tcp_inq psock_snd txring_overwrite
133 $(OUTPUT)/tcp_inq: LDLIBS += -lpthread
/linux-6.15/net/tls/
H A Dtls_strp.c487 if (WARN_ON(tcp_inq(strp->sk) < strp->stm.full_len)) in tls_strp_msg_load()
505 inq = tcp_inq(strp->sk); in tls_strp_read_sock()
H A Dtls_device.c803 sock_data = tcp_inq(sk); in tls_device_rx_resync_new_rec()
862 if (tcp_inq(sk) > rxm->full_len) { in tls_device_core_ctrl_rx_resync()
H A Dtls_sw.c1914 if (done - *flushed_at < SZ_128K && tcp_inq(sk) > max_rec) in tls_read_flush_backlog()
/linux-6.15/net/ipv4/
H A Dtcp.c638 answ = tcp_inq(sk); in tcp_ioctl()
1740 return tcp_inq(sock->sk); in tcp_peek_len()
2134 int inq = tcp_inq(sk); in tcp_zerocopy_receive()
/linux-6.15/include/net/
H A Dtcp.h2572 static inline int tcp_inq(struct sock *sk) in tcp_inq() function