Messages in this thread |  | | Date | Sun, 01 Jul 2001 13:16:05 +1000 | From | Andrew Morton <> | Subject | Re: 2.4.5 - IpConfig, BOOTP not functioning. |
| |
Joshua Schmidklofer wrote: > > Kernel developers, > I hate to burden you with menial quetions, but: How does ipconfig > get called & initialized?
The magic happens right at the end of ipconfig.c:
__setup("ip=", ip_auto_config_setup); __setup("nfsaddrs=", nfsaddrs_config_setup);
When the kernel boots it runs init/main.c:parse_options() to parse the kernel boot command line. The function init/main.c:checksetup() will call ip_auto_config_setup() when it sees an argument of the form "ip=XXXX" on the command line.
If there is no `ip=' argument then ip_auto_config_setup() will not be called at all.
- - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
|  |