chiark / gitweb /
machined: make sure GetMachineAddresses() is available for unprivileged processes
[elogind.git] / src / libsystemd-network / network-internal.h
index ef3cb8b91d0f72c0b556bbe9e03fc19ce28652f8..1c77d332741c4e65e95ca522fc7222f8cae6e128 100644 (file)
@@ -24,6 +24,7 @@
 #include <netinet/ether.h>
 #include <netinet/in.h>
 #include <stdbool.h>
+#include <libkmod.h>
 
 #include "udev.h"
 #include "condition-util.h"
@@ -66,4 +67,4 @@ int net_parse_inaddr(const char *address, unsigned char *family, void *dst);
 
 int net_get_unique_predictable_data(struct udev_device *device, uint8_t result[8]);
 
-bool link_has_carrier(unsigned flags, uint8_t operstate);
+int load_module(struct kmod_ctx *ctx, const char *mod_name);