Mercurial > ecos
diff packages/redboot/current/include/redboot.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 | 467fd46113f3 |
| children | 6cbecf3cc2e4 |
line wrap: on
line diff
--- a/packages/redboot/current/include/redboot.h +++ b/packages/redboot/current/include/redboot.h @@ -350,6 +350,7 @@ externC int redboot_dns_res_init(void); externC void set_dns(char* new_ip); externC void show_dns(void); externC struct hostent *gethostbyname(const char *host); +externC int setdomainname(const char *, size_t); // Error reporting externC int h_errno;
