Home
last modified time | relevance | path

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

/linux-6.1.9/tools/testing/selftests/net/mptcp/
Dmptcp_inq.c327 unsigned int tcp_inq; in process_one_client() local
379 get_tcp_inq(&msg, &tcp_inq); in process_one_client()
381 assert((size_t)tcp_inq == (expect_len - 1)); in process_one_client()
389 assert(ret == (ssize_t)tcp_inq); in process_one_client()
392 get_tcp_inq(&msg, &tcp_inq); in process_one_client()
393 assert(tcp_inq == 0); in process_one_client()
415 get_tcp_inq(&msg, &tcp_inq); in process_one_client()
417 if (tcp_inq > expect_len - tot) in process_one_client()
419 tcp_inq, expect_len - tot, (int)expect_len); in process_one_client()
421 assert(tcp_inq <= expect_len - tot); in process_one_client()
[all …]
Dmptcp_connect.c81 unsigned int tcp_inq:1; member
93 static struct tcp_inq_state tcp_inq; variable
453 if (cfg_cmsg_types.tcp_inq) { in process_cmsg()
459 tcp_inq.last = inq; in process_cmsg()
477 unsigned int last_hint = tcp_inq.last; in do_recvmsg_cmsg()
481 if (ret == 0 && tcp_inq.expect_eof) in do_recvmsg_cmsg()
484 if (ret == 0 && cfg_cmsg_types.tcp_inq) in do_recvmsg_cmsg()
491 if (tcp_inq.expect_eof) in do_recvmsg_cmsg()
493 last_hint, tcp_inq.last); in do_recvmsg_cmsg()
505 if (cfg_cmsg_types.tcp_inq) { in do_recvmsg_cmsg()
[all …]
/linux-6.1.9/tools/testing/selftests/net/
DMakefile52 TEST_GEN_FILES += tcp_mmap tcp_inq psock_snd txring_overwrite
83 $(OUTPUT)/tcp_inq: LDLIBS += -lpthread
D.gitignore34 tcp_inq
/linux-6.1.9/net/tls/
Dtls_strp.c371 if (WARN_ON(tcp_inq(strp->sk) < strp->stm.full_len)) in tls_strp_msg_load()
389 inq = tcp_inq(strp->sk); in tls_strp_read_sock()
Dtls_device.c830 sock_data = tcp_inq(sk); in tls_device_rx_resync_new_rec()
889 if (tcp_inq(sk) > rxm->full_len) { in tls_device_core_ctrl_rx_resync()
Dtls_sw.c1841 if (done - *flushed_at < SZ_128K && tcp_inq(sk) > max_rec) in tls_read_flush_backlog()
/linux-6.1.9/net/ipv4/
Dtcp.c611 answ = tcp_inq(sk); in tcp_ioctl()
1840 return tcp_inq(sock->sk); in tcp_peek_len()
2201 int inq = tcp_inq(sk); in tcp_zerocopy_receive()
/linux-6.1.9/include/net/
Dtcp.h2189 static inline int tcp_inq(struct sock *sk) in tcp_inq() function