Commit 77c44b84 authored by Tomek Mrugalski's avatar Tomek Mrugalski 🛰
Browse files

[3184] Comments updated.

parent 62e07f67
......@@ -39,12 +39,13 @@ public:
/// Also sets up initial configuration in CfgMgr.
Dhcpv4SrvTest();
/// @brief destructor
virtual ~Dhcpv4SrvTest() {
}
/// @brief Add 'Parameter Request List' option to the packet.
///
/// This function PRL option comprising the following option codes:
/// This function adds PRL option comprising the following option codes:
/// - 5 - Name Server
/// - 15 - Domain Name
/// - 7 - Log Server
......@@ -129,8 +130,18 @@ public:
/// @param expected_clientid expected value of client-id
void checkClientId(const Pkt4Ptr& rsp, const OptionPtr& expected_clientid);
/// @brief sets default fields in a captured packet
///
/// Sets UDP ports, addresses and interface.
///
/// @param pkt packet to have default fields set
void captureSetDefaultFields(const Pkt4Ptr& pkt);
/// @brief returns captured DISCOVER that went through a relay
///
/// See method code for a detailed explanation.
///
/// @return relayed DISCOVER
Pkt4Ptr captureRelayedDiscover();
/// @brief Tests if Discover or Request message is processed correctly
......
......@@ -35,6 +35,10 @@
/// 6. Coding guidelines line restrictions apply, so wrap your code as necessary
/// 7. Make sure you decribe the capture appropriately
/// 8. Follow whatever rest of the methods are doing (set ports, ifaces etc.)
/// 9. To easily copy packet description, click File... -> Extract packet
/// dissections -> as plain text file...
/// (Make sure that the packet is expanded in the view. The text file will
/// contain whatever expansion level you have in the graphical tree.)
using namespace std;
using namespace isc::asiolink;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment