projects
/
project
/
netifd.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
move broadcast address handling to the core
[project/netifd.git]
/
interface-ip.h
diff --git
a/interface-ip.h
b/interface-ip.h
index
112c61b
..
e983a84
100644
(file)
--- a/
interface-ip.h
+++ b/
interface-ip.h
@@
-27,7
+27,8
@@
struct device_addr {
enum device_addr_flags flags;
bool enabled;
- struct device *device;
+ /* ipv4 only */
+ uint32_t broadcast;
/* must be last */
unsigned int mask;
@@
-42,7
+43,6
@@
struct device_route {
bool keep;
union if_addr nexthop;
- struct device *device;
int metric;
int mtu;