Home
last modified time | relevance | path

Searched refs:bootopts (Results 1 – 3 of 3) sorted by relevance

/netbsd-src/sys/arch/hpcmips/stand/lcboot/
H A Dmain.c150 struct boot_option bootopts; variable
500 if (loadfile(bootopts.b_pathname, marks, LOAD_KERNEL)) { in command_boot()
767 bootopts.b_magic == BOOTOPT_MAGIC ? "ok" : "bad", in opt_subcmd_print()
768 bootopts.b_pathname, in opt_subcmd_print()
769 bootopts.b_flags & B_F_USE_BOOTP ? "yes" : "no"); in opt_subcmd_print()
770 printf("remote IP:\t%s\n", inet_ntoa(bootopts.b_remote_ip)); in opt_subcmd_print()
771 printf("local IP:\t%s\n", inet_ntoa(bootopts.b_local_ip)); in opt_subcmd_print()
772 printf("netmask:\t%s\n", intoa(bootopts.b_netmask)); in opt_subcmd_print()
773 printf("gateway IP:\t%s\n", inet_ntoa(bootopts.b_gate_ip)); in opt_subcmd_print()
779 bootopts = *((struct boot_option *) BOOTOPTS_BASE); in opt_subcmd_read()
[all …]
H A Ddev_net.c69 if (bootopts.b_flags & B_F_USE_BOOTP) { in net_open()
77 servip = s->destip = bootopts.b_remote_ip; in net_open()
78 myip = s->myip = bootopts.b_local_ip; in net_open()
79 netmask = bootopts.b_netmask; in net_open()
80 gateip = bootopts.b_gate_ip; in net_open()
H A Dextern.h113 extern struct boot_option bootopts;