Home | History | Annotate | Download | only in efiboot

Lines Matching defs:netdev_sock

65 static int netdev_sock = -1;
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);
146 netdev_sock = -1;