#include <sys/types.h>
#include "config.h"
Go to the source code of this file.
|
| int | upnp_redirect (const char *rhost, unsigned short eport, const char *iaddr, unsigned short iport, const char *protocol, const char *desc, unsigned int leaseduration) |
| |
| int | upnp_redirect_internal (const char *rhost, unsigned short eport, const char *iaddr, unsigned short iport, int proto, const char *desc, unsigned int timestamp) |
| |
| int | upnp_get_redirection_infos (unsigned short eport, const char *protocol, unsigned short *iport, char *iaddr, int iaddrlen, char *desc, int desclen, char *rhost, int rhostlen, unsigned int *leaseduration) |
| |
| int | upnp_get_redirection_infos_by_index (int index, unsigned short *eport, char *protocol, unsigned short *iport, char *iaddr, int iaddrlen, char *desc, int desclen, char *rhost, int rhostlen, unsigned int *leaseduration) |
| |
| int | upnp_delete_redirection (unsigned short eport, const char *protocol) |
| |
| int | _upnp_delete_redir (unsigned short eport, int proto) |
| |
| struct rule_state * | get_upnp_rules_state_list (int max_rules_number_target) |
| |
| int | upnp_get_portmapping_number_of_entries (void) |
| |
| void | remove_unused_rules (struct rule_state *list) |
| |
| unsigned short * | upnp_get_portmappings_in_range (unsigned short startport, unsigned short endport, const char *protocol, unsigned int *number) |
| |
◆ _upnp_delete_redir()
| int _upnp_delete_redir |
( |
unsigned short |
eport, |
|
|
int |
proto |
|
) |
| |
◆ get_upnp_rules_state_list()
| struct rule_state* get_upnp_rules_state_list |
( |
int |
max_rules_number_target | ) |
|
◆ remove_unused_rules()
| void remove_unused_rules |
( |
struct rule_state * |
list | ) |
|
◆ upnp_delete_redirection()
| int upnp_delete_redirection |
( |
unsigned short |
eport, |
|
|
const char * |
protocol |
|
) |
| |
◆ upnp_get_portmapping_number_of_entries()
| int upnp_get_portmapping_number_of_entries |
( |
void |
| ) |
|
◆ upnp_get_portmappings_in_range()
| unsigned short* upnp_get_portmappings_in_range |
( |
unsigned short |
startport, |
|
|
unsigned short |
endport, |
|
|
const char * |
protocol, |
|
|
unsigned int * |
number |
|
) |
| |
◆ upnp_get_redirection_infos()
| int upnp_get_redirection_infos |
( |
unsigned short |
eport, |
|
|
const char * |
protocol, |
|
|
unsigned short * |
iport, |
|
|
char * |
iaddr, |
|
|
int |
iaddrlen, |
|
|
char * |
desc, |
|
|
int |
desclen, |
|
|
char * |
rhost, |
|
|
int |
rhostlen, |
|
|
unsigned int * |
leaseduration |
|
) |
| |
◆ upnp_get_redirection_infos_by_index()
| int upnp_get_redirection_infos_by_index |
( |
int |
index, |
|
|
unsigned short * |
eport, |
|
|
char * |
protocol, |
|
|
unsigned short * |
iport, |
|
|
char * |
iaddr, |
|
|
int |
iaddrlen, |
|
|
char * |
desc, |
|
|
int |
desclen, |
|
|
char * |
rhost, |
|
|
int |
rhostlen, |
|
|
unsigned int * |
leaseduration |
|
) |
| |
◆ upnp_redirect()
| int upnp_redirect |
( |
const char * |
rhost, |
|
|
unsigned short |
eport, |
|
|
const char * |
iaddr, |
|
|
unsigned short |
iport, |
|
|
const char * |
protocol, |
|
|
const char * |
desc, |
|
|
unsigned int |
leaseduration |
|
) |
| |
◆ upnp_redirect_internal()
| int upnp_redirect_internal |
( |
const char * |
rhost, |
|
|
unsigned short |
eport, |
|
|
const char * |
iaddr, |
|
|
unsigned short |
iport, |
|
|
int |
proto, |
|
|
const char * |
desc, |
|
|
unsigned int |
timestamp |
|
) |
| |