summaryrefslogtreecommitdiff
path: root/interface-ip.h
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2012-02-26 17:43:10 +0100
committerFelix Fietkau <nbd@openwrt.org>2012-02-26 17:43:10 +0100
commit73a32ab092ae32ec97e20b61512998c8411b8bd5 (patch)
treef69da571f77133096292198fbd6dec73013aff45 /interface-ip.h
parent05c0ded29cf9dd7716528e61029886550ba1f7ab (diff)
downloadnetifd-73a32ab092ae32ec97e20b61512998c8411b8bd5.tar.gz
move broadcast address handling to the core
Diffstat (limited to 'interface-ip.h')
-rw-r--r--interface-ip.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/interface-ip.h b/interface-ip.h
index f6413ee..e983a84 100644
--- a/interface-ip.h
+++ b/interface-ip.h
@@ -27,6 +27,9 @@ struct device_addr {
enum device_addr_flags flags;
bool enabled;
+ /* ipv4 only */
+ uint32_t broadcast;
+
/* must be last */
unsigned int mask;
union if_addr addr;