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

Functions

struct multichannelmultichannel_open (struct channel_conf *conf, int len)
 
int multichannel_send (struct multichannel *c, const struct nethdr *net)
 
int multichannel_send_flush (struct multichannel *c)
 
int multichannel_recv (struct multichannel *c, char *buf, int size)
 
void multichannel_close (struct multichannel *m)
 
void multichannel_stats (struct multichannel *m, int fd)
 
void multichannel_stats_extended (struct multichannel *m, struct nlif_handle *h, int fd)
 
int multichannel_get_ifindex (struct multichannel *m, int i)
 
int multichannel_get_current_ifindex (struct multichannel *m)
 
void multichannel_set_current_channel (struct multichannel *m, int i)
 
void multichannel_change_current_channel (struct multichannel *m, struct channel *c)
 

Function Documentation

void multichannel_change_current_channel ( struct multichannel m,
struct channel c 
)

References multichannel::current.

void multichannel_close ( struct multichannel m)

References multichannel::channel, channel_close(), and multichannel::channel_num.

Here is the call graph for this function:

int multichannel_get_current_ifindex ( struct multichannel m)
int multichannel_get_ifindex ( struct multichannel m,
int  i 
)
struct multichannel* multichannel_open ( struct channel_conf conf,
int  len 
)
int multichannel_recv ( struct multichannel c,
char *  buf,
int  size 
)

References channel_recv(), and multichannel::current.

Here is the call graph for this function:

int multichannel_send ( struct multichannel c,
const struct nethdr net 
)

References channel_send(), and multichannel::current.

Here is the call graph for this function:

int multichannel_send_flush ( struct multichannel c)

References channel_send_flush(), and multichannel::current.

Here is the call graph for this function:

void multichannel_set_current_channel ( struct multichannel m,
int  i 
)
void multichannel_stats ( struct multichannel m,
int  fd 
)

References channel_stats(), and multichannel::current.

Here is the call graph for this function:

void multichannel_stats_extended ( struct multichannel m,
struct nlif_handle h,
int  fd 
)

References multichannel::channel, multichannel::channel_num, channel_stats_extended(), and multichannel::current.

Here is the call graph for this function: