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()
292 ssh_packet_set_connection(struct ssh *ssh, int fd_in, int fd_out) in ssh_packet_set_connection()
329 ssh_packet_set_timeout(struct ssh *ssh, int timeout, int count) in ssh_packet_set_timeout()
344 ssh_packet_set_mux(struct ssh *ssh) in ssh_packet_set_mux()
351 ssh_packet_get_mux(struct ssh *ssh) in ssh_packet_get_mux()
357 ssh_packet_set_log_preamble(struct ssh *ssh, const char *fmt, ...) in ssh_packet_set_log_preamble()
376 ssh_packet_stop_discard(struct ssh *ssh) in ssh_packet_stop_discard()
403 ssh_packet_start_discard(struct ssh *ssh, struct sshenc *enc, in ssh_packet_start_discard()
431 ssh_packet_connection_is_on_socket(struct ssh *ssh) in ssh_packet_connection_is_on_socket()
464 ssh_packet_get_bytes(struct ssh *ssh, u_int64_t *ibytes, u_int64_t *obytes) in ssh_packet_get_bytes()
473 ssh_packet_connection_af(struct ssh *ssh) in ssh_packet_connection_af()
493 ssh_packet_set_nonblocking(struct ssh *ssh) in ssh_packet_set_nonblocking()
505 ssh_packet_get_connection_in(struct ssh *ssh) in ssh_packet_get_connection_in()
513 ssh_packet_get_connection_out(struct ssh *ssh) in ssh_packet_get_connection_out()
524 ssh_remote_ipaddr(struct ssh *ssh) in ssh_remote_ipaddr()
549 ssh_remote_port(struct ssh *ssh) in ssh_remote_port()
561 ssh_local_ipaddr(struct ssh *ssh) in ssh_local_ipaddr()
570 ssh_local_port(struct ssh *ssh) in ssh_local_port()
578 ssh_packet_rdomain_in(struct ssh *ssh) in ssh_packet_rdomain_in()
591 ssh_packet_close_internal(struct ssh *ssh, int do_close) in ssh_packet_close_internal()
658 ssh_packet_close(struct ssh *ssh) in ssh_packet_close()
664 ssh_packet_clear_keys(struct ssh *ssh) in ssh_packet_clear_keys()
672 ssh_packet_set_protocol_flags(struct ssh *ssh, u_int protocol_flags) in ssh_packet_set_protocol_flags()
680 ssh_packet_get_protocol_flags(struct ssh *ssh) in ssh_packet_get_protocol_flags()
691 ssh_packet_init_compression(struct ssh *ssh) in ssh_packet_init_compression()
701 start_compression_out(struct ssh *ssh, int level) in start_compression_out()
721 start_compression_in(struct ssh *ssh) in start_compression_in()
739 compress_buffer(struct ssh *ssh, struct sshbuf *in, struct sshbuf *out) in compress_buffer()
785 uncompress_buffer(struct ssh *ssh, struct sshbuf *in, struct sshbuf *out) in uncompress_buffer()
834 start_compression_out(struct ssh *ssh, int level) in start_compression_out()
840 start_compression_in(struct ssh *ssh) in start_compression_in()
846 compress_buffer(struct ssh *ssh, struct sshbuf *in, struct sshbuf *out) in compress_buffer()
852 uncompress_buffer(struct ssh *ssh, struct sshbuf *in, struct sshbuf *out) in uncompress_buffer()
859 ssh_clear_newkeys(struct ssh *ssh, int mode) in ssh_clear_newkeys()
868 ssh_set_newkeys(struct ssh *ssh, int mode) in ssh_set_newkeys()
966 ssh_packet_need_rekeying(struct ssh *ssh, u_int outbound_packet_len) in ssh_packet_need_rekeying()
1018 ssh_packet_enable_delayed_compress(struct ssh *ssh) in ssh_packet_enable_delayed_compress()
1068 ssh_packet_send2_wrapped(struct ssh *ssh) in ssh_packet_send2_wrapped()
1238 ssh_packet_send2(struct ssh *ssh) in ssh_packet_send2()
1323 ssh_packet_read_seqnr(struct ssh *ssh, u_char *typep, u_int32_t *seqnr_p) in ssh_packet_read_seqnr()
1413 ssh_packet_read(struct ssh *ssh) in ssh_packet_read()
1429 ssh_packet_read_expect(struct ssh *ssh, u_int expected_type) in ssh_packet_read_expect()
1447 ssh_packet_read_poll2_mux(struct ssh *ssh, u_char *typep, u_int32_t *seqnr_p) in ssh_packet_read_poll2_mux()
1485 ssh_packet_read_poll2(struct ssh *ssh, u_char *typep, u_int32_t *seqnr_p) in ssh_packet_read_poll2()
1717 ssh_packet_read_poll_seqnr(struct ssh *ssh, u_char *typep, u_int32_t *seqnr_p) in ssh_packet_read_poll_seqnr()
1778 ssh_packet_process_incoming(struct ssh *ssh, const char *buf, u_int len) in ssh_packet_process_incoming()
1799 ssh_packet_remaining(struct ssh *ssh) in ssh_packet_remaining()
1813 ssh_packet_send_debug(struct ssh *ssh, const char *fmt,...) in ssh_packet_send_debug()
1838 sshpkt_fmt_connection_id(struct ssh *ssh, char *s, size_t l) in sshpkt_fmt_connection_id()
1850 sshpkt_vfatal(struct ssh *ssh, int r, const char *fmt, va_list ap) in sshpkt_vfatal()
1903 sshpkt_fatal(struct ssh *ssh, int r, const char *fmt, ...) in sshpkt_fatal()
1921 ssh_packet_disconnect(struct ssh *ssh, const char *fmt,...) in ssh_packet_disconnect()
1964 ssh_packet_write_poll(struct ssh *ssh) in ssh_packet_write_poll()
1992 ssh_packet_write_wait(struct ssh *ssh) in ssh_packet_write_wait()
2051 ssh_packet_have_data_to_write(struct ssh *ssh) in ssh_packet_have_data_to_write()
2059 ssh_packet_not_very_much_data_to_write(struct ssh *ssh) in ssh_packet_not_very_much_data_to_write()
2068 ssh_packet_set_tos(struct ssh *ssh, int tos) in ssh_packet_set_tos()
2099 ssh_packet_set_interactive(struct ssh *ssh, int interactive, int qos_interactive, int qos_bulk) in ssh_packet_set_interactive()
2121 ssh_packet_is_interactive(struct ssh *ssh) in ssh_packet_is_interactive()
2127 ssh_packet_set_maxsize(struct ssh *ssh, u_int s) in ssh_packet_set_maxsize()
2147 ssh_packet_inc_alive_timeouts(struct ssh *ssh) in ssh_packet_inc_alive_timeouts()
2153 ssh_packet_set_alive_timeouts(struct ssh *ssh, int ka) in ssh_packet_set_alive_timeouts()
2159 ssh_packet_get_maxsize(struct ssh *ssh) in ssh_packet_get_maxsize()
2165 ssh_packet_set_rekey_limits(struct ssh *ssh, u_int64_t bytes, u_int32_t seconds) in ssh_packet_set_rekey_limits()
2174 ssh_packet_get_rekey_timeout(struct ssh *ssh) in ssh_packet_get_rekey_timeout()
2184 ssh_packet_set_server(struct ssh *ssh) in ssh_packet_set_server()
2191 ssh_packet_set_authenticated(struct ssh *ssh) in ssh_packet_set_authenticated()
2197 ssh_packet_get_input(struct ssh *ssh) in ssh_packet_get_input()
2203 ssh_packet_get_output(struct ssh *ssh) in ssh_packet_get_output()
2210 ssh_packet_set_postauth(struct ssh *ssh) in ssh_packet_set_postauth()
2249 newkeys_to_blob(struct sshbuf *m, struct ssh *ssh, int mode) in newkeys_to_blob()
2293 ssh_packet_get_state(struct ssh *ssh, struct sshbuf *m) in ssh_packet_get_state()
2320 newkeys_from_blob(struct sshbuf *m, struct ssh *ssh, int mode) in newkeys_from_blob()
2426 ssh_packet_set_state(struct ssh *ssh, struct sshbuf *m) in ssh_packet_set_state()
2479 sshpkt_put(struct ssh *ssh, const void *v, size_t len) in sshpkt_put()
2485 sshpkt_putb(struct ssh *ssh, const struct sshbuf *b) in sshpkt_putb()
2491 sshpkt_put_u8(struct ssh *ssh, u_char val) in sshpkt_put_u8()
2497 sshpkt_put_u32(struct ssh *ssh, u_int32_t val) in sshpkt_put_u32()
2503 sshpkt_put_u64(struct ssh *ssh, u_int64_t val) in sshpkt_put_u64()
2509 sshpkt_put_string(struct ssh *ssh, const void *v, size_t len) in sshpkt_put_string()
2515 sshpkt_put_cstring(struct ssh *ssh, const void *v) in sshpkt_put_cstring()
2521 sshpkt_put_stringb(struct ssh *ssh, const struct sshbuf *v) in sshpkt_put_stringb()
2527 sshpkt_getb_froms(struct ssh *ssh, struct sshbuf **valp) in sshpkt_getb_froms()
2535 sshpkt_put_ec(struct ssh *ssh, const EC_POINT *v, const EC_GROUP *g) in sshpkt_put_ec()
2543 sshpkt_put_bignum2(struct ssh *ssh, const BIGNUM *v) in sshpkt_put_bignum2()
2552 sshpkt_get(struct ssh *ssh, void *valp, size_t len) in sshpkt_get()
2558 sshpkt_get_u8(struct ssh *ssh, u_char *valp) in sshpkt_get_u8()
2564 sshpkt_get_u32(struct ssh *ssh, u_int32_t *valp) in sshpkt_get_u32()
2570 sshpkt_get_u64(struct ssh *ssh, u_int64_t *valp) in sshpkt_get_u64()
2576 sshpkt_get_string(struct ssh *ssh, u_char **valp, size_t *lenp) in sshpkt_get_string()
2582 sshpkt_get_string_direct(struct ssh *ssh, const u_char **valp, size_t *lenp) in sshpkt_get_string_direct()
2588 sshpkt_peek_string_direct(struct ssh *ssh, const u_char **valp, size_t *lenp) in sshpkt_peek_string_direct()
2594 sshpkt_get_cstring(struct ssh *ssh, char **valp, size_t *lenp) in sshpkt_get_cstring()
2602 sshpkt_get_ec(struct ssh *ssh, EC_POINT *v, const EC_GROUP *g) in sshpkt_get_ec()
2609 sshpkt_get_bignum2(struct ssh *ssh, BIGNUM **valp) in sshpkt_get_bignum2()
2616 sshpkt_get_end(struct ssh *ssh) in sshpkt_get_end()
2624 sshpkt_ptr(struct ssh *ssh, size_t *lenp) in sshpkt_ptr()
2634 sshpkt_start(struct ssh *ssh, u_char type) in sshpkt_start()
2646 ssh_packet_send_mux(struct ssh *ssh) in ssh_packet_send_mux()
2687 sshpkt_msg_ignore(struct ssh *ssh, u_int nbytes) in sshpkt_msg_ignore()
2709 sshpkt_send(struct ssh *ssh) in sshpkt_send()
2717 sshpkt_disconnect(struct ssh *ssh, const char *fmt,...) in sshpkt_disconnect()
2738 sshpkt_add_padding(struct ssh *ssh, u_char pad) in sshpkt_add_padding()