Searched defs:tunfd (Results 1 - 3 of 3) sorted by relevance
/illumos-gate/usr/src/cmd/cmd-inet/usr.lib/pppoe/ |
H A D | pppoed.c | 48 static int tunfd; /* Global connection to tunnel device */ variable 90 tunfd = open(tunnam, O_RDWR); 91 if (tunfd == -1) { 104 if (strioctl(tunfd, PPPTUN_SPEER, &ptp, sizeof (ptp), sizeof (ptp)) < 120 if (fd != tunfd) 176 parse_options(tunfd, main_argc, main_argv); 294 if (putmsg(tunfd, &ctrl, &data, 0) < 0) { 362 if (strioctl(tunfd, PPPTUN_SCTL, &ptn, sizeof (ptn), 0) < 0) { 368 if (launch && launch_service(tunfd, poep, srvp, ptc)) 376 if (putmsg(tunfd, [all...] |
H A D | pppoec.c | 76 static int tunfd; /* open connection to sppptun driver */ variable 383 if (strioctl(tunfd, PPPTUN_SPEER, &ptp, sizeof (ptp), sizeof (ptp)) < 392 if (strioctl(tunfd, PPPTUN_SCTL, &ptn, sizeof (ptn), 0) < 0) { 437 tunfd = 0; 605 if (putmsg(tunfd, &ctrl, &data, 0) < 0) { 677 if (pppoec_getmsg(tunfd, &ctrl, &data, &flags) < 0) 1091 if (strioctl(tunfd, PPPTUN_SPEER, &ptp, sizeof (ptp), sizeof (ptp)) < 1105 if (strioctl(tunfd, PPPTUN_SDATA, &ptn, sizeof (ptn), 0) < 0) { 1427 pfd[0].fd = tunfd; 1470 if (pppoec_getmsg(tunfd, [all...] |
H A D | options.c | 1542 add_new_dev(int tunfd, const char *dname) argument 1548 if (strioctl(tunfd, PPPTUN_SCTL, &ptn, sizeof (ptn), 0) < 0) { 1560 rem_old_dev(int tunfd, const char *dname) argument 1566 if (strioctl(tunfd, PPPTUN_DCTL, &ptn, sizeof (ptn), 0) < 0) { 1578 get_device_list(struct parse_state *psp, int tunfd) argument 1594 if (strioctl(tunfd, PPPTUN_GNNAME, &ptn, sizeof (ptn), 1662 parse_options(int tunfd, int argc, char **argv) argument 1691 get_device_list(&pstate, tunfd); 1782 add_new_dev(tunfd, newdep->de_name); 1789 add_new_dev(tunfd, newde 2072 launch_service(int tunfd, poep_t *poep, void *srvp, struct ppptun_control *ptc) argument [all...] |
Completed in 51 milliseconds