Home
last modified time | relevance | path

Searched refs:ifunit (Results 1 – 7 of 7) sorted by relevance

/illumos-gate/usr/src/cmd/cmd-inet/usr.bin/pppd/
H A Dsys-solaris.c256 (void) slprintf(ifname, sizeof (ifname), "%s%d", cp, ifunit); in sys_ifname()
498 ifunit = x; in sys_init()
499 if (req_unit >= 0 && ifunit != req_unit) { in sys_init()
557 if (!IPCP_ENABLED || (ifunit == -1) || (pppfd == -1)) { in plumb_ipif()
598 if (myioctl(tmpfd, IF_UNITSEL, &ifunit) < 0) { in plumb_ipif()
599 error("Couldn't set ppa for unit %d: %m", ifunit); in plumb_ipif()
647 if (!IPCP_ENABLED || (ifunit == -1)) { in unplumb_ipif()
3078 if (!IPV6CP_ENABLED || (ifunit == -1) || (pppfd == -1)) { in plumb_ip6if()
3116 lifr.lifr_ppa = ifunit; in plumb_ip6if()
3119 error("Can't set ifname for unit %d: %m", ifunit); in plumb_ip6if()
[all …]
H A Dipcp.c1145 ciaddr1 = htonl(0xc0a80101 + ifunit);
1390 wo->hisaddr = htonl(0x0a707070 + ifunit);
1395 wo->ouraddr = htonl(0x0a404040 + ifunit);
1442 ho->hisaddr = htonl(0xc0a80101 + ifunit);
H A Dauth.c1737 offset = ifunit + 1;
1758 offset = ifunit + 1;
1787 ifunit, ptr_word);
H A Dpppd.h193 extern int ifunit; /* Interface unit number */
H A Dmain.c89 int ifunit = -1; /* Interface unit number */ variable
846 if (!demand && ifunit >= 0)
/illumos-gate/usr/src/uts/common/inet/ipf/netinet/
H A Dip_compat.h627 # define GETIFP(n,v, ifs) ifunit(n)
705 # define GETIFP(n, v, ifs) ifunit(n)
1073 # define GETIFP(n, v, ifs) ifunit(n, IFNAMSIZ)
1632 # define GETIFP(n, v, ifs) ifunit(n)
/illumos-gate/usr/src/uts/common/fs/nfs/
H A Dnfs_dlinet.c261 static int ifunit; variable
1614 if (rc = dl_attach(lh, ifunit, NULL)) { in revarp_myaddr()
2325 ifunit = rootfs.bo_ppa; in init_config()