public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Andrew Morton <andrewm@uow.edu.au>
To: Joshua Schmidklofer <menion@fmtc.com>
Cc: linux-kernel@vger.kernel.org
Subject: Re: 2.4.5 - IpConfig, BOOTP not functioning.
Date: Sun, 01 Jul 2001 13:16:05 +1000	[thread overview]
Message-ID: <3B3E95F5.5AFCF5DD@uow.edu.au> (raw)
In-Reply-To: <3B3D0B4A.9040603@fmtc.com>

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.

-

      reply	other threads:[~2001-07-01  3:18 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-06-29 23:12 2.4.5 - IpConfig, BOOTP not functioning Joshua Schmidklofer
2001-07-01  3:16 ` Andrew Morton [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=3B3E95F5.5AFCF5DD@uow.edu.au \
    --to=andrewm@uow.edu.au \
    --cc=linux-kernel@vger.kernel.org \
    --cc=menion@fmtc.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox