Lines Matching defs:ssh

232 	struct ssh *ssh = NULL;  in ssh_alloc_session_state()  local
275 ssh_packet_set_input_hook(struct ssh *ssh, ssh_packet_hook_fn *hook, void *ctx) in ssh_packet_set_input_hook()
283 ssh_packet_is_rekeying(struct ssh *ssh) in ssh_packet_is_rekeying()
293 ssh_packet_set_connection(struct ssh *ssh, int fd_in, int fd_out) in ssh_packet_set_connection()
330 ssh_packet_set_timeout(struct ssh *ssh, int timeout, int count) in ssh_packet_set_timeout()
345 ssh_packet_set_mux(struct ssh *ssh) in ssh_packet_set_mux()
354 ssh_packet_get_mux(struct ssh *ssh) in ssh_packet_get_mux()
360 ssh_packet_set_log_preamble(struct ssh *ssh, const char *fmt, ...) in ssh_packet_set_log_preamble()
379 ssh_packet_stop_discard(struct ssh *ssh) in ssh_packet_stop_discard()
406 ssh_packet_start_discard(struct ssh *ssh, struct sshenc *enc, in ssh_packet_start_discard()
434 ssh_packet_connection_is_on_socket(struct ssh *ssh) in ssh_packet_connection_is_on_socket()
467 ssh_packet_get_bytes(struct ssh *ssh, u_int64_t *ibytes, u_int64_t *obytes) in ssh_packet_get_bytes()
476 ssh_packet_connection_af(struct ssh *ssh) in ssh_packet_connection_af()
484 ssh_packet_set_nonblocking(struct ssh *ssh) in ssh_packet_set_nonblocking()
496 ssh_packet_get_connection_in(struct ssh *ssh) in ssh_packet_get_connection_in()
504 ssh_packet_get_connection_out(struct ssh *ssh) in ssh_packet_get_connection_out()
515 ssh_remote_ipaddr(struct ssh *ssh) in ssh_remote_ipaddr()
547 ssh_remote_hostname(struct ssh *ssh) in ssh_remote_hostname()
632 ssh_remote_port(struct ssh *ssh) in ssh_remote_port()
644 ssh_local_ipaddr(struct ssh *ssh) in ssh_local_ipaddr()
653 ssh_local_port(struct ssh *ssh) in ssh_local_port()
661 ssh_packet_rdomain_in(struct ssh *ssh) in ssh_packet_rdomain_in()
674 ssh_packet_close_internal(struct ssh *ssh, int do_close) in ssh_packet_close_internal()
743 ssh_packet_close(struct ssh *ssh) in ssh_packet_close()
749 ssh_packet_clear_keys(struct ssh *ssh) in ssh_packet_clear_keys()
757 ssh_packet_set_protocol_flags(struct ssh *ssh, u_int protocol_flags) in ssh_packet_set_protocol_flags()
765 ssh_packet_get_protocol_flags(struct ssh *ssh) in ssh_packet_get_protocol_flags()
776 ssh_packet_init_compression(struct ssh *ssh) in ssh_packet_init_compression()
786 start_compression_out(struct ssh *ssh, int level) in start_compression_out()
806 start_compression_in(struct ssh *ssh) in start_compression_in()
824 compress_buffer(struct ssh *ssh, struct sshbuf *in, struct sshbuf *out) in compress_buffer()
870 uncompress_buffer(struct ssh *ssh, struct sshbuf *in, struct sshbuf *out) in uncompress_buffer()
919 start_compression_out(struct ssh *ssh, int level) in start_compression_out()
925 start_compression_in(struct ssh *ssh) in start_compression_in()
931 compress_buffer(struct ssh *ssh, struct sshbuf *in, struct sshbuf *out) in compress_buffer()
937 uncompress_buffer(struct ssh *ssh, struct sshbuf *in, struct sshbuf *out) in uncompress_buffer()
944 ssh_clear_newkeys(struct ssh *ssh, int mode) in ssh_clear_newkeys()
953 ssh_set_newkeys(struct ssh *ssh, int mode) in ssh_set_newkeys()
1051 ssh_packet_need_rekeying(struct ssh *ssh, u_int outbound_packet_len) in ssh_packet_need_rekeying()
1098 ssh_packet_check_rekey(struct ssh *ssh) in ssh_packet_check_rekey()
1112 ssh_packet_enable_delayed_compress(struct ssh *ssh) in ssh_packet_enable_delayed_compress()
1164 ssh_packet_send2_wrapped(struct ssh *ssh) in ssh_packet_send2_wrapped()
1344 ssh_packet_send2(struct ssh *ssh) in ssh_packet_send2()
1428 ssh_packet_read_seqnr(struct ssh *ssh, u_char *typep, u_int32_t *seqnr_p) in ssh_packet_read_seqnr()
1510 ssh_packet_read(struct ssh *ssh) in ssh_packet_read()
1521 ssh_packet_read_poll2_mux(struct ssh *ssh, u_char *typep, u_int32_t *seqnr_p) in ssh_packet_read_poll2_mux()
1559 ssh_packet_read_poll2(struct ssh *ssh, u_char *typep, u_int32_t *seqnr_p) in ssh_packet_read_poll2()
1797 ssh_packet_read_poll_seqnr(struct ssh *ssh, u_char *typep, u_int32_t *seqnr_p) in ssh_packet_read_poll_seqnr()
1890 ssh_packet_process_incoming(struct ssh *ssh, const char *buf, u_int len) in ssh_packet_process_incoming()
1912 ssh_packet_process_read(struct ssh *ssh, int fd) in ssh_packet_process_read()
1936 ssh_packet_remaining(struct ssh *ssh) in ssh_packet_remaining()
1950 ssh_packet_send_debug(struct ssh *ssh, const char *fmt,...) in ssh_packet_send_debug()
1975 sshpkt_fmt_connection_id(struct ssh *ssh, char *s, size_t l) in sshpkt_fmt_connection_id()
1987 sshpkt_vfatal(struct ssh *ssh, int r, const char *fmt, va_list ap) in sshpkt_vfatal()
2038 sshpkt_fatal(struct ssh *ssh, int r, const char *fmt, ...) in sshpkt_fatal()
2056 ssh_packet_disconnect(struct ssh *ssh, const char *fmt,...) in ssh_packet_disconnect()
2099 ssh_packet_write_poll(struct ssh *ssh) in ssh_packet_write_poll()
2127 ssh_packet_write_wait(struct ssh *ssh) in ssh_packet_write_wait()
2174 ssh_packet_have_data_to_write(struct ssh *ssh) in ssh_packet_have_data_to_write()
2182 ssh_packet_not_very_much_data_to_write(struct ssh *ssh) in ssh_packet_not_very_much_data_to_write()
2196 ssh_packet_interactive_data_to_write(struct ssh *ssh) in ssh_packet_interactive_data_to_write()
2203 ssh_packet_set_tos(struct ssh *ssh, int tos) in ssh_packet_set_tos()
2213 ssh_packet_set_interactive(struct ssh *ssh, int interactive, int qos_interactive, int qos_bulk) in ssh_packet_set_interactive()
2234 ssh_packet_is_interactive(struct ssh *ssh) in ssh_packet_is_interactive()
2240 ssh_packet_set_maxsize(struct ssh *ssh, u_int s) in ssh_packet_set_maxsize()
2260 ssh_packet_inc_alive_timeouts(struct ssh *ssh) in ssh_packet_inc_alive_timeouts()
2266 ssh_packet_set_alive_timeouts(struct ssh *ssh, int ka) in ssh_packet_set_alive_timeouts()
2272 ssh_packet_get_maxsize(struct ssh *ssh) in ssh_packet_get_maxsize()
2278 ssh_packet_set_rekey_limits(struct ssh *ssh, u_int64_t bytes, u_int32_t seconds) in ssh_packet_set_rekey_limits()
2287 ssh_packet_get_rekey_timeout(struct ssh *ssh) in ssh_packet_get_rekey_timeout()
2297 ssh_packet_set_server(struct ssh *ssh) in ssh_packet_set_server()
2304 ssh_packet_set_authenticated(struct ssh *ssh) in ssh_packet_set_authenticated()
2310 ssh_packet_get_input(struct ssh *ssh) in ssh_packet_get_input()
2316 ssh_packet_get_output(struct ssh *ssh) in ssh_packet_get_output()
2323 ssh_packet_set_postauth(struct ssh *ssh) in ssh_packet_set_postauth()
2362 newkeys_to_blob(struct sshbuf *m, struct ssh *ssh, int mode) in newkeys_to_blob()
2406 ssh_packet_get_state(struct ssh *ssh, struct sshbuf *m) in ssh_packet_get_state()
2433 newkeys_from_blob(struct sshbuf *m, struct ssh *ssh, int mode) in newkeys_from_blob()
2540 ssh_packet_set_state(struct ssh *ssh, struct sshbuf *m) in ssh_packet_set_state()
2593 sshpkt_put(struct ssh *ssh, const void *v, size_t len) in sshpkt_put()
2599 sshpkt_putb(struct ssh *ssh, const struct sshbuf *b) in sshpkt_putb()
2605 sshpkt_put_u8(struct ssh *ssh, u_char val) in sshpkt_put_u8()
2611 sshpkt_put_u32(struct ssh *ssh, u_int32_t val) in sshpkt_put_u32()
2617 sshpkt_put_u64(struct ssh *ssh, u_int64_t val) in sshpkt_put_u64()
2623 sshpkt_put_string(struct ssh *ssh, const void *v, size_t len) in sshpkt_put_string()
2629 sshpkt_put_cstring(struct ssh *ssh, const void *v) in sshpkt_put_cstring()
2635 sshpkt_put_stringb(struct ssh *ssh, const struct sshbuf *v) in sshpkt_put_stringb()
2641 sshpkt_getb_froms(struct ssh *ssh, struct sshbuf **valp) in sshpkt_getb_froms()
2649 sshpkt_put_ec(struct ssh *ssh, const EC_POINT *v, const EC_GROUP *g) in sshpkt_put_ec()
2657 sshpkt_put_bignum2(struct ssh *ssh, const BIGNUM *v) in sshpkt_put_bignum2()
2666 sshpkt_get(struct ssh *ssh, void *valp, size_t len) in sshpkt_get()
2672 sshpkt_get_u8(struct ssh *ssh, u_char *valp) in sshpkt_get_u8()
2678 sshpkt_get_u32(struct ssh *ssh, u_int32_t *valp) in sshpkt_get_u32()
2684 sshpkt_get_u64(struct ssh *ssh, u_int64_t *valp) in sshpkt_get_u64()
2690 sshpkt_get_string(struct ssh *ssh, u_char **valp, size_t *lenp) in sshpkt_get_string()
2696 sshpkt_get_string_direct(struct ssh *ssh, const u_char **valp, size_t *lenp) in sshpkt_get_string_direct()
2702 sshpkt_peek_string_direct(struct ssh *ssh, const u_char **valp, size_t *lenp) in sshpkt_peek_string_direct()
2708 sshpkt_get_cstring(struct ssh *ssh, char **valp, size_t *lenp) in sshpkt_get_cstring()
2716 sshpkt_get_ec(struct ssh *ssh, EC_POINT *v, const EC_GROUP *g) in sshpkt_get_ec()
2723 sshpkt_get_bignum2(struct ssh *ssh, BIGNUM **valp) in sshpkt_get_bignum2()
2730 sshpkt_get_end(struct ssh *ssh) in sshpkt_get_end()
2738 sshpkt_ptr(struct ssh *ssh, size_t *lenp) in sshpkt_ptr()
2748 sshpkt_start(struct ssh *ssh, u_char type) in sshpkt_start()
2760 ssh_packet_send_mux(struct ssh *ssh) in ssh_packet_send_mux()
2801 sshpkt_msg_ignore(struct ssh *ssh, u_int nbytes) in sshpkt_msg_ignore()
2823 sshpkt_send(struct ssh *ssh) in sshpkt_send()
2831 sshpkt_disconnect(struct ssh *ssh, const char *fmt,...) in sshpkt_disconnect()
2853 sshpkt_add_padding(struct ssh *ssh, u_char pad) in sshpkt_add_padding()