Searched refs:pti (Results 1 – 3 of 3) sorted by relevance
/titanic_44/usr/src/cmd/cmd-inet/usr.sbin/sppptun/ |
H A D | sppptun.c | 187 struct ppptun_info pti; in plumb_it() local 255 if (snprintf(pti.pti_name, sizeof (pti.pti_name), "%s:%s", in plumb_it() 256 adata.appstr, prot->name) >= sizeof (pti.pti_name)) { in plumb_it() 266 pti.pti_name); in plumb_it() 267 if (strioctl(devfd, PPPTUN_SNAME, pti.pti_name, in plumb_it() 268 sizeof (pti.pti_name), 0, "PPPTUN_SNAME") < 0) { in plumb_it() 271 "installed\n"), myname, pti.pti_name); in plumb_it() 310 pti.pti_muxid = muxid; in plumb_it() 311 pti.pti_style = prot->style; in plumb_it() 312 if (strioctl(muxfd, PPPTUN_SINFO, &pti, sizeof (pti), 0, in plumb_it() [all …]
|
/titanic_44/usr/src/uts/common/io/ppp/sppptun/ |
H A D | sppptun.c | 1114 struct ppptun_info *pti; in sppptun_inner_ioctl() local 1189 if (mp->b_cont == NULL || iop->ioc_count != sizeof (*pti)) { in sppptun_inner_ioctl() 1193 pti = (struct ppptun_info *)mp->b_cont->b_rptr; in sppptun_inner_ioctl() 1194 if (pti->pti_name[0] != '\0') in sppptun_inner_ioctl() 1195 tll = tll_lookup_on_name(pti->pti_name, in sppptun_inner_ioctl() 1199 if (tcl != NULL && pti->pti_name[0] == '\0') in sppptun_inner_ioctl() 1206 pti->pti_muxid = tll->tll_muxid; in sppptun_inner_ioctl() 1207 pti->pti_style = tll->tll_style; in sppptun_inner_ioctl() 1208 len = sizeof (*pti); in sppptun_inner_ioctl() 1211 tll->tll_muxid = pti->pti_muxid; in sppptun_inner_ioctl() [all …]
|
/titanic_44/usr/src/cmd/cmd-inet/usr.lib/pppoe/ |
H A D | pppoec.c | 409 struct ppptun_info pti; in check_stdin() local 421 if (strioctl(0, PPPTUN_GINFO, &pti, 0, sizeof (pti)) < 0) { in check_stdin() 425 if (pti.pti_style != PTS_PPPOE) { in check_stdin() 428 myname, pti.pti_style); in check_stdin()
|