summaryrefslogtreecommitdiffstats
path: root/src/include/ipxe/settings.h
diff options
context:
space:
mode:
authorMichael Brown2014-01-31 19:16:42 +0100
committerMichael Brown2014-02-05 15:56:49 +0100
commitd4c0226a6ce888218f258df409bb6a955e727d81 (patch)
tree365925bb9a14bdfb25763088ee0f53944181500b /src/include/ipxe/settings.h
parent[intel] Add some missing PCI IDs (diff)
downloadipxe-d4c0226a6ce888218f258df409bb6a955e727d81.tar.gz
ipxe-d4c0226a6ce888218f258df409bb6a955e727d81.tar.xz
ipxe-d4c0226a6ce888218f258df409bb6a955e727d81.zip
[dns] Support DNS search lists
Update the DNS resolver to support DNS search lists (as provided by DHCP option 119, DHCPv6 option 24, or NDP option 31). Add validation code to ensure that parsing of DNS packets does not overrun the input, get stuck in infinite loops, or (worse) write beyond the end of allocated buffers. Signed-off-by: Michael Brown <mcb30@ipxe.org>
Diffstat (limited to 'src/include/ipxe/settings.h')
-rw-r--r--src/include/ipxe/settings.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/include/ipxe/settings.h b/src/include/ipxe/settings.h
index 642b1d4c..d6929ecd 100644
--- a/src/include/ipxe/settings.h
+++ b/src/include/ipxe/settings.h
@@ -417,6 +417,7 @@ extern const struct setting_type setting_type_hexhyp __setting_type;
extern const struct setting_type setting_type_hexraw __setting_type;
extern const struct setting_type setting_type_uuid __setting_type;
extern const struct setting_type setting_type_busdevfn __setting_type;
+extern const struct setting_type setting_type_dnssl __setting_type;
extern const struct setting
ip_setting __setting ( SETTING_IP, ip );