H A D | packet.c | 227 struct ssh *ssh = NULL; local 267 ssh_packet_is_rekeying(struct ssh *ssh) argument 278 ssh_packet_set_connection(struct ssh *ssh, int fd_in, int fd_out) argument 316 ssh_packet_set_timeout(struct ssh *ssh, int timeout, int count) argument 331 ssh_packet_stop_discard(struct ssh *ssh) argument 358 ssh_packet_start_discard(struct ssh *ssh, struct sshenc *enc, struct sshmac *mac, size_t mac_already, u_int discard) argument 386 ssh_packet_connection_is_on_socket(struct ssh *ssh) argument 416 ssh_packet_get_bytes(struct ssh *ssh, u_int64_t *ibytes, u_int64_t *obytes) argument 425 ssh_packet_connection_af(struct ssh *ssh) argument 445 ssh_packet_set_nonblocking(struct ssh *ssh) argument 457 ssh_packet_get_connection_in(struct ssh *ssh) argument 465 ssh_packet_get_connection_out(struct ssh *ssh) argument 476 ssh_remote_ipaddr(struct ssh *ssh) argument 500 ssh_remote_port(struct ssh *ssh) argument 512 ssh_local_ipaddr(struct ssh *ssh) argument 521 ssh_local_port(struct ssh *ssh) argument 530 ssh_packet_close(struct ssh *ssh) argument 590 ssh_packet_set_protocol_flags(struct ssh *ssh, u_int protocol_flags) argument 598 ssh_packet_get_protocol_flags(struct ssh *ssh) argument 609 ssh_packet_init_compression(struct ssh *ssh) argument 618 start_compression_out(struct ssh *ssh, int level) argument 638 start_compression_in(struct ssh *ssh) argument 655 ssh_packet_start_compression(struct ssh *ssh, int level) argument 671 compress_buffer(struct ssh *ssh, struct sshbuf *in, struct sshbuf *out) argument 717 uncompress_buffer(struct ssh *ssh, struct sshbuf *in, struct sshbuf *out) argument 765 ssh_packet_get_compress_state(struct sshbuf *m, struct ssh *ssh) argument 793 ssh_packet_set_compress_state(struct ssh *ssh, struct sshbuf *m) argument 831 ssh_packet_set_compress_hooks(struct ssh *ssh, void *ctx, void *(*allocfunc)(void *, u_int, u_int), void (*freefunc)(void *, void *)) argument 850 ssh_packet_set_encryption_key(struct ssh *ssh, const u_char *key, u_int keylen, int number) argument 888 ssh_packet_send1(struct ssh *ssh) argument 976 ssh_set_newkeys(struct ssh *ssh, int mode) argument 1080 ssh_packet_need_rekeying(struct ssh *ssh, u_int outbound_packet_len) argument 1129 ssh_packet_enable_delayed_compress(struct ssh *ssh) argument 1179 ssh_packet_send2_wrapped(struct ssh *ssh) argument 1349 ssh_packet_send2(struct ssh *ssh) argument 1434 ssh_packet_read_seqnr(struct ssh *ssh, u_char *typep, u_int32_t *seqnr_p) argument 1527 ssh_packet_read(struct ssh *ssh) argument 1543 ssh_packet_read_expect(struct ssh *ssh, u_int expected_type) argument 1570 ssh_packet_read_poll1(struct ssh *ssh, u_char *typep) argument 1708 ssh_packet_read_poll2(struct ssh *ssh, u_char *typep, u_int32_t *seqnr_p) argument 1935 ssh_packet_read_poll_seqnr(struct ssh *ssh, u_char *typep, u_int32_t *seqnr_p) argument 2023 ssh_packet_process_incoming(struct ssh *ssh, const char *buf, u_int len) argument 2044 ssh_packet_remaining(struct ssh *ssh) argument 2058 ssh_packet_send_debug(struct ssh *ssh, const char *fmt,...) argument 2092 sshpkt_fatal(struct ssh *ssh, const char *tag, int r) argument 2137 ssh_packet_disconnect(struct ssh *ssh, const char *fmt,...) argument 2179 ssh_packet_write_poll(struct ssh *ssh) argument 2207 ssh_packet_write_wait(struct ssh *ssh) argument 2266 ssh_packet_have_data_to_write(struct ssh *ssh) argument 2274 ssh_packet_not_very_much_data_to_write(struct ssh *ssh) argument 2283 ssh_packet_set_tos(struct ssh *ssh, int tos) argument 2314 ssh_packet_set_interactive(struct ssh *ssh, int interactive, int qos_interactive, int qos_bulk) argument 2336 ssh_packet_is_interactive(struct ssh *ssh) argument 2342 ssh_packet_set_maxsize(struct ssh *ssh, u_int s) argument 2362 ssh_packet_inc_alive_timeouts(struct ssh *ssh) argument 2368 ssh_packet_set_alive_timeouts(struct ssh *ssh, int ka) argument 2374 ssh_packet_get_maxsize(struct ssh *ssh) argument 2391 ssh_packet_send_ignore(struct ssh *ssh, int nbytes) argument 2410 ssh_packet_set_rekey_limits(struct ssh *ssh, u_int64_t bytes, time_t seconds) argument 2419 ssh_packet_get_rekey_timeout(struct ssh *ssh) argument 2429 ssh_packet_set_server(struct ssh *ssh) argument 2435 ssh_packet_set_authenticated(struct ssh *ssh) argument 2441 ssh_packet_get_input(struct ssh *ssh) argument 2447 ssh_packet_get_output(struct ssh *ssh) argument 2454 ssh_packet_set_postauth(struct ssh *ssh) argument 2498 newkeys_to_blob(struct sshbuf *m, struct ssh *ssh, int mode) argument 2545 ssh_packet_get_state(struct ssh *ssh, struct sshbuf *m) argument 2606 newkeys_from_blob(struct sshbuf *m, struct ssh *ssh, int mode) argument 2720 ssh_packet_set_state(struct ssh *ssh, struct sshbuf *m) argument 2802 sshpkt_put(struct ssh *ssh, const void *v, size_t len) argument 2808 sshpkt_putb(struct ssh *ssh, const struct sshbuf *b) argument 2814 sshpkt_put_u8(struct ssh *ssh, u_char val) argument 2820 sshpkt_put_u32(struct ssh *ssh, u_int32_t val) argument 2826 sshpkt_put_u64(struct ssh *ssh, u_int64_t val) argument 2832 sshpkt_put_string(struct ssh *ssh, const void *v, size_t len) argument 2838 sshpkt_put_cstring(struct ssh *ssh, const void *v) argument 2844 sshpkt_put_stringb(struct ssh *ssh, const struct sshbuf *v) argument 2852 sshpkt_put_ec(struct ssh *ssh, const EC_POINT *v, const EC_GROUP *g) argument 2860 sshpkt_put_bignum1(struct ssh *ssh, const BIGNUM *v) argument 2867 sshpkt_put_bignum2(struct ssh *ssh, const BIGNUM *v) argument 2876 sshpkt_get(struct ssh *ssh, void *valp, size_t len) argument 2882 sshpkt_get_u8(struct ssh *ssh, u_char *valp) argument 2888 sshpkt_get_u32(struct ssh *ssh, u_int32_t *valp) argument 2894 sshpkt_get_u64(struct ssh *ssh, u_int64_t *valp) argument 2900 sshpkt_get_string(struct ssh *ssh, u_char **valp, size_t *lenp) argument 2906 sshpkt_get_string_direct(struct ssh *ssh, const u_char **valp, size_t *lenp) argument 2912 sshpkt_get_cstring(struct ssh *ssh, char **valp, size_t *lenp) argument 2920 sshpkt_get_ec(struct ssh *ssh, EC_POINT *v, const EC_GROUP *g) argument 2928 sshpkt_get_bignum1(struct ssh *ssh, BIGNUM *v) argument 2935 sshpkt_get_bignum2(struct ssh *ssh, BIGNUM *v) argument 2942 sshpkt_get_end(struct ssh *ssh) argument 2950 sshpkt_ptr(struct ssh *ssh, size_t *lenp) argument 2960 sshpkt_start(struct ssh *ssh, u_char type) argument 2976 sshpkt_send(struct ssh *ssh) argument 2985 sshpkt_disconnect(struct ssh *ssh, const char *fmt,...) argument 3013 sshpkt_add_padding(struct ssh *ssh, u_char pad) argument [all...] |