Home | History | Annotate | Download | only in src

Lines Matching refs:peer

113  * The peer has missed a packet.  Mark the next output frame to be FLUSHED
539 u_int32_t mval, peer;
541 ua_ntohl(o->data, &peer);
551 * whatever the peer asks for.
555 mval |= (peer & MPPE_OPT_BITMASK);
563 mval |= (peer & MPPE_OPT_STATELESS);
572 * The peer has requested the given options
578 u_int32_t mval, peer;
581 ua_ntohl(o->data, &peer);
583 if (peer != 0) {
584 peer = 0;
585 ua_htonl(&peer, o->data);
593 if (peer & ~MPPE_OPT_MASK)
597 if (peer & MPPE_OPT_STATELESS) {
599 /* Peer can't have stateless */
602 /* Peer wants stateless, that's ok */
606 /* Peer must have stateless */
609 /* Peer doesn't want stateless, that's ok */
613 /* If we've got a configured number of keybits - the peer must use that */
616 return peer == mval ? res : MODE_NAK;
620 switch (peer & MPPE_OPT_BITMASK) {
631 if (peer & MPPE_OPT_128BIT)
633 else if (peer & MPPE_OPT_56BIT)
635 else if (peer & MPPE_OPT_40BIT)