summaryrefslogtreecommitdiff
path: root/src/network/networkd-network.h
diff options
context:
space:
mode:
authorSusant Sahani <ssahani@redhat.com>2019-05-01 04:17:41 +0530
committerYu Watanabe <watanabe.yu+github@gmail.com>2019-05-10 15:29:55 +0200
commit727b5734187853bd85edb3c5588f4341269302ca (patch)
tree1ea71df835fb8d6a5699dd34f6c8b3ab575f1e68 /src/network/networkd-network.h
parent53ab531954f668c8976276572b6dc0e803677f16 (diff)
downloadsystemd-727b5734187853bd85edb3c5588f4341269302ca.tar.gz
systemd-727b5734187853bd85edb3c5588f4341269302ca.tar.bz2
systemd-727b5734187853bd85edb3c5588f4341269302ca.zip
networkd: Add support for blacklisting servers
closes #6260 fuzzer: Add DHCP support for blacklisting servers
Diffstat (limited to 'src/network/networkd-network.h')
-rw-r--r--src/network/networkd-network.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/network/networkd-network.h b/src/network/networkd-network.h
index 9ee8fb72b8..6ad25045df 100644
--- a/src/network/networkd-network.h
+++ b/src/network/networkd-network.h
@@ -135,6 +135,7 @@ struct Network {
bool dhcp_use_hostname;
bool dhcp_route_table_set;
DHCPUseDomains dhcp_use_domains;
+ Set *dhcp_black_listed_ip;
/* DHCP Server Support */
bool dhcp_server;
@@ -305,6 +306,7 @@ CONFIG_PARSER_PROTOTYPE(config_parse_ipv6_privacy_extensions);
CONFIG_PARSER_PROTOTYPE(config_parse_hostname);
CONFIG_PARSER_PROTOTYPE(config_parse_timezone);
CONFIG_PARSER_PROTOTYPE(config_parse_dhcp_server_dns);
+CONFIG_PARSER_PROTOTYPE(config_parse_dhcp_black_listed_ip_address);
CONFIG_PARSER_PROTOTYPE(config_parse_radv_dns);
CONFIG_PARSER_PROTOTYPE(config_parse_radv_search_domains);
CONFIG_PARSER_PROTOTYPE(config_parse_dhcp_server_ntp);