netfilter
firewalling, NAT, and packet mangling for linux
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Modules Pages
channel_ops Struct Reference

#include <channel.h>

Data Fields

int headersiz
 
int type
 
void *(* open )(void *conf)
 
void(* close )(void *channel)
 
int(* send )(void *channel, const void *data, int len)
 
int(* recv )(void *channel, char *buf, int len)
 
int(* accept )(struct channel *c)
 
int(* get_fd )(void *channel)
 
int(* isset )(struct channel *c, fd_set *readfds)
 
int(* accept_isset )(struct channel *c, fd_set *readfds)
 
void(* stats )(struct channel *c, int fd)
 
void(* stats_extended )(struct channel *c, int active, struct nlif_handle *h, int fd)
 

Field Documentation

int(* channel_ops::accept)(struct channel *c)

Referenced by channel_accept().

int(* channel_ops::accept_isset)(struct channel *c, fd_set *readfds)

Referenced by channel_accept_isset().

void(* channel_ops::close)(void *channel)

Referenced by channel_close().

int(* channel_ops::get_fd)(void *channel)

Referenced by channel_get_fd().

int channel_ops::headersiz

Referenced by channel_open().

int(* channel_ops::isset)(struct channel *c, fd_set *readfds)

Referenced by channel_isset().

void*(* channel_ops::open)(void *conf)

Referenced by channel_open().

int(* channel_ops::recv)(void *channel, char *buf, int len)

Referenced by channel_recv().

int(* channel_ops::send)(void *channel, const void *data, int len)

Referenced by channel_send(), and channel_send_flush().

void(* channel_ops::stats)(struct channel *c, int fd)

Referenced by channel_stats().

void(* channel_ops::stats_extended)(struct channel *c, int active, struct nlif_handle *h, int fd)

Referenced by channel_stats_extended().

int channel_ops::type

Referenced by channel_type().


The documentation for this struct was generated from the following file: