[U-Boot] [PATCH] Support for sending DHCP client options
T Ziomek
Tom.Ziomek at motorola.com
Tue Oct 19 21:02:45 CEST 2010
On Tue, Oct 19, 2010 at 02:42:16PM +0100, Gray Remlin wrote:
> Signed-off-by: Gray Remlin <g_remlin at rocketmail.com>
> ---
> README | 7 ++++++
> common/cmd_nvedit.c | 3 ++
> net/bootp.c | 52
> +++++++++++++++++++++++++++++++++++++++++++++++++++
> tools/env/fw_env.c | 4 ++-
> 4 files changed, 65 insertions(+), 1 deletions(-)
>
> diff --git a/README b/README
> index a52f3bf..90da375 100644
> --- a/README
> +++ b/README
> @@ -1279,6 +1279,7 @@ The following options need to be configured:
> CONFIG_BOOTP_NTPSERVER
> CONFIG_BOOTP_TIMEOFFSET
> CONFIG_BOOTP_VENDOREX
> + CONFIG_BOOTP_OPTIONS
>
> CONFIG_BOOTP_SERVERIP - TFTP server will be the serverip
> environment variable, not the BOOTP server.
> @@ -1299,6 +1300,12 @@ The following options need to be configured:
> of the "hostname" environment variable is passed as
> option 12 to the DHCP server.
>
> + CONFIG_BOOTP_OPTIONS - The environment is checked for the
> + supported DHCPv4 client options (prefixed with dhcp_), any
> + found are sent during a "DHCP Discover" and "DHCP Request".
> + The DHCP server can use this information to conditionally
> + tailor it's response.
s/it's/its/
--
It is of fundamental importance to understand |
that the primary recipient of your source code | Email to 'CTZ001'
is not the compiler but your coworkers. | at 'email.mot.com'
-- KreaTV SW Dev Guidelines |
More information about the U-Boot
mailing list