#include "config.h"
Go to the source code of this file.
|
| int | init_redirect (void) |
| void | shutdown_redirect (void) |
| int | get_redirect_rule_count (const char *ifname) |
| 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) |
◆ get_portmappings_in_range()
| unsigned short * get_portmappings_in_range |
( |
unsigned short | startport, |
|
|
unsigned short | endport, |
|
|
int | proto, |
|
|
unsigned int * | number ) |
◆ get_redirect_rule()
| 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 ) |
◆ get_redirect_rule_by_index()
| 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 ) |
◆ get_redirect_rule_count()
| int get_redirect_rule_count |
( |
const char * | ifname | ) |
|
◆ init_redirect()
| int init_redirect |
( |
void | | ) |
|
◆ shutdown_redirect()
| void shutdown_redirect |
( |
void | | ) |
|
◆ update_portmapping()
| int update_portmapping |
( |
const char * | ifname, |
|
|
unsigned short | eport, |
|
|
int | proto, |
|
|
unsigned short | iport, |
|
|
const char * | desc, |
|
|
unsigned int | timestamp ) |
◆ update_portmapping_desc_timestamp()
| int update_portmapping_desc_timestamp |
( |
const char * | ifname, |
|
|
unsigned short | eport, |
|
|
int | proto, |
|
|
const char * | desc, |
|
|
unsigned int | timestamp ) |