Lines Matching refs:ssh
9 struct ssh *active_state, *backup_state;
14 ssh_packet_start(struct ssh *ssh, u_char type) in ssh_packet_start() argument
18 if ((r = sshpkt_start(ssh, type)) != 0) in ssh_packet_start()
23 ssh_packet_put_char(struct ssh *ssh, int value) in ssh_packet_put_char() argument
28 if ((r = sshpkt_put_u8(ssh, ch)) != 0) in ssh_packet_put_char()
33 ssh_packet_put_int(struct ssh *ssh, u_int value) in ssh_packet_put_int() argument
37 if ((r = sshpkt_put_u32(ssh, value)) != 0) in ssh_packet_put_int()
42 ssh_packet_put_int64(struct ssh *ssh, u_int64_t value) in ssh_packet_put_int64() argument
46 if ((r = sshpkt_put_u64(ssh, value)) != 0) in ssh_packet_put_int64()
51 ssh_packet_put_string(struct ssh *ssh, const void *buf, u_int len) in ssh_packet_put_string() argument
55 if ((r = sshpkt_put_string(ssh, buf, len)) != 0) in ssh_packet_put_string()
60 ssh_packet_put_cstring(struct ssh *ssh, const char *str) in ssh_packet_put_cstring() argument
64 if ((r = sshpkt_put_cstring(ssh, str)) != 0) in ssh_packet_put_cstring()
69 ssh_packet_put_raw(struct ssh *ssh, const void *buf, u_int len) in ssh_packet_put_raw() argument
73 if ((r = sshpkt_put(ssh, buf, len)) != 0) in ssh_packet_put_raw()
79 ssh_packet_put_bignum(struct ssh *ssh, BIGNUM * value) in ssh_packet_put_bignum() argument
83 if ((r = sshpkt_put_bignum1(ssh, value)) != 0) in ssh_packet_put_bignum()
90 ssh_packet_put_bignum2(struct ssh *ssh, BIGNUM * value) in ssh_packet_put_bignum2() argument
94 if ((r = sshpkt_put_bignum2(ssh, value)) != 0) in ssh_packet_put_bignum2()
100 ssh_packet_put_ecpoint(struct ssh *ssh, const EC_GROUP *curve, in ssh_packet_put_ecpoint() argument
105 if ((r = sshpkt_put_ec(ssh, point, curve)) != 0) in ssh_packet_put_ecpoint()
112 ssh_packet_send(struct ssh *ssh) in ssh_packet_send() argument
116 if ((r = sshpkt_send(ssh)) != 0) in ssh_packet_send()
121 ssh_packet_get_char(struct ssh *ssh) in ssh_packet_get_char() argument
126 if ((r = sshpkt_get_u8(ssh, &ch)) != 0) in ssh_packet_get_char()
132 ssh_packet_get_int(struct ssh *ssh) in ssh_packet_get_int() argument
137 if ((r = sshpkt_get_u32(ssh, &val)) != 0) in ssh_packet_get_int()
143 ssh_packet_get_int64(struct ssh *ssh) in ssh_packet_get_int64() argument
148 if ((r = sshpkt_get_u64(ssh, &val)) != 0) in ssh_packet_get_int64()
155 ssh_packet_get_bignum(struct ssh *ssh, BIGNUM * value) in ssh_packet_get_bignum() argument
159 if ((r = sshpkt_get_bignum1(ssh, value)) != 0) in ssh_packet_get_bignum()
166 ssh_packet_get_bignum2(struct ssh *ssh, BIGNUM * value) in ssh_packet_get_bignum2() argument
170 if ((r = sshpkt_get_bignum2(ssh, value)) != 0) in ssh_packet_get_bignum2()
176 ssh_packet_get_ecpoint(struct ssh *ssh, const EC_GROUP *curve, EC_POINT *point) in ssh_packet_get_ecpoint() argument
180 if ((r = sshpkt_get_ec(ssh, point, curve)) != 0) in ssh_packet_get_ecpoint()
187 ssh_packet_get_string(struct ssh *ssh, u_int *length_ptr) in ssh_packet_get_string() argument
193 if ((r = sshpkt_get_string(ssh, &val, &len)) != 0) in ssh_packet_get_string()
201 ssh_packet_get_string_ptr(struct ssh *ssh, u_int *length_ptr) in ssh_packet_get_string_ptr() argument
207 if ((r = sshpkt_get_string_direct(ssh, &val, &len)) != 0) in ssh_packet_get_string_ptr()
215 ssh_packet_get_cstring(struct ssh *ssh, u_int *length_ptr) in ssh_packet_get_cstring() argument
221 if ((r = sshpkt_get_cstring(ssh, &val, &len)) != 0) in ssh_packet_get_cstring()