projects
/
project
/
netifd.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
bridge: fix member list handling
[project/netifd.git]
/
interface-ip.h
diff --git
a/interface-ip.h
b/interface-ip.h
index
78f0644
..
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;
enum device_addr_flags flags;
bool enabled;
- struct device *device;
+ /* ipv4 only */
+ uint32_t broadcast;
/* must be last */
unsigned int mask;
/* must be last */
unsigned int mask;
@@
-42,7
+43,6
@@
struct device_route {
bool keep;
union if_addr nexthop;
bool keep;
union if_addr nexthop;
- struct device *device;
int metric;
int mtu;
int metric;
int mtu;
@@
-52,13
+52,13
@@
struct device_route {
};
struct dns_server {
};
struct dns_server {
- struct
list_head list
;
+ struct
vlist_simple_node node
;
int af;
union if_addr addr;
};
struct dns_search_domain {
int af;
union if_addr addr;
};
struct dns_search_domain {
- struct
list_head list
;
+ struct
vlist_simple_node node
;
char name[];
};
char name[];
};