Home
last modified time | relevance | path

Searched refs:answ (Results 1 – 3 of 3) sorted by relevance

/net/phonet/
Ddatagram.c45 int answ; in pn_ioctl() local
51 answ = skb ? skb->len : 0; in pn_ioctl()
53 return put_user(answ, (int __user *)arg); in pn_ioctl()
Dpep.c706 int answ; in pep_ioctl() local
716 answ = skb_peek(&pn->ctrlreq_queue)->len; in pep_ioctl()
718 answ = skb_peek(&sk->sk_receive_queue)->len; in pep_ioctl()
720 answ = 0; in pep_ioctl()
722 return put_user(answ, (int __user *)arg); in pep_ioctl()
/net/ipv4/
Dtcp.c428 int answ; in tcp_ioctl() local
437 answ = 0; in tcp_ioctl()
442 answ = tp->rcv_nxt - tp->copied_seq; in tcp_ioctl()
445 if (answ && !skb_queue_empty(&sk->sk_receive_queue)) in tcp_ioctl()
446 answ -= in tcp_ioctl()
449 answ = tp->urg_seq - tp->copied_seq; in tcp_ioctl()
453 answ = tp->urg_data && tp->urg_seq == tp->copied_seq; in tcp_ioctl()
460 answ = 0; in tcp_ioctl()
462 answ = tp->write_seq - tp->snd_una; in tcp_ioctl()
468 return put_user(answ, (int __user *)arg); in tcp_ioctl()