enum tapi_iomux_evt

Overview

Type of events used in iomux API. More…

#include <tapi_iomux.h>

enum tapi_iomux_evt {
    EVT_NONE    = 0x000,
    EVT_RD      = 0x001,
    EVT_PRI     = 0x002,
    EVT_WR      = 0x004,
    EVT_RDWR    = EVT_RD | EVT_WR,
    EVT_RD_NORM = 0x008,
    EVT_WR_NORM = 0x010,
    EVT_RD_BAND = 0x020,
    EVT_WR_BAND = 0x040,
    EVT_EXC     = 0x080,
    EVT_ERR     = 0x100,
    EVT_HUP     = 0x200,
    EVT_RDHUP   = 0x400,
    EVT_ET      = 0x800,
    EVT_ONESHOT = 0x1000,
    EVT_NVAL    = 0x2000,
};

Detailed Documentation

Type of events used in iomux API.

Enum Values

EVT_NONE

None event

EVT_RD

Read event

EVT_PRI

Urgent data available for read

EVT_WR

Write event

EVT_RDWR

Read and write event

EVT_RD_NORM

Normal data may be read

EVT_WR_NORM

Writing now will not block

EVT_RD_BAND

Priority data may be read

EVT_WR_BAND

Priority data may be written

EVT_EXC

Generic exception was occurred

EVT_ERR

Error condition

EVT_HUP

Hung up

EVT_RDHUP

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

EVT_ET

Edge-triggered mode (makes sense only for epoll).

EVT_ONESHOT

One-shot behavior mode (makes sense only for epoll).

EVT_NVAL

Invalid request