Searched refs:authp (Results 1 – 7 of 7) sorted by relevance
| /freebsd-11-stable/usr.sbin/ppp/ |
| HD | pap.c | 85 pap_Req(struct authinfo *authp) in pap_Req() argument 87 struct bundle *bundle = authp->physical->dl->bundle; in pap_Req() 101 lh.id = authp->id; in pap_Req() 111 link_PushPacket(&authp->physical->link, bp, bundle, in pap_Req() 112 LINK_QUEUES(&authp->physical->link) - 1, PROTO_PAP); in pap_Req() 116 SendPapCode(struct authinfo *authp, int code, const char *message) in SendPapCode() argument 124 lh.id = authp->id; in SendPapCode() 140 link_PushPacket(&authp->physical->link, bp, authp->physical->dl->bundle, in SendPapCode() 141 LINK_QUEUES(&authp->physical->link) - 1, PROTO_PAP); in SendPapCode() 145 pap_Success(struct authinfo *authp) in pap_Success() argument [all …]
|
| HD | auth.c | 392 struct authinfo *authp = (struct authinfo *)vauthp; in AuthTimeout() local 394 timer_Stop(&authp->authtimer); in AuthTimeout() 395 if (--authp->retry > 0) { in AuthTimeout() 396 authp->id++; in AuthTimeout() 397 (*authp->fn.req)(authp); in AuthTimeout() 398 timer_Start(&authp->authtimer); in AuthTimeout() 401 datalink_AuthNotOk(authp->physical->dl); in AuthTimeout() 406 auth_Init(struct authinfo *authp, struct physical *p, auth_func req, in auth_Init() argument 409 memset(authp, '\0', sizeof(struct authinfo)); in auth_Init() 410 authp->cfg.fsm.timeout = DEF_FSMRETRY; in auth_Init() [all …]
|
| HD | chap.c | 489 chap_ChallengeInit(struct authinfo *authp) in chap_ChallengeInit() argument 491 struct chap *chap = auth2chap(authp); in chap_ChallengeInit() 495 len = strlen(authp->physical->dl->bundle->cfg.auth.name); in chap_ChallengeInit() 502 if (*authp->physical->dl->bundle->radius.cfg.file) { in chap_ChallengeInit() 511 if (authp->physical->link.lcp.want_authtype == 0x80) in chap_ChallengeInit() 513 else if (authp->physical->link.lcp.want_authtype == 0x81) in chap_ChallengeInit() 521 memcpy(cp, authp->physical->dl->bundle->cfg.auth.name, len); in chap_ChallengeInit() 526 chap_Challenge(struct authinfo *authp) in chap_Challenge() argument 528 struct chap *chap = auth2chap(authp); in chap_Challenge() 532 authp->physical->link.lcp.want_authtype); in chap_Challenge() [all …]
|
| HD | radius.c | 895 radius_Authenticate(struct radius *r, struct authinfo *authp, const char *name, in radius_Authenticate() argument 949 switch (authp->physical->link.lcp.want_auth) { in radius_Authenticate() 962 switch (authp->physical->link.lcp.want_authtype) { in radius_Authenticate() 1018 authp->physical->link.lcp.want_authtype); in radius_Authenticate() 1027 if (Enabled(authp->physical->dl->bundle, OPT_NAS_IP_ADDRESS) && in radius_Authenticate() 1037 if (Enabled(authp->physical->dl->bundle, OPT_NAS_IDENTIFIER) && in radius_Authenticate() 1053 radius_put_physical_details(r, authp->physical); in radius_Authenticate() 1057 r->cx.auth = authp; in radius_Authenticate()
|
| /freebsd-11-stable/contrib/tnftp/src/ |
| HD | fetch.c | 1047 char **authp; in fetch_url() local 1051 authp = &wwwauth; in fetch_url() 1055 authp = &proxyauth; in fetch_url() 1059 if (verbose || *authp == NULL || in fetch_url() 1067 if (*authp != NULL) { in fetch_url() 1081 if (auth_url(auth, authp, auser, apass) == 0) { in fetch_url() 1084 memset(*authp, 0, strlen(*authp)); in fetch_url() 1085 FREEPTR(*authp); in fetch_url()
|
| /freebsd-11-stable/crypto/openssl/ssl/ |
| HD | s3_clnt.c | 2608 krb5_data authenticator, *authp = NULL; in ssl3_send_client_key_exchange() local 2623 authp = NULL; in ssl3_send_client_key_exchange() 2626 authp = &authenticator; in ssl3_send_client_key_exchange() 2629 krb5rc = kssl_cget_tkt(kssl_ctx, &enc_ticket, authp, &kssl_err); in ssl3_send_client_key_exchange() 2675 if (authp && authp->length) { in ssl3_send_client_key_exchange() 2676 s2n(authp->length, p); in ssl3_send_client_key_exchange() 2677 memcpy(p, authp->data, authp->length); in ssl3_send_client_key_exchange() 2678 p += authp->length; in ssl3_send_client_key_exchange() 2679 n += authp->length + 2; in ssl3_send_client_key_exchange() 2681 free(authp->data); in ssl3_send_client_key_exchange() [all …]
|
| /freebsd-11-stable/usr.sbin/ctld/ |
| HD | login.c | 282 struct chap *chap, const struct auth **authp) in login_receive_chap_r() argument 334 *authp = auth; in login_receive_chap_r()
|