|
@@ -117,6 +117,14 @@ public:
|
|
|
/// @param port UDP port on which server should listen.
|
|
|
static void openActiveSockets(const uint16_t port);
|
|
|
|
|
|
+ /// @brief compare received server id with ours server id
|
|
|
+ ///
|
|
|
+ /// Verifies received ServerID with generated ServerID
|
|
|
+ ///
|
|
|
+ /// @param pkt packet to be checked
|
|
|
+ /// @throw ServerID_mismatch if server_ids are not equal
|
|
|
+ void testServerid(const Pkt6Ptr& pkt);
|
|
|
+
|
|
|
protected:
|
|
|
|
|
|
/// @brief verifies if specified packet meets RFC requirements
|
|
@@ -130,14 +138,6 @@ protected:
|
|
|
/// @throw RFCViolation if any issues are detected
|
|
|
void sanityCheck(const Pkt6Ptr& pkt, RequirementLevel clientid,
|
|
|
RequirementLevel serverid);
|
|
|
-
|
|
|
- /// @brief compare received server id with ours server id
|
|
|
- ///
|
|
|
- /// Verifies received ServerID with generated ServerID
|
|
|
- ///
|
|
|
- /// @param pkt packet to be checked
|
|
|
- /// @throw ServerID_mismatch if server_ids are not equal
|
|
|
- void testServerid(const Pkt6Ptr& pkt);
|
|
|
|
|
|
/// @brief Processes incoming SOLICIT and returns response.
|
|
|
///
|