Lines Matching defs:boot_property
45 ib_boot_prop_t boot_property;
83 (uchar_t *)&boot_property.boot_tgt.tgt_ip_u) ==
85 boot_property.boot_tgt.sin_family = AF_INET;
102 boot_property.boot_tgt.tgt_port =
109 boot_property.boot_tgt.tgt_port = 3260;
120 (&boot_property.boot_tgt.tgt_boot_lun[0]))
127 bzero((void *)boot_property.boot_tgt.tgt_boot_lun, 8);
138 boot_property.boot_tgt.tgt_tpgt =
145 boot_property.boot_tgt.tgt_tpgt = 1;
150 boot_property.boot_tgt.tgt_name = NULL;
155 boot_property.boot_tgt.tgt_name =
157 boot_property.boot_tgt.tgt_name_len = proplen + 1;
158 (void) snprintf((char *)boot_property.boot_tgt.tgt_name,
164 if (boot_property.boot_tgt.tgt_name != NULL) {
165 kmem_free(boot_property.boot_tgt.tgt_name,
166 boot_property.boot_tgt.tgt_name_len);
167 boot_property.boot_tgt.tgt_name = NULL;
168 boot_property.boot_tgt.tgt_name_len = 0;
175 boot_property.boot_tgt.tgt_boot_par = NULL;
176 boot_property.boot_tgt.tgt_boot_par_len = 0;
180 boot_property.boot_tgt.tgt_boot_par =
182 boot_property.boot_tgt.tgt_boot_par_len = proplen + 1;
184 (char *)boot_property.boot_tgt.tgt_boot_par,
190 boot_property.boot_tgt.tgt_boot_par =
192 boot_property.boot_tgt.tgt_boot_par_len = 2;
193 boot_property.boot_tgt.tgt_boot_par[0] = 'a';
228 boot_property.boot_init.ini_chap_name =
230 boot_property.boot_init.ini_chap_name_len = chap_user_len + 1;
231 (void) memcpy(boot_property.boot_init.ini_chap_name, chap_user,
234 boot_property.boot_init.ini_chap_sec =
236 boot_property.boot_init.ini_chap_sec_len = chap_pwd_len + 1;
237 (void) memcpy(boot_property.boot_init.ini_chap_sec, chap_password,
255 boot_property.boot_init.ini_name =
257 boot_property.boot_init.ini_name_len = proplen + 1;
259 (char *)boot_property.boot_init.ini_name,
289 (uchar_t *)&boot_property.boot_nic.nic_ip_u) ==
291 boot_property.boot_nic.sin_family = AF_INET;
306 (uchar_t *)&boot_property.boot_nic.nic_gw_u);
323 boot_property.boot_nic.sub_mask_prefix = i;
329 boot_property.boot_nic.sub_mask_prefix = 24;
344 boot_property.boot_nic.nic_mac,
371 iscsiboot_prop = &boot_property;
414 boot_property.boot_init.ini_name_len = 38;
415 boot_property.boot_init.ini_name =
416 (uchar_t *)kmem_zalloc(boot_property.boot_init.ini_name_len,
418 (void) snprintf((char *)boot_property.boot_init.ini_name,
420 boot_property.boot_nic.nic_mac[0],
421 boot_property.boot_nic.nic_mac[1],
422 boot_property.boot_nic.nic_mac[2],
423 boot_property.boot_nic.nic_mac[3],
424 boot_property.boot_nic.nic_mac[4],
425 boot_property.boot_nic.nic_mac[5]);