Home
last modified time | relevance | path

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

/titanic_41/usr/src/cmd/cmd-inet/usr.bin/pppd/
H A Dsys-solaris.c262 (void) slprintf(ifname, sizeof (ifname), "%s%d", cp, ifunit); in sys_ifname()
504 ifunit = x; in sys_init()
505 if (req_unit >= 0 && ifunit != req_unit) { in sys_init()
563 if (!IPCP_ENABLED || (ifunit == -1) || (pppfd == -1)) { in plumb_ipif()
604 if (myioctl(tmpfd, IF_UNITSEL, &ifunit) < 0) { in plumb_ipif()
605 error("Couldn't set ppa for unit %d: %m", ifunit); in plumb_ipif()
653 if (!IPCP_ENABLED || (ifunit == -1)) { in unplumb_ipif()
3137 if (!IPV6CP_ENABLED || (ifunit == -1) || (pppfd == -1)) { in plumb_ip6if()
3175 lifr.lifr_ppa = ifunit; in plumb_ip6if()
3178 error("Can't set ifname for unit %d: %m", ifunit); in plumb_ip6if()
[all …]
H A Dipcp.c1152 ciaddr1 = htonl(0xc0a80101 + ifunit);
1397 wo->hisaddr = htonl(0x0a707070 + ifunit);
1402 wo->ouraddr = htonl(0x0a404040 + ifunit);
1449 ho->hisaddr = htonl(0xc0a80101 + ifunit);
H A Dauth.c1744 offset = ifunit + 1;
1765 offset = ifunit + 1;
1794 ifunit, ptr_word);
H A Dpppd.h186 extern int ifunit; /* Interface unit number */
H A Dmain.c92 int ifunit = -1; /* Interface unit number */ variable
849 if (!demand && ifunit >= 0)
/titanic_41/usr/src/uts/common/inet/ipf/netinet/
H A Dip_compat.h622 # define GETIFP(n,v, ifs) ifunit(n)
700 # define GETIFP(n, v, ifs) ifunit(n)
1068 # define GETIFP(n, v, ifs) ifunit(n, IFNAMSIZ)
1627 # define GETIFP(n, v, ifs) ifunit(n)
/titanic_41/usr/src/uts/common/fs/nfs/
H A Dnfs_dlinet.c259 static int ifunit; variable
1551 if (rc = dl_attach(lh, ifunit, NULL)) { in revarp_myaddr()
2262 ifunit = rootfs.bo_ppa; in init_config()