Home | History | Annotate | Download | only in netboot

Lines Matching defs:netdev_sock

72 static int netdev_sock = -1;
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);
160 netdev_sock = -1;