Home
last modified time | relevance | path

Searched refs:authp (Results 1 – 6 of 6) sorted by relevance

/freebsd-12.1/usr.sbin/ppp/
H A Dpap.c101 lh.id = authp->id; in pap_Req()
124 lh.id = authp->id; in SendPapCode()
140 link_PushPacket(&authp->physical->link, bp, authp->physical->dl->bundle, in SendPapCode()
149 datalink_GotAuthname(authp->physical->dl, authp->in.name); in pap_Success()
158 physical_Login(authp->physical, authp->in.name); in pap_Success()
209 if (authp->in.hdr.code == 0 || authp->in.hdr.code > MAXPAPCODE) { in pap_Input()
215 if (authp->in.hdr.code != PAP_REQUEST && authp->id != authp->in.hdr.id && in pap_Input()
219 papcodes[authp->in.hdr.code], authp->in.hdr.id, authp->id); in pap_Input()
224 authp->id = authp->in.hdr.id; /* We respond with this id */ in pap_Input()
239 txt = authp->in.name; in pap_Input()
[all …]
H A Dauth.c402 authp->id++; in AuthTimeout()
403 (*authp->fn.req)(authp); in AuthTimeout()
419 authp->fn.req = req; in auth_Init()
422 authp->physical = p; in auth_Init()
431 authp->authtimer.load = authp->cfg.fsm.timeout * SECTICKS; in auth_StartReq()
432 authp->authtimer.arg = (void *)authp; in auth_StartReq()
433 authp->retry = authp->cfg.fsm.maxreq; in auth_StartReq()
434 authp->id = 1; in auth_StartReq()
435 (*authp->fn.req)(authp); in auth_StartReq()
452 bp = mbuf_Read(bp, (u_char *)&authp->in.hdr, sizeof authp->in.hdr); in auth_ReadHeader()
[all …]
H A Dchap.c491 struct chap *chap = auth2chap(authp); in chap_ChallengeInit()
526 chap_Challenge(struct authinfo *authp) in chap_Challenge() argument
538 chap_ChallengeInit(authp); in chap_Challenge()
542 ChapOutput(authp->physical, CHAP_CHALLENGE, authp->id, in chap_Challenge()
546 ChapOutput(authp->physical, CHAP_CHALLENGE, authp->id, in chap_Challenge()
551 chap_Success(struct authinfo *authp) in chap_Success() argument
556 datalink_GotAuthname(authp->physical->dl, authp->in.name); in chap_Success()
575 ChapOutput(authp->physical, CHAP_SUCCESS, authp->id, msg, strlen(msg), in chap_Success()
580 physical_Login(authp->physical, authp->in.name); in chap_Success()
591 chap_Failure(struct authinfo *authp) in chap_Failure() argument
[all …]
H A Dradius.c895 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-12.1/contrib/tnftp/src/
H A Dfetch.c1047 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-12.1/usr.sbin/ctld/
H A Dlogin.c282 struct chap *chap, const struct auth **authp) in login_receive_chap_r() argument
334 *authp = auth; in login_receive_chap_r()