- code cleanup in network and config
- moved packet_t members to private, added getter and setters
This commit is contained in:
1 parent
4b41a0d404
commit
2b54748131
28 files changed
+345
-170
No files matched your search
@@ -72,7 +72,7 @@ extern mapping_t auth_method_m[];
|
||||
typedef struct auth_payload_t auth_payload_t;
|
||||
|
||||
/**
|
||||
* @brief Object representing an IKEv2 AUTH payload.
|
||||
* @brief Class representing an IKEv2 AUTH payload.
|
||||
*
|
||||
* The AUTH payload format is described in draft section 3.8.
|
||||
*
|
||||
|
||||
@@ -67,7 +67,7 @@ extern mapping_t cert_encoding_m[];
|
||||
typedef struct cert_payload_t cert_payload_t;
|
||||
|
||||
/**
|
||||
* Object representing an IKEv2 CERT payload.
|
||||
* @brief Class representing an IKEv2 CERT payload.
|
||||
*
|
||||
* The CERT payload format is described in draft section 3.6.
|
||||
* This is just a dummy implementation to fullfill the standards
|
||||
@@ -77,6 +77,8 @@ typedef struct cert_payload_t cert_payload_t;
|
||||
* @b Constructors:
|
||||
* - cert_payload_create()
|
||||
*
|
||||
* @todo Implement setters/getters for the different certificate encodings.
|
||||
*
|
||||
* @ingroup payloads
|
||||
*/
|
||||
struct cert_payload_t {
|
||||
|
||||
@@ -48,6 +48,8 @@ typedef struct certreq_payload_t certreq_payload_t;
|
||||
* @b Constructors:
|
||||
* - certreq_payload_create()
|
||||
*
|
||||
* @todo Implement payload functionality.
|
||||
*
|
||||
* @ingroup payloads
|
||||
*/
|
||||
struct certreq_payload_t {
|
||||
|
||||
@@ -46,6 +46,8 @@ typedef struct delete_payload_t delete_payload_t;
|
||||
* @b Constructors:
|
||||
* - delete_payload_create()
|
||||
*
|
||||
* @todo Implement better setter/getters
|
||||
*
|
||||
* @ingroup payloads
|
||||
*/
|
||||
struct delete_payload_t {
|
||||
|
||||
@@ -44,6 +44,8 @@ typedef struct eap_payload_t eap_payload_t;
|
||||
* @b Constructors:
|
||||
* - eap_payload_create()
|
||||
*
|
||||
* @todo Implement functionality for this payload
|
||||
*
|
||||
* @ingroup payloads
|
||||
*/
|
||||
struct eap_payload_t {
|
||||
|
||||
@@ -186,7 +186,7 @@ struct encryption_payload_t {
|
||||
/**
|
||||
* @brief Creates an empty encryption_payload_t object.
|
||||
*
|
||||
* @returnencryption_payload_t object
|
||||
* @return encryption_payload_t object
|
||||
*
|
||||
* @ingroup payloads
|
||||
*/
|
||||
|
||||
@@ -92,6 +92,8 @@ typedef struct notify_payload_t notify_payload_t;
|
||||
* @b Constructors:
|
||||
* - notify_payload_create()
|
||||
* - notify_payload_create_from_protocol_and_type()
|
||||
*
|
||||
* @todo Build specified constructor/getter for notify's
|
||||
*
|
||||
* @ingroup payloads
|
||||
*/
|
||||
|
||||
@@ -61,7 +61,7 @@ extern mapping_t protocol_id_m[];
|
||||
typedef struct proposal_substructure_t proposal_substructure_t;
|
||||
|
||||
/**
|
||||
* Object representing an IKEv2-PROPOSAL SUBSTRUCTURE.
|
||||
* @brief Class representing an IKEv2-PROPOSAL SUBSTRUCTURE.
|
||||
*
|
||||
* The PROPOSAL SUBSTRUCTURE format is described in RFC section 3.3.1.
|
||||
*
|
||||
|
||||
@@ -49,7 +49,7 @@ extern mapping_t transform_attribute_type_m[];
|
||||
typedef struct transform_attribute_t transform_attribute_t;
|
||||
|
||||
/**
|
||||
* Object representing an IKEv2- TRANSFORM Attribute.
|
||||
* @brief Class representing an IKEv2- TRANSFORM Attribute.
|
||||
*
|
||||
* The TRANSFORM ATTRIBUTE format is described in RFC section 3.3.5.
|
||||
*
|
||||
|
||||
@@ -95,7 +95,7 @@ extern mapping_t extended_sequence_numbers_m[];
|
||||
typedef struct transform_substructure_t transform_substructure_t;
|
||||
|
||||
/**
|
||||
* Object representing an IKEv2- TRANSFORM SUBSTRUCTURE.
|
||||
* @brief Class representing an IKEv2- TRANSFORM SUBSTRUCTURE.
|
||||
*
|
||||
* The TRANSFORM SUBSTRUCTURE format is described in RFC section 3.3.2.
|
||||
*
|
||||
|
||||
Reference in new issue
Block a user