Lines Matching refs:ncp
91 static struct spppncpcfg ncp;
211 memset(&ncp, 0, sizeof ncp);
212 strncpy(ncp.ifname, ifname, sizeof ncp.ifname);
256 if (ioctl(s, SPPPGETNCPCFG, &ncp) == -1)
273 ncp.ncp_flags);
316 if (ioctl(s, SPPPGETNCPCFG, &ncp) == -1)
319 ncp.ncp_flags |= set_ncpflags;
320 ncp.ncp_flags &= ~clr_ncpflags;
322 if (ioctl(s, SPPPSETNCPCFG, &ncp) == -1)
373 ncp.ncp_flags);