From: Tomek Mrugalski Date: Tue, 15 Jan 2019 13:30:48 +0000 (+0100) Subject: [#283,!135] Obsolete TestControl::receivePackets declaration removed X-Git-Tag: 421-create-config-backend-for-dhcpv6-base_base~8 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=35968bfc55ee5a16890ffff5e083a359940f287f;p=thirdparty%2Fkea.git [#283,!135] Obsolete TestControl::receivePackets declaration removed --- diff --git a/src/bin/perfdhcp/test_control.h b/src/bin/perfdhcp/test_control.h index 2c40b36a62..9849bc4775 100644 --- a/src/bin/perfdhcp/test_control.h +++ b/src/bin/perfdhcp/test_control.h @@ -398,7 +398,7 @@ protected: /// \param type option-type (ignored). /// \param buf option-buffer (ignored). /// \return instance o the generic option. - static dhcp::OptionPtr factoryRequestList4(dhcp::Option::Universe u, + static dhcp::OptionPtr factoryRequestList4(dhcp::Option::Universe u, uint16_t type, const dhcp::OptionBuffer& buf); @@ -559,22 +559,6 @@ protected: void processReceivedPacket6(const BetterSocket& socket, const dhcp::Pkt6Ptr& pkt6); - /// \brief Receive DHCPv4 or DHCPv6 packets from the server. - /// - /// Method receives DHCPv4 or DHCPv6 packets from the server. - /// This function will call \ref processReceivedPacket4 or - /// \ref processReceivedPacket6 depending if DHCPv4 or DHCPv6 packet - /// has arrived. - /// - /// \warning this method does not check if provided socket is - /// valid. Ensure that it is valid prior to calling it. - /// - /// \param socket socket to be used. - /// \throw isc::BadValue if unknown message type received. - /// \throw isc::Unexpected if unexpected error occurred. - /// \return number of received packets. - uint64_t receivePackets(const BetterSocket& socket); - /// \brief Register option factory functions for DHCPv4 /// /// Method registers option factory functions for DHCPv4.