netfilter
firewalling, NAT, and packet mangling for linux
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Modules Pages
event.c File Reference
#include <unistd.h>
#include <stdlib.h>
#include <fcntl.h>
#include "event.h"
Include dependency graph for event.c:

Data Structures

struct  evfd
 

Functions

struct evfdcreate_evfd (void)
 
void destroy_evfd (struct evfd *e)
 
int get_read_evfd (struct evfd *evfd)
 
int write_evfd (struct evfd *evfd)
 
int read_evfd (struct evfd *evfd)
 

Function Documentation

struct evfd* create_evfd ( void  )

References evfd::fds, and NULL.

Referenced by queue_create().

Here is the caller graph for this function:

void destroy_evfd ( struct evfd e)

References evfd::fds.

Referenced by queue_destroy().

Here is the caller graph for this function:

int get_read_evfd ( struct evfd evfd)

References evfd::fds.

Referenced by queue_get_eventfd().

Here is the caller graph for this function:

int read_evfd ( struct evfd evfd)

References data, evfd::fds, and evfd::read.

Referenced by queue_del().

Here is the caller graph for this function:

int write_evfd ( struct evfd evfd)

References data, evfd::fds, and evfd::read.

Referenced by queue_add().

Here is the caller graph for this function: