Mercurial > nand-ecoscentric
diff packages/redboot/current/include/net/net.h @ 2395:b8111f0a6f98
* src/net/net_io.c: (do_ip_addr): Option to set domain name.
* doc/redboot_cmds.sgml: Document new option.
* cdl/redboot.cdl: CDL to control the use of DNS domain name.
* src/net/bootp.c: Get the domain name from the reply.
* src/net/dns.c: Domain name from CDL, fconfig and DHCP.
| author | asl |
|---|---|
| date | Mon, 04 Jun 2007 20:30:59 +0000 |
| parents | 20fee0cef763 |
| children | 6cbecf3cc2e4 |
line wrap: on
line diff
--- a/packages/redboot/current/include/net/net.h +++ b/packages/redboot/current/include/net/net.h @@ -360,6 +360,10 @@ extern ip_addr_t __local_ip_mask; #endif #ifdef CYGPKG_REDBOOT_NETWORKING_DNS +#ifdef CYGPKG_REDBOOT_NETWORKING_DNS_DHCP_DOMAIN +extern char __bootp_dns_domain[CYGNUM_REDBOOT_NETWORK_DNS_DOMAIN_BUFSIZE]; +extern cyg_bool __bootp_dns_domain_set; +#endif extern struct in_addr __bootp_dns_addr; extern cyg_bool __bootp_dns_set; #endif
