Home
last modified time | relevance | path

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

/linux-6.6.21/tools/testing/selftests/net/mptcp/
Dmptcp_inq.c328 unsigned int tcp_inq; in process_one_client() local
380 get_tcp_inq(&msg, &tcp_inq); in process_one_client()
382 assert((size_t)tcp_inq == (expect_len - 1)); 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()
420 tcp_inq, expect_len - tot, (int)expect_len); in process_one_client()
422 assert(tcp_inq <= expect_len - tot); in process_one_client()
[all …]
Dmptcp_connect.c82 unsigned int tcp_inq:1; member
102 static struct tcp_inq_state tcp_inq; variable
495 if (cfg_cmsg_types.tcp_inq) { in process_cmsg()
501 tcp_inq.last = inq; in process_cmsg()
519 unsigned int last_hint = tcp_inq.last; in do_recvmsg_cmsg()
523 if (ret == 0 && tcp_inq.expect_eof) in do_recvmsg_cmsg()
526 if (ret == 0 && cfg_cmsg_types.tcp_inq) in do_recvmsg_cmsg()
533 if (tcp_inq.expect_eof) in do_recvmsg_cmsg()
535 last_hint, tcp_inq.last); in do_recvmsg_cmsg()
547 if (cfg_cmsg_types.tcp_inq) { in do_recvmsg_cmsg()
[all …]
/linux-6.6.21/tools/testing/selftests/net/
D.gitignore43 tcp_inq
DMakefile60 TEST_GEN_FILES += tcp_mmap tcp_inq psock_snd txring_overwrite
101 $(OUTPUT)/tcp_inq: LDLIBS += -lpthread
/linux-6.6.21/net/tls/
Dtls_strp.c485 if (WARN_ON(tcp_inq(strp->sk) < strp->stm.full_len)) in tls_strp_msg_load()
503 inq = tcp_inq(strp->sk); in tls_strp_read_sock()
Dtls_device.c809 sock_data = tcp_inq(sk); in tls_device_rx_resync_new_rec()
868 if (tcp_inq(sk) > rxm->full_len) { in tls_device_core_ctrl_rx_resync()
Dtls_sw.c1880 if (done - *flushed_at < SZ_128K && tcp_inq(sk) > max_rec) in tls_read_flush_backlog()
/linux-6.6.21/net/ipv4/
Dtcp.c616 answ = tcp_inq(sk); in tcp_ioctl()
1698 return tcp_inq(sock->sk); in tcp_peek_len()
2094 int inq = tcp_inq(sk); in tcp_zerocopy_receive()
/linux-6.6.21/include/net/
Dtcp.h2272 static inline int tcp_inq(struct sock *sk) in tcp_inq() function