Go to the source code of this file.
|
int | tunnel_add (inet_prefix *remote, inet_prefix *local, char *dev, char *tunl_prefix, int tunl_number) |
|
int | tunnel_change (inet_prefix *remote, inet_prefix *local, char *dev, char *tunl_prefix, int tunl_number) |
|
int | tunnel_del (inet_prefix *remote, inet_prefix *local, char *dev, char *tunl_prefix, int tunl_number) |
|
int | tun_add_tunl (interface *ifs, char *tunl_prefix, u_char tunl_number) |
|
int | tun_del_tunl (interface *ifs, char *tunl_prefix, u_char tunl_number) |
|
void | init_tunnels_ifs (void) |
|
int | set_tunnel_ip (char *tunl_prefix, int tunl_number, inet_prefix *tunl_ip) |
|
int | first_free_tunnel_if (void) |
|
int | do_get (char *dev) |
|
int | add_tunnel_if (inet_prefix *remote, inet_prefix *local, char *dev, char *tunl_prefix, int tunl_number, inet_prefix *tunl_ip) |
|
int | del_tunnel_if (inet_prefix *remote, inet_prefix *local, char *dev, char *tunl_prefix, int tunl_number) |
|
void | del_all_tunnel_ifs (inet_prefix *remote, inet_prefix *local, char *dev, char *tunl_prefix) |
|
#define DEFAULT_TUNL_IF "tunl0" |
#define DEFAULT_TUNL_NUMBER 0 /* The permanent tunl0 device */ |
#define DEFAULT_TUNL_PREFIX "tunl" |
#define NTK_TUNL_PREFIX "ntk_tunl" |
#define TUNL_N |
( |
|
prefix, |
|
|
|
x |
|
) |
| prefix, x |
#define TUNL_STRING "%s%d" |
int del_tunnel_if |
( |
inet_prefix * |
remote, |
|
|
inet_prefix * |
local, |
|
|
char * |
dev, |
|
|
char * |
tunl_prefix, |
|
|
int |
tunl_number |
|
) |
| |
int first_free_tunnel_if |
( |
void |
| ) |
|
void init_tunnels_ifs |
( |
void |
| ) |
|
int set_tunnel_ip |
( |
char * |
tunl_prefix, |
|
|
int |
tunl_number, |
|
|
inet_prefix * |
tunl_ip |
|
) |
| |
int tun_add_tunl |
( |
interface * |
ifs, |
|
|
char * |
tunl_prefix, |
|
|
u_char |
tunl_number |
|
) |
| |
int tun_del_tunl |
( |
interface * |
ifs, |
|
|
char * |
tunl_prefix, |
|
|
u_char |
tunl_number |
|
) |
| |
int tunnel_change |
( |
inet_prefix * |
remote, |
|
|
inet_prefix * |
local, |
|
|
char * |
dev, |
|
|
char * |
tunl_prefix, |
|
|
int |
tunl_number |
|
) |
| |