Lines Matching refs:ptn
378 union ppptun_name ptn; in set_control() local
390 (void) snprintf(ptn.ptn_name, sizeof (ptn.ptn_name), "%s:pppoed", in set_control()
392 if (strioctl(tunfd, PPPTUN_SCTL, &ptn, sizeof (ptn), 0) < 0) { in set_control()
394 ptn.ptn_name, mystrerror(errno)); in set_control()
410 union ppptun_name ptn; in check_stdin() local
412 if (strioctl(0, PPPTUN_GDATA, &ptn, 0, sizeof (ptn)) < 0) { in check_stdin()
420 if (ptn.ptn_name[0] != '\0') { in check_stdin()
1071 union ppptun_name ptn; in act_open() local
1103 (void) snprintf(ptn.ptn_name, sizeof (ptn.ptn_name), "%.*s:pppoe", in act_open()
1105 if (strioctl(tunfd, PPPTUN_SDATA, &ptn, sizeof (ptn), 0) < 0) { in act_open()
1107 myname, ptn.ptn_name, mystrerror(errno)); in act_open()
1112 "%s\n", myname, ptp.ptp_rsessid, ptn.ptn_name); in act_open()