/src/sys/arch/macppc/stand/ofwboot/ |
net.c | 72 static int netdev_sock = -1; variable in typeref:typename:int 91 if ((netdev_sock = netif_of_open(op)) < 0) { 100 if (netdev_sock >= 0 && open_count == 0) { 101 netif_of_close(netdev_sock); 102 netdev_sock = -1; 115 netif_of_close(netdev_sock); 116 netdev_sock = -1; 136 bootp(netdev_sock); 156 if (nfs_mount(netdev_sock, rootip, rootpath) < 0)
|
/src/sys/arch/newsmips/stand/boot/ |
net.c | 64 int netdev_sock = -1; variable in typeref:typename:int 79 if ((netdev_sock = netif_news_open(pd)) < 0) { 99 netif_news_close(netdev_sock); 123 if (rarp_getipaddress(netdev_sock) == -1) 129 if (bp_whoami(netdev_sock)) 135 if (bp_getfile(netdev_sock, "root", &rootip, rootpath)) 141 bootp(netdev_sock); 157 if (nfs_mount(netdev_sock, rootip, rootpath) != 0)
|
/src/sys/arch/ofppc/stand/ofwboot/ |
net.c | 72 static int netdev_sock = -1; variable in typeref:typename:int 91 if ((netdev_sock = netif_of_open(op)) < 0) { 100 if (netdev_sock >= 0 && open_count == 0) { 101 netif_of_close(netdev_sock); 102 netdev_sock = -1; 115 netif_of_close(netdev_sock); 116 netdev_sock = -1; 137 bootp(netdev_sock); 157 if (nfs_mount(netdev_sock, rootip, rootpath) < 0)
|
/src/sys/arch/shark/stand/ofwboot/ |
net.c | 71 static int netdev_sock = -1; variable in typeref:typename:int 88 if ((netdev_sock = netif_of_open(op)) < 0) { 97 if (netdev_sock >= 0 && open_count == 0) { 98 netif_of_close(netdev_sock); 99 netdev_sock = -1; 112 netif_of_close(netdev_sock); 113 netdev_sock = -1; 133 bootp(netdev_sock); 153 if (nfs_mount(netdev_sock, rootip, rootpath) < 0)
|
/src/sys/arch/alpha/stand/netboot/ |
dev_net.c | 72 static int netdev_sock = -1; variable in typeref:typename:int 101 if (netdev_sock < 0) { 102 netdev_sock = netif_open(devname); 103 if (netdev_sock < 0) { 112 error = net_getparams(netdev_sock); 118 error = nfs_mount(netdev_sock, rootip, rootpath); 124 netif_close(netdev_sock); 125 netdev_sock = -1; 156 if (netdev_sock >= 0) { 159 netif_close(netdev_sock); [all...] |
/src/sys/arch/evbmips/stand/sbmips/netboot/ |
dev_net.c | 72 static int netdev_sock = -1; variable in typeref:typename:int 101 if (netdev_sock < 0) { 102 netdev_sock = netif_open(devname); 103 if (netdev_sock < 0) { 112 error = net_getparams(netdev_sock); 118 error = nfs_mount(netdev_sock, rootip, rootpath); 124 netif_close(netdev_sock); 125 netdev_sock = -1; 156 if (netdev_sock >= 0) { 159 netif_close(netdev_sock); [all...] |
/src/sys/arch/hpcmips/stand/lcboot/ |
dev_net.c | 43 static int netdev_sock = -1; variable in typeref:typename:int 65 f->f_devdata = &netdev_sock; 66 netdev_sock = netif_open(NULL); 70 s = socktodesc(netdev_sock); 71 bootp(netdev_sock); 75 s = socktodesc(netdev_sock); 84 netif_close(netdev_sock);
|
/src/sys/arch/i386/stand/pxeboot/ |
dev_net.c | 58 static int netdev_sock = -1; variable in typeref:typename:int 81 if (netdev_sock < 0) { 82 netdev_sock = pxe_netif_open(); 83 if (netdev_sock < 0) { 92 error = net_getparams(netdev_sock); 95 pxe_netif_close(netdev_sock); 96 netdev_sock = -1; 102 f->f_devdata = &netdev_sock; 125 if (netdev_sock >= 0) { 128 pxe_netif_close(netdev_sock); [all...] |
/src/sys/arch/sandpoint/stand/altboot/ |
dev_net.c | 47 static int netdev_sock = -1; variable in typeref:typename:int 67 if ((netdev_sock = netif_open(NULL)) < 0) 71 bootp(netdev_sock); /* send DHCP request */ 83 && (error = nfs_mount(netdev_sock, rootip, rootpath)) != 0) 87 f->f_devdata = &netdev_sock; 91 netif_close(netdev_sock); 92 netdev_sock = -1; 103 netif_close(netdev_sock); 104 netdev_sock = -1;
|
/src/sys/arch/sparc/stand/common/ |
net.c | 63 int netdev_sock = -1; variable in typeref:typename:int 81 if ((netdev_sock = netif_open(pd)) < 0) { 101 return (netif_close(netdev_sock)); 112 if (rarp_getipaddress(netdev_sock) == -1) 118 if (bp_whoami(netdev_sock)) 124 if (bp_getfile(netdev_sock, "root", &rootip, rootpath)) 135 bootp(netdev_sock); 180 if (nfs_mount(netdev_sock, rootip, rootpath) != 0)
|
/src/sys/arch/evbarm/stand/boot2440/ |
dev_net.c | 47 static int netdev_sock = -1; variable in typeref:typename:int 65 if ((netdev_sock = netif_open(path)) < 0) { 71 bootp(netdev_sock); 115 && (nfs_mount(netdev_sock, rootip, rootpath) != 0)) { 120 f->f_devdata = &netdev_sock;
|
/src/sys/arch/i386/stand/efiboot/ |
dev_net.c | 65 static int netdev_sock = -1; variable in typeref:typename:int 94 if (netdev_sock < 0) { 95 netdev_sock = netif_open(dev); 96 if (netdev_sock < 0) { 107 error = net_getparams(netdev_sock); 110 netif_close(netdev_sock); 111 netdev_sock = -1; 117 f->f_devdata = &netdev_sock; 140 if (netdev_sock >= 0) { 145 netif_close(netdev_sock); [all...] |
/src/sys/arch/sparc/stand/ofwboot/ |
net.c | 76 static int netdev_sock = -1; variable in typeref:typename:int 93 if ((netdev_sock = netif_open(op)) < 0) { 100 if (netdev_sock >= 0 && open_count == 0) { 101 netif_close(netdev_sock); 102 netdev_sock = -1; 116 netif_close(netdev_sock); 117 netdev_sock = -1; 141 if (rarp_getipaddress(netdev_sock) == -1) 144 if (bp_whoami(netdev_sock)) 147 if (bp_getfile(netdev_sock, "root", &rootip, rootpath) [all...] |
/src/sys/lib/libsa/ |
dev_net.c | 70 static int netdev_sock = -1; variable in typeref:typename:int 99 if (netdev_sock < 0) { 100 netdev_sock = netif_open(devname); 101 if (netdev_sock < 0) { 112 error = net_getparams(netdev_sock); 118 error = nfs_mount(netdev_sock, rootip, rootpath); 123 netif_close(netdev_sock); 124 netdev_sock = -1; 157 if (netdev_sock >= 0) { 162 netif_close(netdev_sock); [all...] |
/src/sys/arch/hp300/stand/common/ |
netio.c | 96 static int netdev_sock = -1; variable in typeref:typename:int 123 if ((netdev_sock = netif_open(devname)) < 0) 139 netif_close(netdev_sock); 211 if ((d = socktodesc(netdev_sock)) == NULL) 230 if (rarp_getipaddress(netdev_sock) == -1) 236 if (bp_whoami(netdev_sock)) 242 if (bp_getfile(netdev_sock, "root", &rootip, rootpath)) 248 bootp(netdev_sock); 258 if (nfs_mount(netdev_sock, rootip, rootpath))
|
/src/sys/arch/ia64/stand/common/ |
dev_net.c | 71 static int netdev_sock = -1; variable in typeref:typename:int 95 if (netdev_sock < 0) { 96 netdev_sock = netif_open(devname); 97 if (netdev_sock < 0) { 106 error = net_getparams(netdev_sock); 109 netif_close(netdev_sock); 110 netdev_sock = -1; 120 error = nfs_mount(netdev_sock, rootip, rootpath); 122 netif_close(netdev_sock); 123 netdev_sock = -1 [all...] |