X-Git-Url: https://git.sur5r.net/?a=blobdiff_plain;f=include%2Fnet.h;h=4a03717ae9bcd99efe80e75956e1905e1c0b0c74;hb=3b9043a7c03290c9bdbef03848307263f5f3472c;hp=88a951357168b0e57c05447bc1fb12a517e73560;hpb=d9bec9f42ab34383737c8a94429aa02fe76d7946;p=u-boot diff --git a/include/net.h b/include/net.h index 88a9513571..4a03717ae9 100644 --- a/include/net.h +++ b/include/net.h @@ -361,6 +361,11 @@ typedef enum { BOOTP, RARP, ARP, TFTP, DHCP, PING, DNS, NFS, CDP, NETCONS, SNTP /* from net/net.c */ extern char BootFile[128]; /* Boot File name */ +#if defined(CONFIG_CMD_DNS) +extern char *NetDNSResolve; /* The host to resolve */ +extern char *NetDNSenvvar; /* the env var to put the ip into */ +#endif + #if defined(CONFIG_CMD_PING) extern IPaddr_t NetPingIP; /* the ip address to ping */ #endif