version 1.134, 2001/09/17 21:04:01 |
version 1.135, 2001/10/01 21:38:53 |
|
|
static char *auth_sock_dir = NULL; |
static char *auth_sock_dir = NULL; |
|
|
/* AF_UNSPEC or AF_INET or AF_INET6 */ |
/* AF_UNSPEC or AF_INET or AF_INET6 */ |
extern int IPv4or6; |
static int IPv4or6 = AF_UNSPEC; |
|
|
/* helper */ |
/* helper */ |
static void port_open_helper(Channel *c, char *rtype); |
static void port_open_helper(Channel *c, char *rtype); |
|
|
|
|
|
|
/* -- tcp forwarding */ |
/* -- tcp forwarding */ |
|
|
|
void |
|
channel_set_af(int af) |
|
{ |
|
IPv4or6 = af; |
|
} |
|
|
/* |
/* |
* Initiate forwarding of connections to local port "port" through the secure |
* Initiate forwarding of connections to local port "port" through the secure |