#include <sys/types.h>
#include <sys/socket.h>
#include <netinet/in.h>
#include "config.h"
Go to the source code of this file.
◆ check_upnp_rule_against_permissions()
| int check_upnp_rule_against_permissions |
( |
const struct upnpperm * | permary, |
|
|
int | n_perms, |
|
|
u_short | eport, |
|
|
struct in_addr | address, |
|
|
u_short | iport ) |
◆ get_permitted_ext_ports()
| void get_permitted_ext_ports |
( |
uint32_t * | allowed, |
|
|
const struct upnpperm * | permary, |
|
|
int | n_perms, |
|
|
in_addr_t | addr, |
|
|
u_short | iport ) |
Build an array of all allowed external ports (for the address and internal port)
◆ read_permission_line()
| int read_permission_line |
( |
struct upnpperm * | perm, |
|
|
char * | p ) |