Name

datagram_poll — generic datagram poll

Synopsis

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

Arguments

struct file * file

file struct

struct socket * sock

socket

poll_table * wait

poll table

Description

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

Note

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