Searched refs:authp (Results 1 - 7 of 7) sorted by relevance

/freebsd-9.3-release/usr.sbin/ppp/
H A Dpap.c83 pap_Req(struct authinfo *authp) argument
85 struct bundle *bundle = authp->physical->dl->bundle;
99 lh.id = authp->id;
109 link_PushPacket(&authp->physical->link, bp, bundle,
110 LINK_QUEUES(&authp->physical->link) - 1, PROTO_PAP);
114 SendPapCode(struct authinfo *authp, int code, const char *message) argument
122 lh.id = authp->id;
138 link_PushPacket(&authp->physical->link, bp, authp->physical->dl->bundle,
139 LINK_QUEUES(&authp
143 pap_Success(struct authinfo *authp) argument
167 pap_Failure(struct authinfo *authp) argument
183 struct authinfo *authp = &p->dl->pap; local
[all...]
H A Dauth.c388 struct authinfo *authp = (struct authinfo *)vauthp; local
390 timer_Stop(&authp->authtimer);
391 if (--authp->retry > 0) {
392 authp->id++;
393 (*authp->fn.req)(authp);
394 timer_Start(&authp->authtimer);
397 datalink_AuthNotOk(authp->physical->dl);
402 auth_Init(struct authinfo *authp, struct physical *p, auth_func req, argument
405 memset(authp, '\
416 auth_StartReq(struct authinfo *authp) argument
430 auth_StopTimer(struct authinfo *authp) argument
436 auth_ReadHeader(struct authinfo *authp, struct mbuf *bp) argument
459 auth_ReadName(struct authinfo *authp, struct mbuf *bp, size_t len) argument
[all...]
H A Dchap.c487 chap_ChallengeInit(struct authinfo *authp) argument
489 struct chap *chap = auth2chap(authp);
493 len = strlen(authp->physical->dl->bundle->cfg.auth.name);
500 if (*authp->physical->dl->bundle->radius.cfg.file) {
509 if (authp->physical->link.lcp.want_authtype == 0x80)
511 else if (authp->physical->link.lcp.want_authtype == 0x81)
519 memcpy(cp, authp->physical->dl->bundle->cfg.auth.name, len);
524 chap_Challenge(struct authinfo *authp) argument
526 struct chap *chap = auth2chap(authp);
530 authp
549 chap_Success(struct authinfo *authp) argument
589 chap_Failure(struct authinfo *authp) argument
[all...]
H A Dradius.c893 radius_Authenticate(struct radius *r, struct authinfo *authp, const char *name, argument
947 switch (authp->physical->link.lcp.want_auth) {
960 switch (authp->physical->link.lcp.want_authtype) {
1016 authp->physical->link.lcp.want_authtype);
1025 if (Enabled(authp->physical->dl->bundle, OPT_NAS_IP_ADDRESS) &&
1035 if (Enabled(authp->physical->dl->bundle, OPT_NAS_IDENTIFIER) &&
1051 radius_put_physical_details(r, authp->physical);
1055 r->cx.auth = authp;
/freebsd-9.3-release/crypto/openssl/ssl/
H A Dd1_clnt.c870 krb5_data authenticator, *authp = NULL; local
885 authp = NULL;
888 authp = &authenticator;
891 krb5rc = kssl_cget_tkt(kssl_ctx, &enc_ticket, authp, &kssl_err);
936 if (authp && authp->length) {
937 s2n(authp->length, p);
938 memcpy(p, authp->data, authp->length);
939 p += authp
[all...]
H A Ds3_clnt.c2005 krb5_data authenticator, *authp = NULL; local
2020 authp = NULL;
2023 authp = &authenticator;
2026 krb5rc = kssl_cget_tkt(kssl_ctx, &enc_ticket, authp, &kssl_err);
2071 if (authp && authp->length) {
2072 s2n(authp->length, p);
2073 memcpy(p, authp->data, authp->length);
2074 p += authp
[all...]
/freebsd-9.3-release/contrib/tnftp/src/
H A Dfetch.c1047 char **authp; local
1051 authp = &wwwauth;
1055 authp = &proxyauth;
1059 if (verbose || *authp == NULL ||
1067 if (*authp != NULL) {
1081 if (auth_url(auth, authp, auser, apass) == 0) {
1084 memset(*authp, 0, strlen(*authp));
1085 FREEPTR(*authp);

Completed in 81 milliseconds