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-driverd: actually add --version
[elogind.git]
/
src
/
libsystemd-dhcp
/
dhcp-internal.h
diff --git
a/src/libsystemd-dhcp/dhcp-internal.h
b/src/libsystemd-dhcp/dhcp-internal.h
index 1f9c9d249b680ea9e372cee83854058e8e595c5c..4472d95095fbce1399565e30f2c2ec6216fe3afe 100644
(file)
--- a/
src/libsystemd-dhcp/dhcp-internal.h
+++ b/
src/libsystemd-dhcp/dhcp-internal.h
@@
-22,9
+22,16
@@
***/
#include <stdint.h>
***/
#include <stdint.h>
+#include <linux/if_packet.h>
+
+#include "socket-util.h"
#include "dhcp-protocol.h"
#include "dhcp-protocol.h"
+int dhcp_network_bind_raw_socket(int index, union sockaddr_union *link);
+int dhcp_network_send_raw_socket(int s, const union sockaddr_union *link,
+ const void *packet, size_t len);
+
int dhcp_option_append(uint8_t **buf, size_t *buflen, uint8_t code,
size_t optlen, const void *optval);
int dhcp_option_append(uint8_t **buf, size_t *buflen, uint8_t code,
size_t optlen, const void *optval);