summaryrefslogtreecommitdiff
path: root/src/network/networkd.h
diff options
context:
space:
mode:
authorTom Gundersen <teg@jklm.no>2014-01-28 20:01:37 +0100
committerTom Gundersen <teg@jklm.no>2014-01-30 14:30:39 +0100
commiteb0ea358b688a6f83ff305c6b825c61f12b6dcb8 (patch)
tree30419235b063de6eda8235fe56636aecec1739c5 /src/network/networkd.h
parent801bd9e859d7f3f127617172910786929776472b (diff)
networkd: address - add support for broadcast
Diffstat (limited to 'src/network/networkd.h')
-rw-r--r--src/network/networkd.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/network/networkd.h b/src/network/networkd.h
index f174abbf59..01a8a7f681 100644
--- a/src/network/networkd.h
+++ b/src/network/networkd.h
@@ -123,7 +123,7 @@ struct Address {
unsigned char prefixlen;
char *label;
- struct in_addr netmask;
+ struct in_addr broadcast;
union {
struct in_addr in;
@@ -305,6 +305,10 @@ int config_parse_address(const char *unit, const char *filename, unsigned line,
const char *section, unsigned section_line, const char *lvalue,
int ltype, const char *rvalue, void *data, void *userdata);
+int config_parse_broadcast(const char *unit, const char *filename, unsigned line,
+ const char *section, unsigned section_line, const char *lvalue,
+ int ltype, const char *rvalue, void *data, void *userdata);
+
int config_parse_label(const char *unit, const char *filename, unsigned line,
const char *section, unsigned section_line, const char *lvalue,
int ltype, const char *rvalue, void *data, void *userdata);