Home
last modified time | relevance | path

Searched refs:hisauth (Results 1 – 5 of 5) sorted by relevance

/mirbsd/src/usr.sbin/spppcontrol/
Dspppcontrol.c110 spr.defs.hisauth.proto = PPP_PAP; in main()
113 spr.defs.hisauth.proto = PPP_CHAP; in main()
116 spr.defs.hisauth.proto = 0; in main()
139 spr.defs.hisauth.proto = PPP_PAP; in main()
141 spr.defs.hisauth.proto = PPP_CHAP; in main()
143 spr.defs.hisauth.proto = 0; in main()
147 strncpy(spr.defs.hisauth.name, argv[0] + off, in main()
151 strncpy(spr.defs.hisauth.secret, argv[0] + off, in main()
154 spr.defs.hisauth.flags |= AUTHFLAG_NOCALLOUT; in main()
156 spr.defs.hisauth.flags &= ~AUTHFLAG_NOCALLOUT; in main()
[all …]
/mirbsd/src/sys/net/
Dif_spppsubr.c1986 if (sp->hisauth.proto != 0) in sppp_lcp_open()
2181 sppp_proto_name(sp->hisauth.proto), in sppp_lcp_RCR()
2274 (sp->hisauth.flags & AUTHFLAG_NOCALLOUT) != 0) { in sppp_lcp_RCN_rej()
2508 authproto = sp->hisauth.proto; in sppp_lcp_scr()
3202 if (name_len != sppp_strnlen(sp->hisauth.name, AUTHNAMELEN) in sppp_chap_input()
3203 || bcmp(name, sp->hisauth.name, name_len) != 0) { in sppp_chap_input()
3208 sppp_print_string(sp->hisauth.name, in sppp_chap_input()
3209 sppp_strnlen(sp->hisauth.name, AUTHNAMELEN)); in sppp_chap_input()
3236 MD5Update(&ctx, sp->hisauth.secret, in sppp_chap_input()
3237 sppp_strnlen(sp->hisauth.secret, AUTHKEYLEN)); in sppp_chap_input()
[all …]
Dif_sppp.h134 struct sauth hisauth; /* auth params, i'm authenticator */ member
/mirbsd/src/sys/netisdn/
Di4b_isppp.h137 struct sauth hisauth; /* auth params, i'm authenticator */ member
/mirbsd/src/usr.sbin/isdn/isdnd/
Drc_config.c310 spcfg.hisauth = SPPP_AUTHPROTO_NONE; in set_isppp_auth()
317 spcfg.hisauth = cep->ppp_expect_auth == AUTH_PAP ? SPPP_AUTHPROTO_PAP : SPPP_AUTHPROTO_CHAP; in set_isppp_auth()