summaryrefslogtreecommitdiff
path: root/src/libsystemd-network/dhcp-server-internal.h
diff options
context:
space:
mode:
authorTom Gundersen <teg@jklm.no>2014-05-25 17:20:57 +0200
committerTom Gundersen <teg@jklm.no>2014-06-13 17:07:19 +0200
commit969b009d9416806911b9b52e7e7bc619c0c1a931 (patch)
treee9eee206457ccc0b716e7cb51d67a06afa555f71 /src/libsystemd-network/dhcp-server-internal.h
parent20af7091de0cdf92bf299addfc3f96c3ef805bd8 (diff)
sd-dhcp-server: add support for sending messages
Diffstat (limited to 'src/libsystemd-network/dhcp-server-internal.h')
-rw-r--r--src/libsystemd-network/dhcp-server-internal.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/libsystemd-network/dhcp-server-internal.h b/src/libsystemd-network/dhcp-server-internal.h
index 58a98772ba..381304ee47 100644
--- a/src/libsystemd-network/dhcp-server-internal.h
+++ b/src/libsystemd-network/dhcp-server-internal.h
@@ -64,3 +64,6 @@ DEFINE_TRIVIAL_CLEANUP_FUNC(sd_dhcp_server*, sd_dhcp_server_unref);
int dhcp_server_handle_message(sd_dhcp_server *server, DHCPMessage *message,
size_t length);
+int dhcp_server_send_packet(sd_dhcp_server *server,
+ DHCPRequest *req, DHCPPacket *packet,
+ int type, size_t optoffset);