Searched refs:ifunit (Results 1 – 7 of 7) sorted by relevance
/titanic_41/usr/src/cmd/cmd-inet/usr.bin/pppd/ |
H A D | sys-solaris.c | 262 (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 D | ipcp.c | 1152 ciaddr1 = htonl(0xc0a80101 + ifunit); 1397 wo->hisaddr = htonl(0x0a707070 + ifunit); 1402 wo->ouraddr = htonl(0x0a404040 + ifunit); 1449 ho->hisaddr = htonl(0xc0a80101 + ifunit);
|
H A D | auth.c | 1744 offset = ifunit + 1; 1765 offset = ifunit + 1; 1794 ifunit, ptr_word);
|
H A D | pppd.h | 186 extern int ifunit; /* Interface unit number */
|
H A D | main.c | 92 int ifunit = -1; /* Interface unit number */ variable 849 if (!demand && ifunit >= 0)
|
/titanic_41/usr/src/uts/common/inet/ipf/netinet/ |
H A D | ip_compat.h | 622 # 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 D | nfs_dlinet.c | 259 static int ifunit; variable 1551 if (rc = dl_attach(lh, ifunit, NULL)) { in revarp_myaddr() 2262 ifunit = rootfs.bo_ppa; in init_config()
|