get_sock_af
switch ((af = get_sock_af(fd))) {
int get_sock_af(int);
return get_sock_af(ssh->state->connection_out);