6 extern struct streamtab if_pppinfo;
8 static struct vdldrv vd = {
13 static int fmodsw_index = -1;
16 if_ppp_vdcmd(fun, vdp, vdi, vds)
26 vdp->vdd_vdtab = (struct vdlinkage *) &vd;
27 if (fmodsw_index >= 0)
29 for (n = 0; n < fmodcnt; ++n)
30 if (fmodsw[n].f_str == 0)
34 strncpy(fmodsw[n].f_name, vd.Drv_name, FMNAMESZ+1);
35 fmodsw[n].f_str = &if_pppinfo;
40 if (fmodsw_index <= 0)
42 error = if_ppp_unload();
45 fmodsw[fmodsw_index].f_name[0] = 0;
46 fmodsw[fmodsw_index].f_str = 0;