backports from the p2p-nat-t branch:
* double assignment of function ''destroy'' in some jobs * typos
This commit is contained in:
@@ -310,7 +310,7 @@ struct bus_t {
|
|||||||
* must register themself to the bus before starting to listen(). When
|
* must register themself to the bus before starting to listen(). When
|
||||||
* a signal occurs, the emitter waits until all threads with listen_state
|
* a signal occurs, the emitter waits until all threads with listen_state
|
||||||
* TRUE are waiting in the listen() method to process the signal.
|
* TRUE are waiting in the listen() method to process the signal.
|
||||||
* It is important that a thread with liste_state TRUE calls listen()
|
* It is important that a thread with listen_state TRUE calls listen()
|
||||||
* periodically, or sets it's listening state to FALSE; otherwise
|
* periodically, or sets it's listening state to FALSE; otherwise
|
||||||
* all signal emitting threads get blocked on the bus.
|
* all signal emitting threads get blocked on the bus.
|
||||||
*
|
*
|
||||||
|
|||||||
@@ -319,7 +319,7 @@ struct message_t {
|
|||||||
iterator_t * (*get_payload_iterator) (message_t *this);
|
iterator_t * (*get_payload_iterator) (message_t *this);
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @brief Find a payload of a spicific type.
|
* @brief Find a payload of a specific type.
|
||||||
*
|
*
|
||||||
* Returns the first occurance.
|
* Returns the first occurance.
|
||||||
*
|
*
|
||||||
|
|||||||
@@ -129,7 +129,7 @@ enum payload_type_t{
|
|||||||
/**
|
/**
|
||||||
* Header has a value of PRIVATE USE space.
|
* Header has a value of PRIVATE USE space.
|
||||||
*
|
*
|
||||||
* This payload type is not send over wire and just
|
* This payload type is not sent over wire and just
|
||||||
* used internally to handle IKEv2-Header like a payload.
|
* used internally to handle IKEv2-Header like a payload.
|
||||||
*/
|
*/
|
||||||
HEADER = 140,
|
HEADER = 140,
|
||||||
@@ -137,7 +137,7 @@ enum payload_type_t{
|
|||||||
/**
|
/**
|
||||||
* PROPOSAL_SUBSTRUCTURE has a value of PRIVATE USE space.
|
* PROPOSAL_SUBSTRUCTURE has a value of PRIVATE USE space.
|
||||||
*
|
*
|
||||||
* This payload type is not send over wire and just
|
* This payload type is not sent over wire and just
|
||||||
* used internally to handle a proposal substructure like a payload.
|
* used internally to handle a proposal substructure like a payload.
|
||||||
*/
|
*/
|
||||||
PROPOSAL_SUBSTRUCTURE = 141,
|
PROPOSAL_SUBSTRUCTURE = 141,
|
||||||
@@ -145,7 +145,7 @@ enum payload_type_t{
|
|||||||
/**
|
/**
|
||||||
* TRANSFORM_SUBSTRUCTURE has a value of PRIVATE USE space.
|
* TRANSFORM_SUBSTRUCTURE has a value of PRIVATE USE space.
|
||||||
*
|
*
|
||||||
* This payload type is not send over wire and just
|
* This payload type is not sent over wire and just
|
||||||
* used internally to handle a transform substructure like a payload.
|
* used internally to handle a transform substructure like a payload.
|
||||||
*/
|
*/
|
||||||
TRANSFORM_SUBSTRUCTURE = 142,
|
TRANSFORM_SUBSTRUCTURE = 142,
|
||||||
@@ -153,7 +153,7 @@ enum payload_type_t{
|
|||||||
/**
|
/**
|
||||||
* TRANSFORM_ATTRIBUTE has a value of PRIVATE USE space.
|
* TRANSFORM_ATTRIBUTE has a value of PRIVATE USE space.
|
||||||
*
|
*
|
||||||
* This payload type is not send over wire and just
|
* This payload type is not sent over wire and just
|
||||||
* used internally to handle a transform attribute like a payload.
|
* used internally to handle a transform attribute like a payload.
|
||||||
*/
|
*/
|
||||||
TRANSFORM_ATTRIBUTE = 143,
|
TRANSFORM_ATTRIBUTE = 143,
|
||||||
@@ -161,7 +161,7 @@ enum payload_type_t{
|
|||||||
/**
|
/**
|
||||||
* TRAFFIC_SELECTOR_SUBSTRUCTURE has a value of PRIVATE USE space.
|
* TRAFFIC_SELECTOR_SUBSTRUCTURE has a value of PRIVATE USE space.
|
||||||
*
|
*
|
||||||
* This payload type is not send over wire and just
|
* This payload type is not sent over wire and just
|
||||||
* used internally to handle a transform selector like a payload.
|
* used internally to handle a transform selector like a payload.
|
||||||
*/
|
*/
|
||||||
TRAFFIC_SELECTOR_SUBSTRUCTURE = 144,
|
TRAFFIC_SELECTOR_SUBSTRUCTURE = 144,
|
||||||
@@ -169,7 +169,7 @@ enum payload_type_t{
|
|||||||
/**
|
/**
|
||||||
* CONFIGURATION_ATTRIBUTE has a value of PRIVATE USE space.
|
* CONFIGURATION_ATTRIBUTE has a value of PRIVATE USE space.
|
||||||
*
|
*
|
||||||
* This payload type is not send over wire and just
|
* This payload type is not sent over wire and just
|
||||||
* used internally to handle a transform attribute like a payload.
|
* used internally to handle a transform attribute like a payload.
|
||||||
*/
|
*/
|
||||||
CONFIGURATION_ATTRIBUTE = 145,
|
CONFIGURATION_ATTRIBUTE = 145,
|
||||||
@@ -177,7 +177,7 @@ enum payload_type_t{
|
|||||||
/**
|
/**
|
||||||
* A unknown payload has a value of PRIVATE USE space.
|
* A unknown payload has a value of PRIVATE USE space.
|
||||||
*
|
*
|
||||||
* This payload type is not send over wire and just
|
* This payload type is not sent over wire and just
|
||||||
* used internally to handle a unknown payload.
|
* used internally to handle a unknown payload.
|
||||||
*/
|
*/
|
||||||
UNKNOWN_PAYLOAD = 146,
|
UNKNOWN_PAYLOAD = 146,
|
||||||
|
|||||||
@@ -104,7 +104,6 @@ roam_job_t *roam_job_create(bool address)
|
|||||||
{
|
{
|
||||||
private_roam_job_t *this = malloc_thing(private_roam_job_t);
|
private_roam_job_t *this = malloc_thing(private_roam_job_t);
|
||||||
|
|
||||||
this->public.job_interface.destroy = (void (*) (job_t *)) destroy;
|
|
||||||
this->public.job_interface.execute = (void (*) (job_t *)) execute;
|
this->public.job_interface.execute = (void (*) (job_t *)) execute;
|
||||||
this->public.job_interface.destroy = (void (*) (job_t *)) destroy;
|
this->public.job_interface.destroy = (void (*) (job_t *)) destroy;
|
||||||
|
|
||||||
|
|||||||
@@ -86,7 +86,6 @@ send_dpd_job_t *send_dpd_job_create(ike_sa_id_t *ike_sa_id)
|
|||||||
private_send_dpd_job_t *this = malloc_thing(private_send_dpd_job_t);
|
private_send_dpd_job_t *this = malloc_thing(private_send_dpd_job_t);
|
||||||
|
|
||||||
/* interface functions */
|
/* interface functions */
|
||||||
this->public.job_interface.destroy = (void (*) (job_t *)) destroy;
|
|
||||||
this->public.job_interface.execute = (void (*) (job_t *)) execute;
|
this->public.job_interface.execute = (void (*) (job_t *)) execute;
|
||||||
this->public.job_interface.destroy = (void (*) (job_t *)) destroy;
|
this->public.job_interface.destroy = (void (*) (job_t *)) destroy;
|
||||||
|
|
||||||
|
|||||||
@@ -80,7 +80,6 @@ send_keepalive_job_t *send_keepalive_job_create(ike_sa_id_t *ike_sa_id)
|
|||||||
private_send_keepalive_job_t *this = malloc_thing(private_send_keepalive_job_t);
|
private_send_keepalive_job_t *this = malloc_thing(private_send_keepalive_job_t);
|
||||||
|
|
||||||
/* interface functions */
|
/* interface functions */
|
||||||
this->public.job_interface.destroy = (void (*) (job_t *)) destroy;
|
|
||||||
this->public.job_interface.execute = (void (*) (job_t *)) execute;
|
this->public.job_interface.execute = (void (*) (job_t *)) execute;
|
||||||
this->public.job_interface.destroy = (void (*) (job_t *)) destroy;
|
this->public.job_interface.destroy = (void (*) (job_t *)) destroy;
|
||||||
|
|
||||||
|
|||||||
@@ -368,7 +368,7 @@ static ike_sa_t *checkout_new(private_ike_sa_manager_t* this, bool initiator)
|
|||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Implementation of of ike_sa_manager.checkout_by_id.
|
* Implementation of of ike_sa_manager.checkout_by_message.
|
||||||
*/
|
*/
|
||||||
static ike_sa_t* checkout_by_message(private_ike_sa_manager_t* this,
|
static ike_sa_t* checkout_by_message(private_ike_sa_manager_t* this,
|
||||||
message_t *message)
|
message_t *message)
|
||||||
@@ -483,7 +483,7 @@ static ike_sa_t* checkout_by_message(private_ike_sa_manager_t* this,
|
|||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Implementation of of ike_sa_manager.checkout_by_id.
|
* Implementation of of ike_sa_manager.checkout_by_peer.
|
||||||
*/
|
*/
|
||||||
static ike_sa_t* checkout_by_peer(private_ike_sa_manager_t *this,
|
static ike_sa_t* checkout_by_peer(private_ike_sa_manager_t *this,
|
||||||
host_t *my_host, host_t *other_host,
|
host_t *my_host, host_t *other_host,
|
||||||
|
|||||||
+1
-1
@@ -72,7 +72,7 @@ case "$1" in
|
|||||||
echo " starter"
|
echo " starter"
|
||||||
echo " version"
|
echo " version"
|
||||||
echo " whack"
|
echo " whack"
|
||||||
echo " stoke"
|
echo " stroke"
|
||||||
echo
|
echo
|
||||||
echo "Some of these functions have their own manual pages, e.g. ipsec_scepclient(8)."
|
echo "Some of these functions have their own manual pages, e.g. ipsec_scepclient(8)."
|
||||||
exit 0
|
exit 0
|
||||||
|
|||||||
Reference in New Issue
Block a user