tcp_inq
return tcp_inq(sock->sk);
int inq = tcp_inq(sk);
answ = tcp_inq(sk);
*karg += tcp_inq(sk);
sock_data = tcp_inq(sk);
if (tcp_inq(sk) > rxm->full_len) {
if (unlikely(tcp_inq(strp->sk) < strp->stm.full_len)) {
inq = tcp_inq(strp->sk);
if (done - *flushed_at < SZ_128K && tcp_inq(sk) > max_rec)
static struct tcp_inq_state tcp_inq;
if (cmsg->tcp_inq)
cfg_cmsg_types.tcp_inq = 1;
if (cfg_cmsg_types.tcp_inq) {
tcp_inq.last = inq;
unsigned int last_hint = tcp_inq.last;
if (ret == 0 && tcp_inq.expect_eof)
if (ret == 0 && cfg_cmsg_types.tcp_inq)
if (tcp_inq.expect_eof)
last_hint, tcp_inq.last);
if (cfg_cmsg_types.tcp_inq) {
ret, (unsigned int)len, last_hint, tcp_inq.last, next);
tcp_inq.expect_eof = true;
unsigned int tcp_inq:1;
unsigned int tcp_inq;
get_tcp_inq(&msg, &tcp_inq);
assert((size_t)tcp_inq == (expect_len - 1));
assert(ret == (ssize_t)tcp_inq);
get_tcp_inq(&msg, &tcp_inq);
assert(tcp_inq == 0);
get_tcp_inq(&msg, &tcp_inq);
if (tcp_inq > expect_len - tot)
tcp_inq, expect_len - tot, (int)expect_len);
assert(tcp_inq <= expect_len - tot);
get_tcp_inq(&msg, &tcp_inq);
assert(tcp_inq == 1);
get_tcp_inq(&msg, &tcp_inq);
assert(tcp_inq == 1);