lkml.org 
[lkml]   [2001]   [Jun]   [30]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: 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/

\
 
 \ /
  Last update: 2005-03-22 12:55    [W:0.418 / U:1.148 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site