Searched defs:arptable (Results 1 - 1 of 1) sorted by relevance

/external/grub/netboot/
H A Dmain.c46 struct arptable_t arptable[MAX_ARP]; variable in typeref:struct:arptable_t
122 etherboot_printf ("Address: %@\n", arptable[ARP_CLIENT].ipaddr.s_addr);
124 etherboot_printf ("Server: %@\n", arptable[ARP_SERVER].ipaddr.s_addr);
125 etherboot_printf ("Gateway: %@\n", arptable[ARP_GATEWAY].ipaddr.s_addr);
136 int net = ntohl (arptable[ARP_CLIENT].ipaddr.s_addr) >> 24;
161 if (! inet_aton (ip, &arptable[ARP_CLIENT].ipaddr))
168 if (gw && ! inet_aton (gw, &arptable[ARP_GATEWAY].ipaddr))
172 grub_memset (arptable[ARP_GATEWAY].node, 0, ETH_ALEN);
174 if (svr && ! inet_aton (svr, &arptable[ARP_SERVER].ipaddr))
178 grub_memset (arptable[ARP_SERVE
[all...]

Completed in 149 milliseconds