Lines Matching refs:spr
65 struct spppreq spr;
93 spr.cmd = (uintptr_t) SPPPIOGDEFS;
94 ifr.ifr_data = (caddr_t)&spr;
101 print_vals(ifname, &spr);
111 spr.defs.myauth.proto =
112 spr.defs.hisauth.proto = PPP_PAP;
114 spr.defs.myauth.proto =
115 spr.defs.hisauth.proto = PPP_CHAP;
117 spr.defs.myauth.proto =
118 spr.defs.hisauth.proto = 0;
124 spr.defs.myauth.proto = PPP_PAP;
126 spr.defs.myauth.proto = PPP_CHAP;
128 spr.defs.myauth.proto = 0;
132 strncpy(spr.defs.myauth.name, argv[0] + off,
136 strncpy(spr.defs.myauth.secret, argv[0] + off,
141 spr.defs.hisauth.proto = PPP_PAP;
143 spr.defs.hisauth.proto = PPP_CHAP;
145 spr.defs.hisauth.proto = 0;
149 strncpy(spr.defs.hisauth.name, argv[0] + off,
153 strncpy(spr.defs.hisauth.secret, argv[0] + off,
156 spr.defs.hisauth.flags |= AUTHFLAG_NOCALLOUT;
158 spr.defs.hisauth.flags &= ~AUTHFLAG_NOCALLOUT;
160 spr.defs.hisauth.flags |= AUTHFLAG_NORECHALLENGE;
162 spr.defs.hisauth.flags &= ~AUTHFLAG_NORECHALLENGE;
175 spr.defs.lcp.timeout = to;
177 spr.defs.enable_vj = 1;
179 spr.defs.enable_vj = 0;
181 spr.defs.enable_ipv6 = 1;
183 spr.defs.enable_ipv6 = 0;
191 spr.cmd = (uintptr_t)SPPPIOSDEFS;
197 print_vals(ifname, &spr);