Lines Matching defs:ssh
233 struct ssh *ssh = NULL; in ssh_alloc_session_state() local
276 ssh_packet_set_input_hook(struct ssh *ssh, ssh_packet_hook_fn *hook, void *ctx) in ssh_packet_set_input_hook()
284 ssh_packet_is_rekeying(struct ssh *ssh) in ssh_packet_is_rekeying()
294 ssh_packet_set_connection(struct ssh *ssh, int fd_in, int fd_out) in ssh_packet_set_connection()
331 ssh_packet_set_timeout(struct ssh *ssh, int timeout, int count) in ssh_packet_set_timeout()
346 ssh_packet_set_mux(struct ssh *ssh) in ssh_packet_set_mux()
355 ssh_packet_get_mux(struct ssh *ssh) in ssh_packet_get_mux()
361 ssh_packet_set_log_preamble(struct ssh *ssh, const char *fmt, ...) in ssh_packet_set_log_preamble()
380 ssh_packet_stop_discard(struct ssh *ssh) in ssh_packet_stop_discard()
407 ssh_packet_start_discard(struct ssh *ssh, struct sshenc *enc, in ssh_packet_start_discard()
435 ssh_packet_connection_is_on_socket(struct ssh *ssh) in ssh_packet_connection_is_on_socket()
468 ssh_packet_get_bytes(struct ssh *ssh, u_int64_t *ibytes, u_int64_t *obytes) in ssh_packet_get_bytes()
477 ssh_packet_connection_af(struct ssh *ssh) in ssh_packet_connection_af()
485 ssh_packet_set_nonblocking(struct ssh *ssh) in ssh_packet_set_nonblocking()
497 ssh_packet_get_connection_in(struct ssh *ssh) in ssh_packet_get_connection_in()
505 ssh_packet_get_connection_out(struct ssh *ssh) in ssh_packet_get_connection_out()
516 ssh_remote_ipaddr(struct ssh *ssh) in ssh_remote_ipaddr()
548 ssh_remote_hostname(struct ssh *ssh) in ssh_remote_hostname()
633 ssh_remote_port(struct ssh *ssh) in ssh_remote_port()
645 ssh_local_ipaddr(struct ssh *ssh) in ssh_local_ipaddr()
654 ssh_local_port(struct ssh *ssh) in ssh_local_port()
662 ssh_packet_rdomain_in(struct ssh *ssh) in ssh_packet_rdomain_in()
675 ssh_packet_close_internal(struct ssh *ssh, int do_close) in ssh_packet_close_internal()
744 ssh_packet_close(struct ssh *ssh) in ssh_packet_close()
750 ssh_packet_clear_keys(struct ssh *ssh) in ssh_packet_clear_keys()
758 ssh_packet_set_protocol_flags(struct ssh *ssh, u_int protocol_flags) in ssh_packet_set_protocol_flags()
766 ssh_packet_get_protocol_flags(struct ssh *ssh) in ssh_packet_get_protocol_flags()
777 ssh_packet_init_compression(struct ssh *ssh) in ssh_packet_init_compression()
787 start_compression_out(struct ssh *ssh, int level) in start_compression_out()
807 start_compression_in(struct ssh *ssh) in start_compression_in()
825 compress_buffer(struct ssh *ssh, struct sshbuf *in, struct sshbuf *out) in compress_buffer()
871 uncompress_buffer(struct ssh *ssh, struct sshbuf *in, struct sshbuf *out) in uncompress_buffer()
920 start_compression_out(struct ssh *ssh, int level) in start_compression_out()
926 start_compression_in(struct ssh *ssh) in start_compression_in()
932 compress_buffer(struct ssh *ssh, struct sshbuf *in, struct sshbuf *out) in compress_buffer()
938 uncompress_buffer(struct ssh *ssh, struct sshbuf *in, struct sshbuf *out) in uncompress_buffer()
945 ssh_clear_newkeys(struct ssh *ssh, int mode) in ssh_clear_newkeys()
954 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()
1898 ssh_packet_process_incoming(struct ssh *ssh, const char *buf, u_int len) in ssh_packet_process_incoming()
1920 ssh_packet_process_read(struct ssh *ssh, int fd) in ssh_packet_process_read()
1944 ssh_packet_remaining(struct ssh *ssh) in ssh_packet_remaining()
1958 ssh_packet_send_debug(struct ssh *ssh, const char *fmt,...) in ssh_packet_send_debug()
1983 sshpkt_fmt_connection_id(struct ssh *ssh, char *s, size_t l) in sshpkt_fmt_connection_id()
1995 sshpkt_vfatal(struct ssh *ssh, int r, const char *fmt, va_list ap) in sshpkt_vfatal()
2047 sshpkt_fatal(struct ssh *ssh, int r, const char *fmt, ...) in sshpkt_fatal()
2065 ssh_packet_disconnect(struct ssh *ssh, const char *fmt,...) in ssh_packet_disconnect()
2108 ssh_packet_write_poll(struct ssh *ssh) in ssh_packet_write_poll()
2136 ssh_packet_write_wait(struct ssh *ssh) in ssh_packet_write_wait()
2183 ssh_packet_have_data_to_write(struct ssh *ssh) in ssh_packet_have_data_to_write()
2191 ssh_packet_not_very_much_data_to_write(struct ssh *ssh) in ssh_packet_not_very_much_data_to_write()
2205 ssh_packet_interactive_data_to_write(struct ssh *ssh) in ssh_packet_interactive_data_to_write()
2212 ssh_packet_set_tos(struct ssh *ssh, int tos) in ssh_packet_set_tos()
2222 ssh_packet_set_interactive(struct ssh *ssh, int interactive, int qos_interactive, int qos_bulk) in ssh_packet_set_interactive()
2243 ssh_packet_is_interactive(struct ssh *ssh) in ssh_packet_is_interactive()
2249 ssh_packet_set_maxsize(struct ssh *ssh, u_int s) in ssh_packet_set_maxsize()
2269 ssh_packet_inc_alive_timeouts(struct ssh *ssh) in ssh_packet_inc_alive_timeouts()
2275 ssh_packet_set_alive_timeouts(struct ssh *ssh, int ka) in ssh_packet_set_alive_timeouts()
2281 ssh_packet_get_maxsize(struct ssh *ssh) in ssh_packet_get_maxsize()
2287 ssh_packet_set_rekey_limits(struct ssh *ssh, u_int64_t bytes, u_int32_t seconds) in ssh_packet_set_rekey_limits()
2296 ssh_packet_get_rekey_timeout(struct ssh *ssh) in ssh_packet_get_rekey_timeout()
2306 ssh_packet_set_server(struct ssh *ssh) in ssh_packet_set_server()
2313 ssh_packet_set_authenticated(struct ssh *ssh) in ssh_packet_set_authenticated()
2319 ssh_packet_get_input(struct ssh *ssh) in ssh_packet_get_input()
2325 ssh_packet_get_output(struct ssh *ssh) in ssh_packet_get_output()
2332 ssh_packet_set_postauth(struct ssh *ssh) in ssh_packet_set_postauth()
2371 newkeys_to_blob(struct sshbuf *m, struct ssh *ssh, int mode) in newkeys_to_blob()
2415 ssh_packet_get_state(struct ssh *ssh, struct sshbuf *m) in ssh_packet_get_state()
2442 newkeys_from_blob(struct sshbuf *m, struct ssh *ssh, int mode) in newkeys_from_blob()
2549 ssh_packet_set_state(struct ssh *ssh, struct sshbuf *m) in ssh_packet_set_state()
2602 sshpkt_put(struct ssh *ssh, const void *v, size_t len) in sshpkt_put()
2608 sshpkt_putb(struct ssh *ssh, const struct sshbuf *b) in sshpkt_putb()
2614 sshpkt_put_u8(struct ssh *ssh, u_char val) in sshpkt_put_u8()
2620 sshpkt_put_u32(struct ssh *ssh, u_int32_t val) in sshpkt_put_u32()
2626 sshpkt_put_u64(struct ssh *ssh, u_int64_t val) in sshpkt_put_u64()
2632 sshpkt_put_string(struct ssh *ssh, const void *v, size_t len) in sshpkt_put_string()
2638 sshpkt_put_cstring(struct ssh *ssh, const void *v) in sshpkt_put_cstring()
2644 sshpkt_put_stringb(struct ssh *ssh, const struct sshbuf *v) in sshpkt_put_stringb()
2652 sshpkt_put_ec(struct ssh *ssh, const EC_POINT *v, const EC_GROUP *g) in sshpkt_put_ec()
2658 sshpkt_put_ec_pkey(struct ssh *ssh, EVP_PKEY *pkey) in sshpkt_put_ec_pkey()
2665 sshpkt_put_bignum2(struct ssh *ssh, const BIGNUM *v) in sshpkt_put_bignum2()
2674 sshpkt_get(struct ssh *ssh, void *valp, size_t len) in sshpkt_get()
2680 sshpkt_get_u8(struct ssh *ssh, u_char *valp) in sshpkt_get_u8()
2686 sshpkt_get_u32(struct ssh *ssh, u_int32_t *valp) in sshpkt_get_u32()
2692 sshpkt_get_u64(struct ssh *ssh, u_int64_t *valp) in sshpkt_get_u64()
2698 sshpkt_get_string(struct ssh *ssh, u_char **valp, size_t *lenp) in sshpkt_get_string()
2704 sshpkt_get_string_direct(struct ssh *ssh, const u_char **valp, size_t *lenp) in sshpkt_get_string_direct()
2710 sshpkt_peek_string_direct(struct ssh *ssh, const u_char **valp, size_t *lenp) in sshpkt_peek_string_direct()
2716 sshpkt_get_cstring(struct ssh *ssh, char **valp, size_t *lenp) in sshpkt_get_cstring()
2722 sshpkt_getb_froms(struct ssh *ssh, struct sshbuf **valp) in sshpkt_getb_froms()
2730 sshpkt_get_ec(struct ssh *ssh, EC_POINT *v, const EC_GROUP *g) in sshpkt_get_ec()
2737 sshpkt_get_bignum2(struct ssh *ssh, BIGNUM **valp) in sshpkt_get_bignum2()
2744 sshpkt_get_end(struct ssh *ssh) in sshpkt_get_end()
2752 sshpkt_ptr(struct ssh *ssh, size_t *lenp) in sshpkt_ptr()
2762 sshpkt_start(struct ssh *ssh, u_char type) in sshpkt_start()
2774 ssh_packet_send_mux(struct ssh *ssh) in ssh_packet_send_mux()
2815 sshpkt_msg_ignore(struct ssh *ssh, u_int nbytes) in sshpkt_msg_ignore()
2837 sshpkt_send(struct ssh *ssh) in sshpkt_send()
2845 sshpkt_disconnect(struct ssh *ssh, const char *fmt,...) in sshpkt_disconnect()
2867 sshpkt_add_padding(struct ssh *ssh, u_char pad) in sshpkt_add_padding()