subr_tftproot.c | 126 struct tftproot_handle trh; local in function:tftproot_dhcpboot 186 memset(&trh, 0, sizeof(trh)); 187 trh.trh_nd = nd; 188 trh.trh_block = 1; 190 if ((error = tftproot_getfile(&trh, l)) != 0) { 206 tftproot_getfile(struct tftproot_handle *trh, struct lwp *l) 237 memcpy(&sin, &trh->trh_nd->nd_root.ndm_saddr, sizeof(sin)); 243 namelen = strlen(trh->trh_nd->nd_bootfile) + 1; 263 (void)strncpy(cp, trh->trh_nd->nd_bootfile, namelen) 351 struct tftproot_handle *trh = ctx; local in function:tftproot_recv [all...] |