1. NAME

datagram_poll - generic datagram poll

2. SYNOPSIS

unsigned int datagram_poll(struct file *  file , struct socket *  sock , poll_table *  wait );

3. ARGUMENTS

file
    file struct

sock
    socket

wait
    poll table

4. DATAGRAM POLL

Again totally generic. This also handles sequenced packet sockets providing the socket receive queue is only ever holding data ready to receive.

5. NOTE

when you _donAqt_ use this routine for this protocol, and you use a different write policy from sock_writeable then please supply your own write_space callback.

6. COPYRIGHT