Michael Brown
c44a193d0d
[legal] Add a selection of FILE_LICENCE declarations
Add FILE_LICENCE declarations to almost all files that make up the
various standard builds of gPXE.
před 15 roky
Michael Brown
323cdf8c4c
[xfer] Implement xfer_vreopen() to properly handle redirections
When handling a redirection event, we need to close the existing
connection before opening the new connection.
před 15 roky
Stefan Hajnoczi
d10a7e7739
[dns] Append local domain to relative names
Try to qualify relative names in the DNS resolver using the DHCP Domain
Name. For example:
DHCP Domain Name: etherboot.org
(Relative) Name: www
yields:
www.etherboot.org
Only names with no dots ('.') will be modified. A name with one or more
dots is unchanged.
před 16 roky
Michael Brown
92d15eff30
[Settings] Remove assumption that all settings have DHCP tag values
Allow for settings to be described by something other than a DHCP option
tag if desirable. Currently used only for the MAC address setting.
Separate out fake DHCP packet creation code from dhcp.c to fakedhcp.c.
Remove notion of settings from dhcppkt.c.
Rationalise dhcp.c to use settings API only for final registration of the
DHCP options, rather than using {store,fetch}_setting throughout.
před 16 roky
Michael Brown
cf03304620
[Settings] Introduce settings applicators.
Convert DHCP option applicators in dns.c and iscsi.c to settings
applicators.
Kill off DHCP option applicators.
před 16 roky
Michael Brown
f6a8158eed
Make seek information part of the xfer metadata, rather than an entirely
separate xfer method.
Add missing .alloc_iob entries to several xfer_interface_operations
structures.
před 17 roky
Michael Brown
9fd6a0418f
Allowed zero-cost enforced ordering of features in startup banner
list.
Added FEATURE() macros to most relevant (non-driver) files.
před 17 roky
Michael Brown
f44969f7df
nameserver should be static
před 17 roky
Michael Brown
237e23c1c9
Add debug message when nameserver setting is applied/changed via DHCP.
před 17 roky
Michael Brown
b34d4d0449
Separate the "is data ready" function of xfer_seek() into an
xfer_window() function, which can return a scalar rather than a
boolean.
před 17 roky
Michael Brown
ca4c6f9eee
Kill off unused request() method in data-xfer interface.
před 17 roky
Holger Lubitz
2b9fb513f4
convert to zalloc
před 17 roky
Michael Brown
1567b69895
Add concept of DHCP option applicators.
před 17 roky
Michael Brown
f87bc837f4
Updated DNS to use not-yet-implemented UDP data-xfer API.
před 17 roky
Michael Brown
63719deea9
Introduce name resolution interface and named socket opener.
před 17 roky
Michael Brown
92a78c8e15
Added SIGKILL handler
před 18 roky
Michael Brown
4e3976711d
A working name resolution framework
před 18 roky
Michael Brown
075f8144ff
Have DHCP set the nameserver, rather than DNS read the DHCP nameserver
value.
před 18 roky
Michael Brown
99e58865c7
Use struct sockaddr rather than struct sockaddr_tcpip
Tidy up code
před 18 roky
Michael Brown
9af12d5fba
A working DNS resolver (not yet tied in to anything)
před 18 roky