Lines Matching refs:mo
756 krb5_insert_seq(struct krb5_msg_order *mo, uint32_t seq, int index)
760 if (mo->km_length < mo->km_jitter_window)
761 mo->km_length++;
763 for (i = mo->km_length - 1; i > index; i--)
764 mo->km_elem[i] = mo->km_elem[i - 1];
765 mo->km_elem[index] = seq;
775 struct krb5_msg_order *mo = &kc->kc_msg_order;
776 int check_sequence = mo->km_flags & GSS_C_SEQUENCE_FLAG;
777 int check_replay = mo->km_flags & GSS_C_REPLAY_FLAG;
785 if (mo->km_length == 0 || seq == mo->km_elem[0] + 1) {
789 krb5_insert_seq(mo, seq, 0);
794 if (seq > mo->km_elem[0]) {
798 krb5_insert_seq(mo, seq, 0);
806 if (seq < mo->km_elem[mo->km_length - 1]) {
814 for (i = 0; i < mo->km_length; i++) {
815 if (mo->km_elem[i] == seq) {
819 if (mo->km_elem[i] < seq) {
823 krb5_insert_seq(mo, seq, i);