dhcp-packet: drop unused dhcp_packet_verify_headers()

This commit is contained in:
Yu Watanabe
2026-05-17 01:31:43 +09:00
parent 4d1779a7c5
commit 4095391bd6
2 changed files with 0 additions and 6 deletions
-4
View File
@@ -115,7 +115,3 @@ int dhcp_packet_append_ip_headers(
packet->udp = udp;
return 0;
}
int dhcp_packet_verify_headers(DHCPPacket *packet, size_t len, bool checksum, uint16_t port) {
return udp_packet_verify(&IOVEC_MAKE(packet, len), port, checksum, /* ret_payload= */ NULL);
}
-2
View File
@@ -31,5 +31,3 @@ int dhcp_packet_append_ip_headers(
uint16_t destination,
uint16_t len,
int ip_service_type);
int dhcp_packet_verify_headers(DHCPPacket *packet, size_t len, bool checksum, uint16_t port);