Lines Matching defs:lwp
226 static int bootpc_call (struct nfs_diskless *, struct lwp *, int *);
240 nfs_bootdhcp(struct nfs_diskless *nd, struct lwp *lwp, int *flags)
249 error = nfs_boot_setaddress(ifp, lwp,
259 error = bootpc_call(nd, lwp, flags);
262 (void) nfs_boot_deladdress(ifp, lwp, INADDR_ANY);
271 error = nfs_boot_setaddress(ifp, lwp, nd->nd_myip.s_addr,
286 (void) nfs_boot_ifupdown(ifp, lwp, 0);
483 bootpc_call(struct nfs_diskless *nd, struct lwp *lwp, int *flags)
497 error = socreate(AF_INET, &so, SOCK_DGRAM, 0, lwp, NULL);
580 if ((error = nfs_boot_sobind_ipport(so, IPPORT_BOOTPC, lwp))) {
638 bootpcheck, NULL, NULL, &bpc, lwp);
665 bootpcheck, NULL, NULL, &bpc, lwp);