Home
last modified time | relevance | path

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

/freebsd-12-stable/sbin/spppcontrol/
Dspppcontrol.c112 spr.defs.hisauth.proto = PPP_PAP; in main()
115 spr.defs.hisauth.proto = PPP_CHAP; in main()
118 spr.defs.hisauth.proto = 0; in main()
141 spr.defs.hisauth.proto = PPP_PAP; in main()
143 spr.defs.hisauth.proto = PPP_CHAP; in main()
145 spr.defs.hisauth.proto = 0; in main()
149 strncpy(spr.defs.hisauth.name, argv[0] + off, in main()
153 strncpy(spr.defs.hisauth.secret, argv[0] + off, in main()
156 spr.defs.hisauth.flags |= AUTHFLAG_NOCALLOUT; in main()
158 spr.defs.hisauth.flags &= ~AUTHFLAG_NOCALLOUT; in main()
[all …]
/freebsd-12-stable/sys/net/
Dif_spppsubr.c2164 if (sp->hisauth.proto != 0) in sppp_lcp_up()
2415 sppp_proto_name(sp->hisauth.proto), in sppp_lcp_RCR()
2519 (sp->hisauth.flags & AUTHFLAG_NOCALLOUT) != 0) { in sppp_lcp_RCN_rej()
2776 authproto = sp->hisauth.proto; in sppp_lcp_scr()
4116 if (name_len != sppp_strnlen(sp->hisauth.name, AUTHNAMELEN) in sppp_chap_input()
4117 || bcmp(name, sp->hisauth.name, name_len) != 0) { in sppp_chap_input()
4122 sppp_print_string(sp->hisauth.name, in sppp_chap_input()
4123 sppp_strnlen(sp->hisauth.name, AUTHNAMELEN)); in sppp_chap_input()
4150 MD5Update(&ctx, sp->hisauth.secret, in sppp_chap_input()
4151 sppp_strnlen(sp->hisauth.secret, AUTHKEYLEN)); in sppp_chap_input()
[all …]
Dif_sppp.h112 struct sauth hisauth; /* auth params, i'm authenticator */ member
166 struct sauth hisauth; /* auth params, i'm authenticator */ member