chiark
/
gitweb
/
~ianmdlvl
/
elogind.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
bus: always create --user bus when kdbus is active
[elogind.git]
/
src
/
network
/
networkd.h
diff --git
a/src/network/networkd.h
b/src/network/networkd.h
index 547533fbab5e60b09e031989917471b30ef6db83..cad81d9b711f0277e86d0c451b61735922a4a9d6 100644
(file)
--- a/
src/network/networkd.h
+++ b/
src/network/networkd.h
@@
-26,6
+26,7
@@
#include "sd-event.h"
#include "sd-rtnl.h"
#include "sd-event.h"
#include "sd-rtnl.h"
+#include "sd-dhcp-client.h"
#include "udev.h"
#include "rtnl-util.h"
#include "udev.h"
#include "rtnl-util.h"
@@
-84,6
+85,7
@@
struct Network {
char *description;
Bridge *bridge;
char *description;
Bridge *bridge;
+ bool dhcp;
LIST_HEAD(Address, static_addresses);
LIST_HEAD(Route, static_routes);
LIST_HEAD(Address, static_addresses);
LIST_HEAD(Route, static_routes);
@@
-153,9
+155,15
@@
struct Link {
Network *network;
Network *network;
+ Route *dhcp_route;
+ Address *dhcp_address;
+
LinkState state;
LinkState state;
- unsigned rtnl_messages;
+ unsigned addr_messages;
+ unsigned route_messages;
+
+ sd_dhcp_client *dhcp;
};
struct Manager {
};
struct Manager {