enum rpc_poll_event

Overview

#include <te_rpc_sys_poll.h>

enum rpc_poll_event {
    RPC_POLLIN       = 0x0001,
    RPC_POLLPRI      = 0x0002,
    RPC_POLLOUT      = 0x0004,
    RPC_POLLRDNORM   = 0x0008,
    RPC_POLLWRNORM   = 0x0010,
    RPC_POLLRDBAND   = 0x0020,
    RPC_POLLWRBAND   = 0x0040,
    RPC_POLLERR      = 0x0080,
    RPC_POLLHUP      = 0x0100,
    RPC_POLLNVAL     = 0x0200,
    RPC_POLLRDHUP    = 0x0400,
    RPC_POLL_UNKNOWN = 0x0800,
};

Detailed Documentation

Enum Values

RPC_POLLIN

There is data to read

RPC_POLLPRI

There is urgent data to read

RPC_POLLOUT

Writing now will not block

RPC_POLLRDNORM

Normal data is readable

RPC_POLLWRNORM

Normal data is writeable

RPC_POLLRDBAND

Out-of-band data is readable

RPC_POLLWRBAND

Out-of-band data is writeable

RPC_POLLERR

Error condition

RPC_POLLHUP

Hung up

RPC_POLLNVAL

Invalid request: fd not open

RPC_POLLRDHUP

Stream socket peer closed connection, or shut down writing half of connection.

RPC_POLL_UNKNOWN

Invalid poll event