Home
last modified time | relevance | path

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

/openbmc/linux/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()
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 …]
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()
521 unsigned int last_hint = tcp_inq.last; in do_recvmsg_cmsg()
525 if (ret == 0 && tcp_inq.expect_eof) in do_recvmsg_cmsg()
528 if (ret == 0 && cfg_cmsg_types.tcp_inq) 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()
[all …]
/openbmc/linux/tools/testing/selftests/net/
H A D.gitignore43 tcp_inq
H A DMakefile59 TEST_GEN_FILES += tcp_mmap tcp_inq psock_snd txring_overwrite
103 $(OUTPUT)/tcp_inq: LDLIBS += -lpthread
/openbmc/linux/net/tls/
H A 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()
H A 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()
H A Dtls_sw.c1880 if (done - *flushed_at < SZ_128K && tcp_inq(sk) > max_rec) in tls_read_flush_backlog()
/openbmc/linux/net/ipv4/
H A Dtcp.c616 answ = tcp_inq(sk); in tcp_ioctl()
1720 return tcp_inq(sock->sk); in tcp_peek_len()
2116 int inq = tcp_inq(sk); in tcp_zerocopy_receive()
/openbmc/linux/include/net/
H A Dtcp.h2308 static inline int tcp_inq(struct sock *sk) in tcp_inq() function