/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)
|
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)
|
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)
|
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)
|
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)
|
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)
|
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)
|
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)
|
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...] |
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...] |
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...] |
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);
|
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...] |
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;
|
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)
|
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)
|