|
Electroneum
|
#include "config.h"

Go to the source code of this file.
Functions | |
| int | init_redirect (void) |
| void | shutdown_redirect (void) |
| int | get_redirect_rule (const char *ifname, unsigned short eport, int proto, char *iaddr, int iaddrlen, unsigned short *iport, char *desc, int desclen, char *rhost, int rhostlen, unsigned int *timestamp, u_int64_t *packets, u_int64_t *bytes) |
| int | get_redirect_rule_by_index (int index, char *ifname, unsigned short *eport, char *iaddr, int iaddrlen, unsigned short *iport, int *proto, char *desc, int desclen, char *rhost, int rhostlen, unsigned int *timestamp, u_int64_t *packets, u_int64_t *bytes) |
| unsigned short * | get_portmappings_in_range (unsigned short startport, unsigned short endport, int proto, unsigned int *number) |
| int | update_portmapping (const char *ifname, unsigned short eport, int proto, unsigned short iport, const char *desc, unsigned int timestamp) |
| int | update_portmapping_desc_timestamp (const char *ifname, unsigned short eport, int proto, const char *desc, unsigned int timestamp) |
| unsigned short * get_portmappings_in_range | ( | unsigned short | startport, |
| unsigned short | endport, | ||
| int | proto, | ||
| unsigned int * | number ) |
| int get_redirect_rule | ( | const char * | ifname, |
| unsigned short | eport, | ||
| int | proto, | ||
| char * | iaddr, | ||
| int | iaddrlen, | ||
| unsigned short * | iport, | ||
| char * | desc, | ||
| int | desclen, | ||
| char * | rhost, | ||
| int | rhostlen, | ||
| unsigned int * | timestamp, | ||
| u_int64_t * | packets, | ||
| u_int64_t * | bytes ) |
| int get_redirect_rule_by_index | ( | int | index, |
| char * | ifname, | ||
| unsigned short * | eport, | ||
| char * | iaddr, | ||
| int | iaddrlen, | ||
| unsigned short * | iport, | ||
| int * | proto, | ||
| char * | desc, | ||
| int | desclen, | ||
| char * | rhost, | ||
| int | rhostlen, | ||
| unsigned int * | timestamp, | ||
| u_int64_t * | packets, | ||
| u_int64_t * | bytes ) |
| int init_redirect | ( | void | ) |
| void shutdown_redirect | ( | void | ) |
| int update_portmapping | ( | const char * | ifname, |
| unsigned short | eport, | ||
| int | proto, | ||
| unsigned short | iport, | ||
| const char * | desc, | ||
| unsigned int | timestamp ) |
| int update_portmapping_desc_timestamp | ( | const char * | ifname, |
| unsigned short | eport, | ||
| int | proto, | ||
| const char * | desc, | ||
| unsigned int | timestamp ) |