Lines Matching refs:answ
551 int answ; in tcp_ioctl() local
561 answ = 0; in tcp_ioctl()
567 answ = tp->rcv_nxt - tp->copied_seq; in tcp_ioctl()
570 if (answ && sock_flag(sk, SOCK_DONE)) in tcp_ioctl()
571 answ--; in tcp_ioctl()
573 answ = tp->urg_seq - tp->copied_seq; in tcp_ioctl()
577 answ = tp->urg_data && tp->urg_seq == tp->copied_seq; in tcp_ioctl()
584 answ = 0; in tcp_ioctl()
586 answ = tp->write_seq - tp->snd_una; in tcp_ioctl()
593 answ = 0; in tcp_ioctl()
595 answ = tp->write_seq - tp->snd_nxt; in tcp_ioctl()
601 return put_user(answ, (int __user *)arg); in tcp_ioctl()