Home
last modified time | relevance | path

Searched refs:PPP_CHAP (Results 1 – 9 of 9) sorted by relevance

/openbsd/usr.sbin/pppd/
H A Dchap.c80 PPP_CHAP,
207 auth_peer_fail(cstate->unit, PPP_CHAP);
314 auth_peer_fail(unit, PPP_CHAP);
317 auth_withpeer_fail(unit, PPP_CHAP);
586 auth_peer_success(cstate->unit, PPP_CHAP, rhostname, len);
597 auth_peer_fail(cstate->unit, PPP_CHAP);
635 auth_withpeer_success(cstate->unit, PPP_CHAP);
667 auth_withpeer_fail(cstate->unit, PPP_CHAP);
687 MAKEHEADER(outp, PPP_CHAP); /* paste in a CHAP header */
729 MAKEHEADER(outp, PPP_CHAP); /* paste in a header */
[all …]
H A Dlcp.c553 ADDCICHAP(CI_AUTHTYPE, go->neg_chap, PPP_CHAP, go->chap_mdtype);
677 ACKCICHAP(CI_AUTHTYPE, go->neg_chap, PPP_CHAP, go->chap_mdtype);
845 } else if (cishort == PPP_CHAP && cilen == CILEN_CHAP) {
1118 REJCICHAP(CI_AUTHTYPE, neg_chap, PPP_CHAP, go->chap_mdtype);
1291 PUTSHORT(PPP_CHAP, nakp);
1298 if (cishort == PPP_CHAP) {
1318 PUTSHORT(PPP_CHAP, nakp);
1336 PUTSHORT(PPP_CHAP, nakp);
1636 case PPP_CHAP:
H A Dauth.c365 case PPP_CHAP:
420 case PPP_CHAP:
H A Dmain.c685 || protocol == PPP_PAP || protocol == PPP_CHAP)) { in get_input()
/openbsd/lib/libpcap/
H A Dppp.h53 #define PPP_CHAP 0xc223 /* Challenge Handshake Authentication Protocol */ macro
/openbsd/sys/net/
H A Dppp_defs.h81 #define PPP_CHAP 0xc223 /* Cryptographic Handshake Auth. Protocol */ macro
H A Dif_spppsubr.c392 PPP_CHAP, IDX_CHAP, CP_AUTH, "chap",
498 case PPP_CHAP: in sppp_input()
1793 if (authproto == PPP_CHAP && p[1] != 5) { in sppp_lcp_RCR()
2217 opt[i++] = authproto == PPP_CHAP? 5: 4; in sppp_lcp_scr()
2220 if (authproto == PPP_CHAP) in sppp_lcp_scr()
3409 if (sp->myauth.proto == PPP_CHAP && in sppp_chap_input()
3483 sppp_auth_type_name(PPP_CHAP, h->type), in sppp_chap_input()
3558 if (sp->myauth.proto == PPP_CHAP && in sppp_chap_open()
4643 spa->proto != PPP_CHAP) { in sppp_set_params()
4748 case PPP_CHAP: in sppp_auth_type_name()
[all …]
/openbsd/usr.sbin/tcpdump/
H A Dprint-ppp.c91 { PPP_CHAP, "CHAP" }, /* Cryptographic Handshake Auth. Proto */
373 case PPP_CHAP: in ppp_print()
559 case PPP_CHAP: in print_lcp_config_options()
/openbsd/sbin/ifconfig/
H A Difconfig.c5482 spa.proto = PPP_CHAP; in setspppproto()
5588 case PPP_CHAP: in sppp_printproto()