Searched refs:authinfo (Results 1 - 22 of 22) sorted by relevance

/freebsd-9.3-release/usr.sbin/ppp/
H A Dpap.h37 struct authinfo;
39 extern void pap_Init(struct authinfo *, struct physical *);
H A Dauth.h33 struct authinfo;
34 typedef void (*auth_func)(struct authinfo *);
36 struct authinfo { struct
59 extern void auth_Init(struct authinfo *, struct physical *,
61 extern void auth_StopTimer(struct authinfo *);
62 extern void auth_StartReq(struct authinfo *);
67 extern struct mbuf *auth_ReadHeader(struct authinfo *, struct mbuf *);
68 extern struct mbuf *auth_ReadName(struct authinfo *, struct mbuf *, size_t);
H A Dradius.h46 struct authinfo *auth; /* Tell this about success/failure */
113 extern int radius_Authenticate(struct radius *, struct authinfo *,
H A Dchap.h49 struct authinfo auth;
H A Dpap.c83 pap_Req(struct authinfo *authp)
114 SendPapCode(struct authinfo *authp, int code, const char *message)
143 pap_Success(struct authinfo *authp)
167 pap_Failure(struct authinfo *authp)
174 pap_Init(struct authinfo *pap, struct physical *p)
183 struct authinfo *authp = &p->dl->pap;
H A Dauth.c388 struct authinfo *authp = (struct authinfo *)vauthp;
402 auth_Init(struct authinfo *authp, struct physical *p, auth_func req,
405 memset(authp, '\0', sizeof(struct authinfo));
416 auth_StartReq(struct authinfo *authp)
430 auth_StopTimer(struct authinfo *authp)
436 auth_ReadHeader(struct authinfo *authp, struct mbuf *bp)
459 auth_ReadName(struct authinfo *authp, struct mbuf *bp, size_t len)
H A Ddatalink.h116 struct authinfo pap; /* Authentication using pap */
H A Dchap.c487 chap_ChallengeInit(struct authinfo *authp)
524 chap_Challenge(struct authinfo *authp)
549 chap_Success(struct authinfo *authp)
589 chap_Failure(struct authinfo *authp)
H A Dradius.c893 radius_Authenticate(struct radius *r, struct authinfo *authp, const char *name,
/freebsd-9.3-release/usr.sbin/lpr/common_source/
H A Drequest.c70 if (rp->authinfo)
71 free(rp->authinfo);
H A Dlp.h139 void *authinfo; /* authentication information */ member in struct:request
/freebsd-9.3-release/sys/netinet/
H A Dsctp_auth.c815 sctp_free_authinfo(sctp_authinfo_t * authinfo) argument
817 if (authinfo == NULL)
820 if (authinfo->random != NULL)
821 sctp_free_key(authinfo->random);
822 if (authinfo->peer_random != NULL)
823 sctp_free_key(authinfo->peer_random);
824 if (authinfo->assoc_key != NULL)
825 sctp_free_key(authinfo->assoc_key);
826 if (authinfo->recv_key != NULL)
827 sctp_free_key(authinfo
[all...]
H A Dsctp_auth.h172 extern void sctp_free_authinfo(sctp_authinfo_t * authinfo);
H A Dsctp_output.c3475 struct sctp_authinfo authinfo; local
3549 m_copydata(control, at + CMSG_ALIGN(sizeof(cmh)), sizeof(struct sctp_authinfo), (caddr_t)&authinfo);
3551 sndrcvinfo->sinfo_keynumber = authinfo.auth_keynumber;
4891 if (stcb->asoc.authinfo.random != NULL) {
4900 parameter_len = (uint16_t) sizeof(struct sctp_auth_random) + stcb->asoc.authinfo.random_len;
4902 memcpy(randp, stcb->asoc.authinfo.random->key, parameter_len);
6364 sp->auth_keyid = stcb->asoc.authinfo.active_keyid;
7819 auth_keyid = stcb->asoc.authinfo.active_keyid;
8179 stcb->asoc.authinfo.active_keyid,
8453 stcb->asoc.authinfo
[all...]
H A Dsctp_pcb.c5165 sctp_free_authinfo(&asoc->authinfo);
6653 if (stcb->asoc.authinfo.peer_random != NULL)
6654 sctp_free_key(stcb->asoc.authinfo.peer_random);
6655 stcb->asoc.authinfo.peer_random = new_key;
6656 sctp_clear_cachedkeys(stcb, stcb->asoc.authinfo.assoc_keyid);
6657 sctp_clear_cachedkeys(stcb, stcb->asoc.authinfo.recv_keyid);
H A Dsctp_structs.h1063 sctp_authinfo_t authinfo; /* randoms, cached keys */ member in struct:sctp_association
H A Dsctputil.c1092 asoc->authinfo.random = NULL;
1093 asoc->authinfo.active_keyid = 0;
1094 asoc->authinfo.assoc_key = NULL;
1095 asoc->authinfo.assoc_keyid = 0;
1096 asoc->authinfo.recv_key = NULL;
1097 asoc->authinfo.recv_keyid = 0;
H A Dsctp_usrreq.c2838 scact->scact_keynumber = stcb->asoc.authinfo.active_keyid;
/freebsd-9.3-release/sys/cam/scsi/
H A Dscsi_cd.c291 struct dvd_authinfo *authinfo);
293 struct dvd_authinfo *authinfo);
2807 struct dvd_authinfo *authinfo; local
2809 authinfo = (struct dvd_authinfo *)addr;
2812 error = cdreportkey(periph, authinfo);
2814 error = cdsendkey(periph, authinfo);
3884 cdreportkey(struct cam_periph *periph, struct dvd_authinfo *authinfo) argument
3896 switch (authinfo->format) {
3909 lba = authinfo->lba;
3937 /* agid */ authinfo
4043 cdsendkey(struct cam_periph *periph, struct dvd_authinfo *authinfo) argument
[all...]
/freebsd-9.3-release/contrib/sendmail/src/
H A Dmain.c177 char *authinfo = NULL; local
1391 authinfo = getauthinfo(STDIN_FILENO, &forged);
1392 macdefine(&BlankEnvelope.e_macro, A_TEMP, '_', authinfo);
2569 authinfo = getauthinfo(sm_io_getinfo(InChannel, SM_IO_WHAT_FD,
2571 macdefine(&BlankEnvelope.e_macro, A_TEMP, '_', authinfo);
2586 sm_syslog(LOG_INFO, NULL, "connect from %s", authinfo);
/freebsd-9.3-release/contrib/ntp/ntpdc/
H A Dntpdc_ops.c76 static void authinfo (struct parse *, FILE *);
184 { "authinfo", authinfo, { NO, NO, NO, NO },
2295 * authinfo - obtain and print info about authentication
2299 authinfo( function
/freebsd-9.3-release/contrib/ntp/ntpq/
H A Dntpq-subs.c55 static void authinfo (struct parse *, FILE *);
200 { "authinfo", authinfo, { NO, NO, NO, NO },
3994 * authinfo - implements ntpq -c authinfo
3997 authinfo( function

Completed in 337 milliseconds