Searched refs:peer_auth (Results 1 – 6 of 6) sorted by relevance
196 int peer_auth = 0; in lcp_open() local202 peer_auth = PPP_AUTH_PAP; in lcp_open()204 peer_auth = PPP_AUTH_CHAP_MD5; in lcp_open()206 peer_auth = PPP_AUTH_CHAP_MS; in lcp_open()208 peer_auth = PPP_AUTH_CHAP_MS_V2; in lcp_open()210 peer_auth = PPP_AUTH_EAP; in lcp_open()224 f->ppp->peer_auth = peer_auth; in lcp_open()236 , lcp_auth_string(peer_auth) in lcp_open()415 if (f->ppp->peer_auth != 0) { in lcp_addci()416 _this->auth_order[0] = f->ppp->peer_auth; in lcp_addci()[all …]
86 #define AUTH_IS_PAP(ppp) ((ppp)->peer_auth == PPP_AUTH_PAP)87 #define AUTH_IS_CHAP(ppp) ((ppp)->peer_auth == PPP_AUTH_CHAP_MD5 ||\88 (ppp)->peer_auth == PPP_AUTH_CHAP_MS || \89 (ppp)->peer_auth == PPP_AUTH_CHAP_MS_V2)90 #define AUTH_IS_EAP(ppp) ((ppp)->peer_auth == PPP_AUTH_EAP)448 switch(_this->peer_auth) { in ppp_peer_auth_string()478 if (_this->peer_auth != 0 && _this->auth_runonce == 0) { in ppp_lcp_up()497 if (_this->peer_auth == 0) in ppp_lcp_up()581 if (_this->peer_auth != 0) { in ppp_auth_ok()
509 uint16_t peer_auth; member644 (((ppp)->peer_auth == PPP_AUTH_CHAP_MS_V2) || \645 ((ppp)->peer_auth == PPP_AUTH_EAP)))
174 _this->type = _this->ppp->peer_auth; in chap_start()467 CHAP_ASSERT(_this->ppp->peer_auth == PPP_AUTH_CHAP_MS_V2 || in chap_create_challenge()468 _this->ppp->peer_auth == PPP_AUTH_CHAP_MD5); in chap_create_challenge()
683 if (ppp->peer_auth == 0) { in npppd_get_user_framed_ip_address()
378 struct peer_auth { global() struct 379 md5keypeer_auth global() argument 380 auth_key_inpeer_auth global() argument 381 auth_key_outpeer_auth global() argument 382 enc_key_inpeer_auth global() argument 383 enc_key_outpeer_auth global() argument 384 spi_inpeer_auth global() argument 385 spi_outpeer_auth global() argument 386 methodpeer_auth global() argument 387 auth_alg_inpeer_auth global() argument 388 auth_alg_outpeer_auth global() argument 389 enc_alg_inpeer_auth global() argument 390 enc_alg_outpeer_auth global() argument 391 md5key_lenpeer_auth global() argument 392 auth_keylen_inpeer_auth global() argument 393 auth_keylen_outpeer_auth global() argument 394 enc_keylen_inpeer_auth global() argument 395 enc_keylen_outpeer_auth global() argument