chiark
/
gitweb
/
~ianmdlvl
/
elogind.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
test: add and improve hashmap tests
[elogind.git]
/
src
/
network
/
networkd.h
diff --git
a/src/network/networkd.h
b/src/network/networkd.h
index c8d89d212b8fdb04cdc2873429344f53bf2fbe54..d4e79ab2f339badf6afb61761f90c70e39a60543 100644
(file)
--- a/
src/network/networkd.h
+++ b/
src/network/networkd.h
@@
-100,6
+100,7
@@
struct Network {
bool dhcp_broadcast;
bool dhcp_critical;
bool dhcp_routes;
bool dhcp_broadcast;
bool dhcp_critical;
bool dhcp_routes;
+ unsigned dhcp_route_metric;
bool ipv4ll;
bool ipv4ll_route;
bool ipv4ll;
bool ipv4ll_route;
@@
-126,6
+127,7
@@
struct Address {
int family;
unsigned char prefixlen;
unsigned char scope;
int family;
unsigned char prefixlen;
unsigned char scope;
+ unsigned char flags;
char *label;
struct in_addr broadcast;
char *label;
struct in_addr broadcast;
@@
-149,6
+151,7
@@
struct Route {
union in_addr_union in_addr;
union in_addr_union dst_addr;
union in_addr_union in_addr;
union in_addr_union dst_addr;
+ union in_addr_union prefsrc_addr;
LIST_FIELDS(Route, routes);
};
LIST_FIELDS(Route, routes);
};
@@
-171,8
+174,6
@@
struct Manager {
struct udev *udev;
struct udev_monitor *udev_monitor;
sd_event_source *udev_event_source;
struct udev *udev;
struct udev_monitor *udev_monitor;
sd_event_source *udev_event_source;
- sd_event_source *sigterm_event_source;
- sd_event_source *sigint_event_source;
char *state_file;
char *state_file;