Lines Matching refs:sessionp

52 static bool process_ssh_version_string(SSH_PROTO_CONF* config, SSHData* sessionp, Packet* p, uint8_…
53 static bool process_ssh1_key_exchange(SSHData *sessionp, Packet *p, uint8_t direction);
54 static bool process_ssh2_kexinit(SSHData *sessionp, Packet *p, uint8_t direction);
55 static bool process_ssh2_key_exchange(SSHData *sessionp, Packet *p, uint8_t direction);
239 SSH_PROTO_CONF* config, SSHData* sessionp, Packet* p, uint8_t direction) in process_ssh_version_string() argument
271 sessionp->version = SSH_VERSION_2; in process_ssh_version_string()
279 sessionp->version = SSH_VERSION_1; in process_ssh_version_string()
283 sessionp->version = SSH_VERSION_1; in process_ssh_version_string()
289 sessionp->version = SSH_VERSION_UNKNOWN; in process_ssh_version_string()
299 sessionp->state_flags |= SSH_FLG_SERV_IDSTRING_SEEN; in process_ssh_version_string()
302 sessionp->state_flags |= SSH_FLG_CLIENT_IDSTRING_SEEN; in process_ssh_version_string()
309 static bool process_ssh1_key_exchange(SSHData *sessionp, Packet *p, uint8_t direction) in process_ssh1_key_exchange() argument
333 sessionp->state_flags |= SSH_FLG_SERV_PKEY_SEEN; in process_ssh1_key_exchange()
344 sessionp->state_flags |= SSH_FLG_CLIENT_SKEY_SEEN; in process_ssh1_key_exchange()
353 if ((sessionp->state_flags & SSH_FLG_V1_KEYEXCH_DONE) == SSH_FLG_V1_KEYEXCH_DONE) in process_ssh1_key_exchange()
355 sessionp->state_flags |= SSH_FLG_SESS_ENCRYPTED; in process_ssh1_key_exchange()
360 static bool process_ssh2_kexinit(SSHData *sessionp, Packet *p, uint8_t direction) in process_ssh2_kexinit() argument
379 sessionp->state_flags |= in process_ssh2_kexinit()
417 static bool process_ssh2_key_exchange(SSHData *sessionp, Packet *p, uint8_t direction) in process_ssh2_key_exchange() argument
444 sessionp->state_flags |= in process_ssh2_key_exchange()
459 sessionp->state_flags |= in process_ssh2_key_exchange()
472 sessionp->state_flags |= in process_ssh2_key_exchange()
484 sessionp->state_flags |= in process_ssh2_key_exchange()
496 sessionp->state_flags |= in process_ssh2_key_exchange()
515 sessionp->state_flags |= SSH_FLG_CLIENT_NEWKEYS_SEEN; in process_ssh2_key_exchange()
519 sessionp->state_flags |= SSH_FLG_SERVER_NEWKEYS_SEEN; in process_ssh2_key_exchange()
529 if (((sessionp->state_flags & SSH_FLG_V2_DHOLD_DONE) == SSH_FLG_V2_DHOLD_DONE) in process_ssh2_key_exchange()
530 or ((sessionp->state_flags & SSH_FLG_V2_DHNEW_DONE) == SSH_FLG_V2_DHNEW_DONE)) in process_ssh2_key_exchange()
532 sessionp->state_flags |= SSH_FLG_SESS_ENCRYPTED; in process_ssh2_key_exchange()