Home | History | Annotate | Download | only in ofwboot

Lines Matching defs:netdev_sock

76 static	int netdev_sock = -1;
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))
163 bootp(netdev_sock);
182 * libsa's tftp_open expects a pointer to netdev_sock, i.e. an (int *),
202 *sock = &netdev_sock;
233 if (nfs_mount(netdev_sock, rootip, rootpath) != 0)