chiark / gitweb /
update TODO
[elogind.git] / src / libsystemd-network / dhcp-internal.h
index 3c3e1f649fe7cd2df97f88f915ffdb0dc8d38e3c..064b13b59ff5dca2bb78cc142d7a93b4df43e3a4 100644 (file)
@@ -48,6 +48,8 @@ int dhcp_option_parse(DHCPMessage *message, size_t len,
 int dhcp_message_init(DHCPMessage *message, uint8_t op, uint32_t xid, uint8_t type,
                       uint8_t **opt, size_t *optlen);
 
+uint16_t dhcp_packet_checksum(void *buf, int len);
+
 void dhcp_packet_append_ip_headers(DHCPPacket *packet, be32_t source_addr,
                                    uint16_t source, be32_t destination_addr,
                                    uint16_t destination, uint16_t len);