Home
last modified time | relevance | path

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

/linux/tools/testing/selftests/net/mptcp/
H A Dmptcp_inq.c338 unsigned int tcp_inq; in process_one_client() local
390 get_tcp_inq(&msg, &tcp_inq); in process_one_client()
392 assert((size_t)tcp_inq == (expect_len - 1)); in process_one_client()
400 assert(ret == (ssize_t)tcp_inq); in process_one_client()
403 get_tcp_inq(&msg, &tcp_inq); in process_one_client()
404 assert(tcp_inq == 0); in process_one_client()
426 get_tcp_inq(&msg, &tcp_inq); in process_one_client()
428 if (tcp_inq > expect_len - tot) in process_one_client()
430 tcp_inq, expect_len - tot, (int)expect_len); in process_one_client()
432 assert(tcp_inq <= expect_len - tot); in process_one_client()
[all …]
H A Dmptcp_connect.c86 unsigned int tcp_inq:1; member
106 static struct tcp_inq_state tcp_inq; variable
510 if (cfg_cmsg_types.tcp_inq) { in process_cmsg()
516 tcp_inq.last = inq; in process_cmsg()
534 unsigned int last_hint = tcp_inq.last; in do_recvmsg_cmsg()
538 if (ret == 0 && tcp_inq.expect_eof) in do_recvmsg_cmsg()
541 if (ret == 0 && cfg_cmsg_types.tcp_inq) in do_recvmsg_cmsg()
548 if (tcp_inq.expect_eof) in do_recvmsg_cmsg()
550 last_hint, tcp_inq.last); in do_recvmsg_cmsg()
562 if (cfg_cmsg_types.tcp_inq) { in do_recvmsg_cmsg()
[all …]
/linux/tools/testing/selftests/net/
H A DMakefile158 tcp_inq \
227 $(OUTPUT)/tcp_inq: LDLIBS += -lpthread
H A D.gitignore48 tcp_inq
/linux/net/tls/
H A Dtls_strp.c493 if (unlikely(tcp_inq(strp->sk) < strp->stm.full_len)) { in tls_strp_msg_load()
516 inq = tcp_inq(strp->sk); in tls_strp_read_sock()
H A Dtls_device.c808 sock_data = tcp_inq(sk); in tls_device_rx_resync_new_rec()
867 if (tcp_inq(sk) > rxm->full_len) { in tls_device_core_ctrl_rx_resync()
H A Dtls_sw.c1972 if (done - *flushed_at < SZ_128K && tcp_inq(sk) > max_rec) in tls_read_flush_backlog()
/linux/net/ipv4/
H A Dtcp.c661 answ = tcp_inq(sk); in tcp_ioctl()
1841 return tcp_inq(sock->sk); in tcp_peek_len()
2238 int inq = tcp_inq(sk); in tcp_zerocopy_receive()
/linux/include/net/
H A Dtcp.h2673 static inline int tcp_inq(struct sock *sk) in tcp_inq() function