/freebsd-10.2-release/usr.sbin/ppp/ |
H A D | chap.c | 28 * $FreeBSD: releng/10.2/usr.sbin/ppp/chap.c 134789 2004-09-05 01:46:52Z brian $ 68 #include "chap.h" 256 chap_StartChild(struct chap *chap, char *prog, const char *name) argument 263 if (chap->child.fd != -1) { 281 switch ((chap->child.pid = fork())) { 288 chap->child.pid = 0; 320 chap->auth.physical->dl->bundle, 0, pid); 328 chap->child.fd = out[0]; 329 chap 342 chap_Cleanup(struct chap *chap, int sig) argument 368 chap_Respond(struct chap *chap, char *name, char *key , u_char type, int lm ) argument 399 struct chap *chap = descriptor2chap(d); local 415 struct chap *chap = descriptor2chap(d); local 424 struct chap *chap = descriptor2chap(d); local 489 struct chap *chap = auth2chap(authp); local 526 struct chap *chap = auth2chap(authp); local 655 chap_HaveAnotherGo(struct chap *chap) argument 669 chap_Init(struct chap *chap, struct physical *p) argument 687 chap_ReInit(struct chap *chap) argument 696 struct chap *chap = &p->dl->chap; local [all...] |
H A D | chap.h | 28 * $FreeBSD: releng/10.2/usr.sbin/ppp/chap.h 173710 2007-11-17 23:14:06Z jb $ 39 struct chap { struct 62 ((d)->type == CHAP_DESCRIPTOR ? (struct chap *)(d) : NULL) 64 ((struct chap *)((char *)a - (uintptr_t)&((struct chap *)0)->auth)) 73 extern void chap_Init(struct chap *, struct physical *); 74 extern void chap_ReInit(struct chap *);
|
H A D | datalink.h | 117 struct chap chap; /* Authentication using chap */ member in struct:datalink
|
H A D | datalink.c | 76 #include "chap.h" 407 result = descriptor_UpdateSet(&dl->chap.desc, r, w, e, n) + 441 return descriptor_IsSet(&dl->chap.desc, fdset) ? 1 : 469 if (descriptor_IsSet(&dl->chap.desc, fdset)) 470 descriptor_Read(&dl->chap.desc, bundle, fdset); 504 if (descriptor_IsSet(&dl->chap.desc, fdset)) 505 switch (descriptor_Write(&dl->chap.desc, bundle, fdset)) { 589 auth_StartReq(&dl->chap.auth); 600 auth_StopTimer(&dl->chap.auth); 601 chap_ReInit(&dl->chap); [all...] |
H A D | Makefile | 7 SRCS= acf.c arp.c async.c auth.c bundle.c cbcp.c ccp.c chap.c chat.c \
|
H A D | auth.c | 79 #include "chap.h" 90 static char chap[10]; local 96 snprintf(chap, sizeof chap, "CHAP 0x%02x", type); 97 return chap;
|
H A D | command.c | 99 #include "chap.h" 2086 &cx->chap.auth.cfg.fsm.timeout, 2087 &cx->chap.auth.cfg.fsm.maxreq, NULL, DEF_FSMAUTHTRIES); 3021 {"chap", "chap05", NegotiateSet, LOCAL_AUTH | LOCAL_CX,
|
/freebsd-10.2-release/usr.sbin/ctld/ |
H A D | chap.c | 32 __FBSDID("$FreeBSD: releng/10.2/usr.sbin/ctld/chap.c 274909 2014-11-23 04:17:39Z mav $"); 234 struct chap * 237 struct chap *chap; local 240 chap = calloc(sizeof(*chap), 1); 241 if (chap == NULL) 247 rv = RAND_bytes(chap->chap_challenge, sizeof(chap->chap_challenge)); 252 rv = RAND_bytes(&chap 262 chap_get_id(const struct chap *chap) argument 275 chap_get_challenge(const struct chap *chap) argument 286 chap_receive_bin(struct chap *chap, void *response, size_t response_len) argument 301 chap_receive(struct chap *chap, const char *response) argument 321 chap_authenticate(struct chap *chap, const char *secret) argument 338 chap_delete(struct chap *chap) argument [all...] |
H A D | token.l | 56 chap { return CHAP; } 57 chap-mutual { return CHAP_MUTUAL; }
|
H A D | ctld.h | 244 struct chap *conn_chap; 265 struct chap { struct 278 struct chap *chap_new(void); 279 char *chap_get_id(const struct chap *chap); 280 char *chap_get_challenge(const struct chap *chap); 281 int chap_receive(struct chap *chap, const char *response); 282 int chap_authenticate(struct chap *cha [all...] |
H A D | Makefile | 4 SRCS= chap.c ctld.c discovery.c isns.c kernel.c keys.c log.c
|
H A D | login.c | 256 login_send_chap_c(struct pdu *request, struct chap *chap) argument 262 chap_c = chap_get_challenge(chap); 263 chap_i = chap_get_id(chap); 280 struct chap *chap, const struct auth **authp) 302 error = chap_receive(chap, chap_r); 323 error = chap_authenticate(chap, auth->a_secret); 409 struct chap *chap; local 279 login_receive_chap_r(struct connection *conn, struct auth_group *ag, struct chap *chap, const struct auth **authp) argument [all...] |
/freebsd-10.2-release/usr.sbin/iscsid/ |
H A D | chap.c | 32 __FBSDID("$FreeBSD: releng/10.2/usr.sbin/iscsid/chap.c 274909 2014-11-23 04:17:39Z mav $"); 234 struct chap * 237 struct chap *chap; local 240 chap = calloc(sizeof(*chap), 1); 241 if (chap == NULL) 247 rv = RAND_bytes(chap->chap_challenge, sizeof(chap->chap_challenge)); 252 rv = RAND_bytes(&chap 262 chap_get_id(const struct chap *chap) argument 275 chap_get_challenge(const struct chap *chap) argument 286 chap_receive_bin(struct chap *chap, void *response, size_t response_len) argument 301 chap_receive(struct chap *chap, const char *response) argument 321 chap_authenticate(struct chap *chap, const char *secret) argument 338 chap_delete(struct chap *chap) argument [all...] |
H A D | iscsid.h | 65 struct chap *conn_mutual_chap; 86 struct chap { struct 99 struct chap *chap_new(void); 100 char *chap_get_id(const struct chap *chap); 101 char *chap_get_challenge(const struct chap *chap); 102 int chap_receive(struct chap *chap, const char *response); 103 int chap_authenticate(struct chap *cha [all...] |
H A D | Makefile | 4 SRCS= chap.c discovery.c iscsid.c keys.c log.c login.c pdu.c
|
/freebsd-10.2-release/tools/regression/iscsi/ |
H A D | ctl.conf | 2 chap user secretsecret
|
/freebsd-10.2-release/usr.sbin/wpa/hostapd/ |
H A D | Makefile | 10 base64.c beacon.c chap.c common.c config_file.c ctrl_iface.c \
|
/freebsd-10.2-release/sys/net/ |
H A D | if_spppsubr.c | 95 * being one of "lcp", "ipcp", "cisco", "chap", "pap", etc. 439 static const struct cp chap = { variable in typeref:struct:cp 440 PPP_CHAP, IDX_CHAP, CP_AUTH, "chap", 452 &chap, /* IDX_CHAP */ 2331 log(-1, "[invalid chap len] "); 2448 log(-1, "[chap not MD5] "); 2778 char opt[6 /* magicnum */ + 4 /* mru */ + 5 /* chap */]; 3961 * RCA+: received reply (pap-req, chap-response), acceptable 3962 * RCN: received reply (pap-req, chap-response), not acceptable 3967 * scr: send request packet (none for PAP, chap [all...] |
/freebsd-10.2-release/usr.sbin/wpa/wpa_supplicant/ |
H A D | Makefile | 73 SRCS+= chap.c \
|
/freebsd-10.2-release/share/examples/ |
H A D | Makefile | 115 ppp/chap-auth \
|
/freebsd-10.2-release/contrib/wpa/wpa_supplicant/ |
H A D | nmake.mak | 88 $(OBJDIR)\chap.obj \
|
/freebsd-10.2-release/contrib/gcc/doc/include/ |
H A D | texinfo.tex | 1345 \advancenumber{chap\thischapnum}% 1378 \dopdfoutline{##1}{count-\expnumber{chap##2}}{##3}{##4}}% 1687 \def\lsize{chap}\def\lllsize{subsec}% 1695 \def\curfontsize{chap}% 4566 % arguments for the \{chap,sec,...}entry macros which will eventually 6743 % Remember to reset this floatno at the next chap.
|
/freebsd-10.2-release/contrib/groff/doc/ |
H A D | texinfo.tex | 1250 \advancenumber{chap\thischapnum}% 1283 \dopdfoutline{##1}{count-\expnumber{chap##2}}{##3}{##4}}% 1621 \def\lsize{chap}\def\lllsize{subsec}% 1629 \def\curfontsize{chap}% 4464 % arguments for the \{chap,sec,...}entry macros which will eventually 6614 % Remember to reset this floatno at the next chap.
|
/freebsd-10.2-release/contrib/amd/doc/ |
H A D | texinfo.tex | 1249 \advancenumber{chap\thischapnum}% 1282 \dopdfoutline{##1}{count-\expnumber{chap##2}}{##3}{##4}}% 1618 \def\lsize{chap}\def\lllsize{subsec}% 4392 % arguments for the \{chap,sec,...}entry macros which will eventually 6542 % Remember to reset this floatno at the next chap.
|