6 extern struct streamtab ppp_compinfo;
7 extern int ppp_comp_count;
9 static struct vdldrv vd = {
14 static int fmodsw_index = -1;
17 ppp_comp_vdcmd(fun, vdp, vdi, vds)
27 vdp->vdd_vdtab = (struct vdlinkage *) &vd;
28 if (fmodsw_index >= 0)
30 for (n = 0; n < fmodcnt; ++n)
31 if (fmodsw[n].f_str == 0)
35 strncpy(fmodsw[n].f_name, vd.Drv_name, FMNAMESZ+1);
36 fmodsw[n].f_str = &ppp_compinfo;
41 if (ppp_comp_count > 0)
43 if (fmodsw_index <= 0)
45 fmodsw[fmodsw_index].f_name[0] = 0;
46 fmodsw[fmodsw_index].f_str = 0;