Moved data structures to new collections subfolder
This commit is contained in:
parent
fdee6b5f5a
commit
12642a6831
|
@ -21,7 +21,7 @@
|
|||
#include <library.h>
|
||||
#include <hydra.h>
|
||||
#include <daemon.h>
|
||||
#include <utils/enumerator.h>
|
||||
#include <collections/enumerator.h>
|
||||
|
||||
/* we need to fake the pluto symbol to dlopen() the xauth plugin */
|
||||
void *pluto;
|
||||
|
|
|
@ -17,7 +17,7 @@
|
|||
#include <libbridge.h>
|
||||
|
||||
#include <debug.h>
|
||||
#include <utils/linked_list.h>
|
||||
#include <collections/linked_list.h>
|
||||
|
||||
#include "bridge.h"
|
||||
|
||||
|
|
|
@ -17,7 +17,7 @@
|
|||
#define BRIDGE_H
|
||||
|
||||
#include <library.h>
|
||||
#include <utils/enumerator.h>
|
||||
#include <collections/enumerator.h>
|
||||
|
||||
typedef struct bridge_t bridge_t;
|
||||
|
||||
|
|
|
@ -37,7 +37,7 @@
|
|||
#include <debug.h>
|
||||
#include <threading/thread.h>
|
||||
#include <threading/rwlock.h>
|
||||
#include <utils/linked_list.h>
|
||||
#include <collections/linked_list.h>
|
||||
|
||||
/** define _XOPEN_SOURCE 500 fails when using libstrongswan, define popen */
|
||||
extern ssize_t pread(int fd, void *buf, size_t count, off_t offset);
|
||||
|
|
|
@ -24,7 +24,7 @@
|
|||
#include <errno.h>
|
||||
|
||||
#include <debug.h>
|
||||
#include <utils/linked_list.h>
|
||||
#include <collections/linked_list.h>
|
||||
|
||||
#include "dumm.h"
|
||||
|
||||
|
|
|
@ -20,7 +20,7 @@
|
|||
#include <signal.h>
|
||||
|
||||
#include <library.h>
|
||||
#include <utils/enumerator.h>
|
||||
#include <collections/enumerator.h>
|
||||
|
||||
#include "guest.h"
|
||||
#include "bridge.h"
|
||||
|
|
|
@ -22,7 +22,7 @@
|
|||
#include <library.h>
|
||||
#include <dumm.h>
|
||||
#include <debug.h>
|
||||
#include <utils/linked_list.h>
|
||||
#include <collections/linked_list.h>
|
||||
|
||||
#undef PACKAGE_NAME
|
||||
#undef PACKAGE_TARNAME
|
||||
|
|
|
@ -29,7 +29,7 @@
|
|||
#include <stdarg.h>
|
||||
|
||||
#include <debug.h>
|
||||
#include <utils/linked_list.h>
|
||||
#include <collections/linked_list.h>
|
||||
|
||||
#include "dumm.h"
|
||||
#include "guest.h"
|
||||
|
|
|
@ -18,7 +18,7 @@
|
|||
#define GUEST_H
|
||||
|
||||
#include <library.h>
|
||||
#include <utils/enumerator.h>
|
||||
#include <collections/enumerator.h>
|
||||
|
||||
typedef enum guest_state_t guest_state_t;
|
||||
typedef struct guest_t guest_t;
|
||||
|
|
|
@ -26,7 +26,7 @@
|
|||
#include <linux/if_tun.h>
|
||||
|
||||
#include <debug.h>
|
||||
#include <utils/linked_list.h>
|
||||
#include <collections/linked_list.h>
|
||||
|
||||
#include "iface.h"
|
||||
|
||||
|
|
|
@ -17,7 +17,7 @@
|
|||
#define IFACE_H
|
||||
|
||||
#include <library.h>
|
||||
#include <utils/enumerator.h>
|
||||
#include <collections/enumerator.h>
|
||||
#include <networking/host.h>
|
||||
|
||||
#define TAP_DEVICE "/dev/net/tun"
|
||||
|
|
|
@ -15,7 +15,7 @@
|
|||
|
||||
#include "dumm.h"
|
||||
|
||||
#include <utils/linked_list.h>
|
||||
#include <collections/linked_list.h>
|
||||
|
||||
#include <sys/types.h>
|
||||
#include <unistd.h>
|
||||
|
|
|
@ -35,7 +35,7 @@
|
|||
#include "kernel/network_manager.h"
|
||||
|
||||
#include <library.h>
|
||||
#include <utils/linked_list.h>
|
||||
#include <collections/linked_list.h>
|
||||
|
||||
typedef enum android_vpn_state_t android_vpn_state_t;
|
||||
typedef struct charonservice_t charonservice_t;
|
||||
|
|
|
@ -26,7 +26,7 @@ typedef struct backend_t backend_t;
|
|||
#include <library.h>
|
||||
#include <config/ike_cfg.h>
|
||||
#include <config/peer_cfg.h>
|
||||
#include <utils/linked_list.h>
|
||||
#include <collections/linked_list.h>
|
||||
|
||||
/**
|
||||
* The interface for a configuration backend.
|
||||
|
|
|
@ -18,7 +18,7 @@
|
|||
#include <sys/types.h>
|
||||
|
||||
#include <daemon.h>
|
||||
#include <utils/linked_list.h>
|
||||
#include <collections/linked_list.h>
|
||||
#include <threading/rwlock.h>
|
||||
|
||||
|
||||
|
|
|
@ -27,7 +27,7 @@ typedef struct ike_cfg_t ike_cfg_t;
|
|||
|
||||
#include <library.h>
|
||||
#include <networking/host.h>
|
||||
#include <utils/linked_list.h>
|
||||
#include <collections/linked_list.h>
|
||||
#include <utils/identification.h>
|
||||
#include <config/proposal.h>
|
||||
#include <crypto/diffie_hellman.h>
|
||||
|
|
|
@ -22,7 +22,7 @@
|
|||
#include <daemon.h>
|
||||
|
||||
#include <threading/mutex.h>
|
||||
#include <utils/linked_list.h>
|
||||
#include <collections/linked_list.h>
|
||||
#include <utils/identification.h>
|
||||
|
||||
ENUM(cert_policy_names, CERT_ALWAYS_SEND, CERT_NEVER_SEND,
|
||||
|
|
|
@ -29,7 +29,7 @@ typedef struct peer_cfg_t peer_cfg_t;
|
|||
|
||||
#include <library.h>
|
||||
#include <utils/identification.h>
|
||||
#include <utils/enumerator.h>
|
||||
#include <collections/enumerator.h>
|
||||
#include <selectors/traffic_selector.h>
|
||||
#include <config/proposal.h>
|
||||
#include <config/ike_cfg.h>
|
||||
|
|
|
@ -19,7 +19,7 @@
|
|||
#include "proposal.h"
|
||||
|
||||
#include <daemon.h>
|
||||
#include <utils/linked_list.h>
|
||||
#include <collections/linked_list.h>
|
||||
#include <utils/identification.h>
|
||||
|
||||
#include <crypto/transform.h>
|
||||
|
|
|
@ -27,7 +27,7 @@ typedef struct proposal_t proposal_t;
|
|||
|
||||
#include <library.h>
|
||||
#include <utils/identification.h>
|
||||
#include <utils/linked_list.h>
|
||||
#include <collections/linked_list.h>
|
||||
#include <networking/host.h>
|
||||
#include <crypto/transform.h>
|
||||
#include <crypto/crypters/crypter.h>
|
||||
|
|
|
@ -24,7 +24,7 @@
|
|||
|
||||
#include <library.h>
|
||||
#include <daemon.h>
|
||||
#include <utils/linked_list.h>
|
||||
#include <collections/linked_list.h>
|
||||
#include <encoding/payloads/payload.h>
|
||||
#include <encoding/payloads/proposal_substructure.h>
|
||||
#include <encoding/payloads/transform_substructure.h>
|
||||
|
|
|
@ -32,7 +32,7 @@ typedef struct message_t message_t;
|
|||
#include <sa/keymat.h>
|
||||
#include <sa/ike_sa_id.h>
|
||||
#include <networking/packet.h>
|
||||
#include <utils/linked_list.h>
|
||||
#include <collections/linked_list.h>
|
||||
|
||||
/**
|
||||
* This class is used to represent an IKE-Message.
|
||||
|
|
|
@ -22,7 +22,7 @@
|
|||
|
||||
#include <library.h>
|
||||
#include <daemon.h>
|
||||
#include <utils/linked_list.h>
|
||||
#include <collections/linked_list.h>
|
||||
#include <encoding/payloads/encodings.h>
|
||||
#include <encoding/payloads/payload.h>
|
||||
#include <encoding/payloads/sa_payload.h>
|
||||
|
|
|
@ -20,7 +20,7 @@
|
|||
#include "cp_payload.h"
|
||||
|
||||
#include <encoding/payloads/encodings.h>
|
||||
#include <utils/linked_list.h>
|
||||
#include <collections/linked_list.h>
|
||||
|
||||
ENUM(config_type_names, CFG_REQUEST, CFG_ACK,
|
||||
"CFG_REQUEST",
|
||||
|
|
|
@ -28,7 +28,7 @@ typedef struct cp_payload_t cp_payload_t;
|
|||
#include <library.h>
|
||||
#include <encoding/payloads/payload.h>
|
||||
#include <encoding/payloads/configuration_attribute.h>
|
||||
#include <utils/enumerator.h>
|
||||
#include <collections/enumerator.h>
|
||||
|
||||
/**
|
||||
* Config Type of an Configuration Payload.
|
||||
|
|
|
@ -23,7 +23,7 @@
|
|||
|
||||
#include <daemon.h>
|
||||
#include <encoding/payloads/encodings.h>
|
||||
#include <utils/linked_list.h>
|
||||
#include <collections/linked_list.h>
|
||||
#include <encoding/generator.h>
|
||||
#include <encoding/parser.h>
|
||||
|
||||
|
|
|
@ -27,7 +27,7 @@ typedef struct ke_payload_t ke_payload_t;
|
|||
#include <library.h>
|
||||
#include <encoding/payloads/payload.h>
|
||||
#include <encoding/payloads/transform_substructure.h>
|
||||
#include <utils/linked_list.h>
|
||||
#include <collections/linked_list.h>
|
||||
#include <crypto/diffie_hellman.h>
|
||||
|
||||
/**
|
||||
|
|
|
@ -30,7 +30,7 @@ typedef struct notify_payload_t notify_payload_t;
|
|||
#include <library.h>
|
||||
#include <encoding/payloads/payload.h>
|
||||
#include <encoding/payloads/proposal_substructure.h>
|
||||
#include <utils/linked_list.h>
|
||||
#include <collections/linked_list.h>
|
||||
|
||||
/**
|
||||
* Notify message types for IKEv2, and a subset for IKEv1.
|
||||
|
|
|
@ -22,7 +22,7 @@
|
|||
#include <encoding/payloads/encodings.h>
|
||||
#include <encoding/payloads/transform_substructure.h>
|
||||
#include <library.h>
|
||||
#include <utils/linked_list.h>
|
||||
#include <collections/linked_list.h>
|
||||
#include <daemon.h>
|
||||
|
||||
/**
|
||||
|
|
|
@ -29,7 +29,7 @@ typedef struct proposal_substructure_t proposal_substructure_t;
|
|||
#include <encoding/payloads/payload.h>
|
||||
#include <encoding/payloads/transform_substructure.h>
|
||||
#include <config/proposal.h>
|
||||
#include <utils/linked_list.h>
|
||||
#include <collections/linked_list.h>
|
||||
#include <kernel/kernel_ipsec.h>
|
||||
#include <sa/authenticator.h>
|
||||
|
||||
|
|
|
@ -20,7 +20,7 @@
|
|||
#include "sa_payload.h"
|
||||
|
||||
#include <encoding/payloads/encodings.h>
|
||||
#include <utils/linked_list.h>
|
||||
#include <collections/linked_list.h>
|
||||
#include <daemon.h>
|
||||
|
||||
/* IKEv1 situation */
|
||||
|
|
|
@ -27,7 +27,7 @@ typedef struct sa_payload_t sa_payload_t;
|
|||
#include <library.h>
|
||||
#include <encoding/payloads/payload.h>
|
||||
#include <encoding/payloads/proposal_substructure.h>
|
||||
#include <utils/linked_list.h>
|
||||
#include <collections/linked_list.h>
|
||||
#include <kernel/kernel_ipsec.h>
|
||||
#include <sa/authenticator.h>
|
||||
|
||||
|
|
|
@ -18,7 +18,7 @@
|
|||
#include "traffic_selector_substructure.h"
|
||||
|
||||
#include <encoding/payloads/encodings.h>
|
||||
#include <utils/linked_list.h>
|
||||
#include <collections/linked_list.h>
|
||||
|
||||
typedef struct private_traffic_selector_substructure_t private_traffic_selector_substructure_t;
|
||||
|
||||
|
|
|
@ -22,7 +22,7 @@
|
|||
#include <encoding/payloads/transform_attribute.h>
|
||||
#include <encoding/payloads/encodings.h>
|
||||
#include <library.h>
|
||||
#include <utils/linked_list.h>
|
||||
#include <collections/linked_list.h>
|
||||
#include <daemon.h>
|
||||
|
||||
typedef struct private_transform_substructure_t private_transform_substructure_t;
|
||||
|
|
|
@ -27,7 +27,7 @@ typedef struct transform_substructure_t transform_substructure_t;
|
|||
#include <library.h>
|
||||
#include <encoding/payloads/payload.h>
|
||||
#include <encoding/payloads/transform_attribute.h>
|
||||
#include <utils/linked_list.h>
|
||||
#include <collections/linked_list.h>
|
||||
#include <crypto/diffie_hellman.h>
|
||||
#include <crypto/signers/signer.h>
|
||||
#include <crypto/prfs/prf.h>
|
||||
|
|
|
@ -20,7 +20,7 @@
|
|||
#include "ts_payload.h"
|
||||
|
||||
#include <encoding/payloads/encodings.h>
|
||||
#include <utils/linked_list.h>
|
||||
#include <collections/linked_list.h>
|
||||
|
||||
typedef struct private_ts_payload_t private_ts_payload_t;
|
||||
|
||||
|
|
|
@ -25,7 +25,7 @@
|
|||
typedef struct ts_payload_t ts_payload_t;
|
||||
|
||||
#include <library.h>
|
||||
#include <utils/linked_list.h>
|
||||
#include <collections/linked_list.h>
|
||||
#include <selectors/traffic_selector.h>
|
||||
#include <encoding/payloads/payload.h>
|
||||
#include <encoding/payloads/traffic_selector_substructure.h>
|
||||
|
|
|
@ -28,7 +28,7 @@ typedef struct socket_t socket_t;
|
|||
|
||||
#include <library.h>
|
||||
#include <networking/packet.h>
|
||||
#include <utils/enumerator.h>
|
||||
#include <collections/enumerator.h>
|
||||
#include <plugins/plugin.h>
|
||||
|
||||
/**
|
||||
|
|
|
@ -20,7 +20,7 @@
|
|||
#include <daemon.h>
|
||||
#include <threading/thread.h>
|
||||
#include <threading/rwlock.h>
|
||||
#include <utils/linked_list.h>
|
||||
#include <collections/linked_list.h>
|
||||
|
||||
typedef struct private_socket_manager_t private_socket_manager_t;
|
||||
|
||||
|
|
|
@ -17,7 +17,7 @@
|
|||
#include "android_handler.h"
|
||||
|
||||
#include <networking/host.h>
|
||||
#include <utils/linked_list.h>
|
||||
#include <collections/linked_list.h>
|
||||
|
||||
#include <cutils/properties.h>
|
||||
|
||||
|
|
|
@ -23,7 +23,7 @@
|
|||
|
||||
#include <debug.h>
|
||||
#include <daemon.h>
|
||||
#include <utils/hashtable.h>
|
||||
#include <collections/hashtable.h>
|
||||
#include <threading/mutex.h>
|
||||
#include <credentials/certificates/x509.h>
|
||||
|
||||
|
|
|
@ -23,7 +23,7 @@
|
|||
|
||||
typedef struct certexpire_export_t certexpire_export_t;
|
||||
|
||||
#include <utils/linked_list.h>
|
||||
#include <collections/linked_list.h>
|
||||
|
||||
/**
|
||||
* Caches and exports trustchain information to CSV files.
|
||||
|
|
|
@ -15,7 +15,7 @@
|
|||
|
||||
#include "dhcp_provider.h"
|
||||
|
||||
#include <utils/hashtable.h>
|
||||
#include <collections/hashtable.h>
|
||||
#include <threading/mutex.h>
|
||||
|
||||
typedef struct private_dhcp_provider_t private_dhcp_provider_t;
|
||||
|
|
|
@ -25,7 +25,7 @@
|
|||
#include <linux/if_ether.h>
|
||||
#include <linux/filter.h>
|
||||
|
||||
#include <utils/linked_list.h>
|
||||
#include <collections/linked_list.h>
|
||||
#include <utils/identification.h>
|
||||
#include <threading/mutex.h>
|
||||
#include <threading/condvar.h>
|
||||
|
|
|
@ -15,7 +15,7 @@
|
|||
|
||||
#include "dhcp_transaction.h"
|
||||
|
||||
#include <utils/linked_list.h>
|
||||
#include <collections/linked_list.h>
|
||||
|
||||
typedef struct private_dhcp_transaction_t private_dhcp_transaction_t;
|
||||
|
||||
|
|
|
@ -17,7 +17,7 @@
|
|||
|
||||
#include <daemon.h>
|
||||
#include <threading/mutex.h>
|
||||
#include <utils/hashtable.h>
|
||||
#include <collections/hashtable.h>
|
||||
#include <encoding/payloads/delete_payload.h>
|
||||
#include <processing/jobs/delete_ike_sa_job.h>
|
||||
|
||||
|
|
|
@ -25,7 +25,7 @@
|
|||
#include <daemon.h>
|
||||
#include <threading/mutex.h>
|
||||
#include <threading/thread.h>
|
||||
#include <utils/linked_list.h>
|
||||
#include <collections/linked_list.h>
|
||||
#include <processing/jobs/callback_job.h>
|
||||
|
||||
#define DUPLICHECK_SOCKET IPSEC_PIDDIR "/charon.dck"
|
||||
|
|
|
@ -21,7 +21,7 @@
|
|||
|
||||
#include <daemon.h>
|
||||
#include <library.h>
|
||||
#include <utils/enumerator.h>
|
||||
#include <collections/enumerator.h>
|
||||
#include <crypto/crypters/crypter.h>
|
||||
#include <crypto/hashers/hasher.h>
|
||||
|
||||
|
|
|
@ -21,7 +21,7 @@
|
|||
#include <radius_message.h>
|
||||
#include <radius_client.h>
|
||||
#include <daemon.h>
|
||||
#include <utils/hashtable.h>
|
||||
#include <collections/hashtable.h>
|
||||
#include <threading/mutex.h>
|
||||
|
||||
typedef struct private_eap_radius_accounting_t private_eap_radius_accounting_t;
|
||||
|
|
|
@ -16,8 +16,8 @@
|
|||
#include "eap_radius_forward.h"
|
||||
|
||||
#include <daemon.h>
|
||||
#include <utils/linked_list.h>
|
||||
#include <utils/hashtable.h>
|
||||
#include <collections/linked_list.h>
|
||||
#include <collections/hashtable.h>
|
||||
#include <threading/mutex.h>
|
||||
|
||||
typedef struct private_eap_radius_forward_t private_eap_radius_forward_t;
|
||||
|
|
|
@ -19,7 +19,7 @@
|
|||
#include <errno.h>
|
||||
|
||||
#include <daemon.h>
|
||||
#include <utils/linked_list.h>
|
||||
#include <collections/linked_list.h>
|
||||
#include <threading/mutex.h>
|
||||
#include <simaka_manager.h>
|
||||
|
||||
|
|
|
@ -21,7 +21,7 @@
|
|||
#ifndef EAP_SIM_FILE_TRIPLETS_H_
|
||||
#define EAP_SIM_FILE_TRIPLETS_H_
|
||||
|
||||
#include <utils/enumerator.h>
|
||||
#include <collections/enumerator.h>
|
||||
|
||||
typedef struct eap_sim_file_triplets_t eap_sim_file_triplets_t;
|
||||
|
||||
|
|
|
@ -16,7 +16,7 @@
|
|||
#include "eap_simaka_pseudonym_card.h"
|
||||
|
||||
#include <daemon.h>
|
||||
#include <utils/hashtable.h>
|
||||
#include <collections/hashtable.h>
|
||||
|
||||
typedef struct private_eap_simaka_pseudonym_card_t private_eap_simaka_pseudonym_card_t;
|
||||
|
||||
|
|
|
@ -16,7 +16,7 @@
|
|||
#include "eap_simaka_pseudonym_provider.h"
|
||||
|
||||
#include <debug.h>
|
||||
#include <utils/hashtable.h>
|
||||
#include <collections/hashtable.h>
|
||||
|
||||
typedef struct private_eap_simaka_pseudonym_provider_t private_eap_simaka_pseudonym_provider_t;
|
||||
|
||||
|
|
|
@ -16,7 +16,7 @@
|
|||
#include "eap_simaka_reauth_card.h"
|
||||
|
||||
#include <daemon.h>
|
||||
#include <utils/hashtable.h>
|
||||
#include <collections/hashtable.h>
|
||||
|
||||
typedef struct private_eap_simaka_reauth_card_t private_eap_simaka_reauth_card_t;
|
||||
|
||||
|
|
|
@ -16,7 +16,7 @@
|
|||
#include "eap_simaka_reauth_provider.h"
|
||||
|
||||
#include <daemon.h>
|
||||
#include <utils/hashtable.h>
|
||||
#include <collections/hashtable.h>
|
||||
|
||||
typedef struct private_eap_simaka_reauth_provider_t private_eap_simaka_reauth_provider_t;
|
||||
|
||||
|
|
|
@ -15,7 +15,7 @@
|
|||
|
||||
#include "farp_listener.h"
|
||||
|
||||
#include <utils/linked_list.h>
|
||||
#include <collections/linked_list.h>
|
||||
#include <threading/rwlock.h>
|
||||
|
||||
typedef struct private_farp_listener_t private_farp_listener_t;
|
||||
|
|
|
@ -15,7 +15,7 @@
|
|||
|
||||
#include "ha_attribute.h"
|
||||
|
||||
#include <utils/linked_list.h>
|
||||
#include <collections/linked_list.h>
|
||||
#include <threading/mutex.h>
|
||||
|
||||
typedef struct private_ha_attribute_t private_ha_attribute_t;
|
||||
|
|
|
@ -15,8 +15,8 @@
|
|||
|
||||
#include "ha_cache.h"
|
||||
|
||||
#include <utils/hashtable.h>
|
||||
#include <utils/linked_list.h>
|
||||
#include <collections/hashtable.h>
|
||||
#include <collections/linked_list.h>
|
||||
#include <threading/mutex.h>
|
||||
#include <processing/jobs/callback_job.h>
|
||||
|
||||
|
|
|
@ -27,7 +27,7 @@ typedef struct ha_cache_t ha_cache_t;
|
|||
#include "ha_kernel.h"
|
||||
#include "ha_socket.h"
|
||||
|
||||
#include <utils/enumerator.h>
|
||||
#include <collections/enumerator.h>
|
||||
|
||||
#include <sa/ike_sa.h>
|
||||
|
||||
|
|
|
@ -17,7 +17,7 @@
|
|||
|
||||
#include <threading/mutex.h>
|
||||
#include <threading/condvar.h>
|
||||
#include <utils/linked_list.h>
|
||||
#include <collections/linked_list.h>
|
||||
#include <threading/thread.h>
|
||||
#include <processing/jobs/callback_job.h>
|
||||
|
||||
|
|
|
@ -16,8 +16,8 @@
|
|||
#include "lookip_listener.h"
|
||||
|
||||
#include <daemon.h>
|
||||
#include <utils/hashtable.h>
|
||||
#include <utils/linked_list.h>
|
||||
#include <collections/hashtable.h>
|
||||
#include <collections/linked_list.h>
|
||||
#include <threading/rwlock.h>
|
||||
|
||||
typedef struct private_lookip_listener_t private_lookip_listener_t;
|
||||
|
|
|
@ -25,7 +25,7 @@
|
|||
#include <daemon.h>
|
||||
#include <threading/thread.h>
|
||||
#include <threading/mutex.h>
|
||||
#include <utils/linked_list.h>
|
||||
#include <collections/linked_list.h>
|
||||
#include <processing/jobs/callback_job.h>
|
||||
|
||||
#include "lookip_msg.h"
|
||||
|
|
|
@ -17,7 +17,7 @@
|
|||
|
||||
#include <daemon.h>
|
||||
#include <library.h>
|
||||
#include <utils/enumerator.h>
|
||||
#include <collections/enumerator.h>
|
||||
|
||||
typedef struct private_medcli_creds_t private_medcli_creds_t;
|
||||
|
||||
|
|
|
@ -17,7 +17,7 @@
|
|||
|
||||
#include <daemon.h>
|
||||
#include <library.h>
|
||||
#include <utils/enumerator.h>
|
||||
#include <collections/enumerator.h>
|
||||
|
||||
typedef struct private_medsrv_creds_t private_medsrv_creds_t;
|
||||
|
||||
|
|
|
@ -40,7 +40,7 @@
|
|||
#include <daemon.h>
|
||||
#include <threading/thread.h>
|
||||
#include <threading/rwlock.h>
|
||||
#include <utils/hashtable.h>
|
||||
#include <collections/hashtable.h>
|
||||
|
||||
/* Maximum size of a packet */
|
||||
#define MAX_PACKET 10000
|
||||
|
|
|
@ -17,7 +17,7 @@
|
|||
#include "stroke_attribute.h"
|
||||
|
||||
#include <daemon.h>
|
||||
#include <utils/linked_list.h>
|
||||
#include <collections/linked_list.h>
|
||||
#include <threading/rwlock.h>
|
||||
|
||||
typedef struct private_stroke_attribute_t private_stroke_attribute_t;
|
||||
|
|
|
@ -18,7 +18,7 @@
|
|||
#include "stroke_cred.h"
|
||||
|
||||
#include <threading/rwlock.h>
|
||||
#include <utils/linked_list.h>
|
||||
#include <collections/linked_list.h>
|
||||
#include <crypto/hashers/hasher.h>
|
||||
|
||||
#include <daemon.h>
|
||||
|
|
|
@ -34,7 +34,7 @@
|
|||
#include <credentials/certificates/ac.h>
|
||||
#include <credentials/sets/mem_cred.h>
|
||||
#include <credentials/sets/callback_cred.h>
|
||||
#include <utils/linked_list.h>
|
||||
#include <collections/linked_list.h>
|
||||
#include <utils/lexparser.h>
|
||||
#include <threading/rwlock.h>
|
||||
#include <daemon.h>
|
||||
|
|
|
@ -27,7 +27,7 @@
|
|||
#include <stroke_msg.h>
|
||||
#include <credentials/credential_set.h>
|
||||
#include <credentials/certificates/certificate.h>
|
||||
#include <utils/linked_list.h>
|
||||
#include <collections/linked_list.h>
|
||||
|
||||
typedef struct stroke_cred_t stroke_cred_t;
|
||||
|
||||
|
|
|
@ -16,7 +16,7 @@
|
|||
#include "stroke_handler.h"
|
||||
|
||||
#include <daemon.h>
|
||||
#include <utils/linked_list.h>
|
||||
#include <collections/linked_list.h>
|
||||
#include <threading/rwlock.h>
|
||||
|
||||
typedef struct private_stroke_handler_t private_stroke_handler_t;
|
||||
|
|
|
@ -25,7 +25,7 @@
|
|||
|
||||
#include <hydra.h>
|
||||
#include <daemon.h>
|
||||
#include <utils/linked_list.h>
|
||||
#include <collections/linked_list.h>
|
||||
#include <plugins/plugin.h>
|
||||
#include <credentials/certificates/x509.h>
|
||||
#include <credentials/certificates/ac.h>
|
||||
|
|
|
@ -29,7 +29,7 @@
|
|||
#include <threading/mutex.h>
|
||||
#include <threading/thread.h>
|
||||
#include <threading/condvar.h>
|
||||
#include <utils/linked_list.h>
|
||||
#include <collections/linked_list.h>
|
||||
#include <processing/jobs/callback_job.h>
|
||||
|
||||
#include "stroke_config.h"
|
||||
|
|
|
@ -22,7 +22,7 @@
|
|||
|
||||
#include <debug.h>
|
||||
#include <library.h>
|
||||
#include <utils/linked_list.h>
|
||||
#include <collections/linked_list.h>
|
||||
#include <threading/mutex.h>
|
||||
|
||||
typedef struct private_tnc_imc_t private_tnc_imc_t;
|
||||
|
|
|
@ -19,7 +19,7 @@
|
|||
|
||||
#include <tncifimc.h>
|
||||
|
||||
#include <utils/linked_list.h>
|
||||
#include <collections/linked_list.h>
|
||||
#include <debug.h>
|
||||
#include <daemon.h>
|
||||
|
||||
|
|
|
@ -22,7 +22,7 @@
|
|||
|
||||
#include <debug.h>
|
||||
#include <library.h>
|
||||
#include <utils/linked_list.h>
|
||||
#include <collections/linked_list.h>
|
||||
#include <threading/mutex.h>
|
||||
|
||||
typedef struct private_tnc_imv_t private_tnc_imv_t;
|
||||
|
|
|
@ -22,7 +22,7 @@
|
|||
#include <tnc/imv/imv_recommendations.h>
|
||||
|
||||
#include <debug.h>
|
||||
#include <utils/linked_list.h>
|
||||
#include <collections/linked_list.h>
|
||||
|
||||
typedef struct private_tnc_imv_recommendations_t private_tnc_imv_recommendations_t;
|
||||
typedef struct recommendation_entry_t recommendation_entry_t;
|
||||
|
|
|
@ -23,7 +23,7 @@
|
|||
#define TNC_IMV_RECOMMENDATIONS_H_
|
||||
|
||||
#include <tnc/imv/imv_recommendations.h>
|
||||
#include <utils/linked_list.h>
|
||||
#include <collections/linked_list.h>
|
||||
|
||||
/**
|
||||
* Create an IMV empty recommendations instance
|
||||
|
|
|
@ -15,7 +15,7 @@
|
|||
|
||||
#include "tnc_pdp_connections.h"
|
||||
|
||||
#include <utils/linked_list.h>
|
||||
#include <collections/linked_list.h>
|
||||
#include <debug.h>
|
||||
|
||||
typedef struct private_tnc_pdp_connections_t private_tnc_pdp_connections_t;
|
||||
|
|
|
@ -21,7 +21,7 @@
|
|||
#include <tnc/imv/imv_manager.h>
|
||||
|
||||
#include <debug.h>
|
||||
#include <utils/linked_list.h>
|
||||
#include <collections/linked_list.h>
|
||||
#include <threading/rwlock.h>
|
||||
|
||||
typedef struct private_tnc_tnccs_manager_t private_tnc_tnccs_manager_t;
|
||||
|
@ -454,7 +454,7 @@ METHOD(tnccs_manager_t, get_attribute, TNC_Result,
|
|||
enumerator_t *enumerator;
|
||||
tnccs_connection_entry_t *entry;
|
||||
bool attribute_match = FALSE, entry_found = FALSE;
|
||||
|
||||
|
||||
if (is_imc)
|
||||
{
|
||||
switch (attribute_id)
|
||||
|
@ -520,7 +520,7 @@ METHOD(tnccs_manager_t, get_attribute, TNC_Result,
|
|||
return TNC_RESULT_INVALID_PARAMETER;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
/* attributes specific to the TNCC or TNCS are unsupported */
|
||||
if (id == TNC_CONNECTIONID_ANY)
|
||||
{
|
||||
|
@ -577,10 +577,10 @@ METHOD(tnccs_manager_t, get_attribute, TNC_Result,
|
|||
entry->max_msg_len);
|
||||
case TNC_ATTRIBUTEID_HAS_LONG_TYPES:
|
||||
case TNC_ATTRIBUTEID_HAS_EXCLUSIVE:
|
||||
return bool_attribute(buffer_len, buffer, value_len,
|
||||
return bool_attribute(buffer_len, buffer, value_len,
|
||||
entry->type == TNCCS_2_0);
|
||||
case TNC_ATTRIBUTEID_HAS_SOH:
|
||||
return bool_attribute(buffer_len, buffer, value_len,
|
||||
return bool_attribute(buffer_len, buffer, value_len,
|
||||
entry->type == TNCCS_SOH);
|
||||
case TNC_ATTRIBUTEID_IFTNCCS_PROTOCOL:
|
||||
{
|
||||
|
|
|
@ -18,7 +18,7 @@
|
|||
|
||||
#include <tnc/tnccs/tnccs.h>
|
||||
|
||||
#include <utils/linked_list.h>
|
||||
#include <collections/linked_list.h>
|
||||
#include <debug.h>
|
||||
|
||||
#include <libxml/parser.h>
|
||||
|
|
|
@ -25,7 +25,7 @@ typedef enum tnccs_msg_type_t tnccs_msg_type_t;
|
|||
typedef struct tnccs_msg_t tnccs_msg_t;
|
||||
|
||||
#include <library.h>
|
||||
#include <utils/linked_list.h>
|
||||
#include <collections/linked_list.h>
|
||||
#include <libxml/parser.h>
|
||||
|
||||
/**
|
||||
|
|
|
@ -20,7 +20,7 @@
|
|||
|
||||
#include <tnc/tnccs/tnccs.h>
|
||||
|
||||
#include <utils/linked_list.h>
|
||||
#include <collections/linked_list.h>
|
||||
#include <bio/bio_writer.h>
|
||||
#include <bio/bio_reader.h>
|
||||
#include <pen/pen.h>
|
||||
|
@ -172,12 +172,12 @@ METHOD(pb_tnc_batch_t, build, void,
|
|||
bio_writer_t *writer;
|
||||
|
||||
/* build PB-TNC batch header */
|
||||
writer = bio_writer_create(this->batch_len);
|
||||
writer = bio_writer_create(this->batch_len);
|
||||
writer->write_uint8 (writer, PB_TNC_VERSION);
|
||||
writer->write_uint8 (writer, this->is_server ?
|
||||
PB_TNC_BATCH_FLAG_D : PB_TNC_BATCH_FLAG_NONE);
|
||||
writer->write_uint16(writer, this->type);
|
||||
writer->write_uint32(writer, this->batch_len);
|
||||
writer->write_uint32(writer, this->batch_len);
|
||||
|
||||
/* build PB-TNC messages */
|
||||
enumerator = this->messages->create_enumerator(this->messages);
|
||||
|
@ -297,7 +297,7 @@ static status_t process_batch_header(private_pb_tnc_batch_t *this,
|
|||
|
||||
fatal:
|
||||
this->errors->insert_last(this->errors, msg);
|
||||
return FAILED;
|
||||
return FAILED;
|
||||
}
|
||||
|
||||
static status_t process_tnc_msg(private_pb_tnc_batch_t *this)
|
||||
|
@ -329,7 +329,7 @@ static status_t process_tnc_msg(private_pb_tnc_batch_t *this)
|
|||
reader->destroy(reader);
|
||||
|
||||
noskip_flag = (flags & PB_TNC_FLAG_NOSKIP) != PB_TNC_FLAG_NONE;
|
||||
|
||||
|
||||
if (msg_len > data.len)
|
||||
{
|
||||
DBG1(DBG_TNC, "%u bytes insufficient to parse PB-TNC message", data.len);
|
||||
|
@ -455,7 +455,7 @@ static status_t process_tnc_msg(private_pb_tnc_batch_t *this)
|
|||
|
||||
fatal:
|
||||
this->errors->insert_last(this->errors, msg);
|
||||
return FAILED;
|
||||
return FAILED;
|
||||
}
|
||||
|
||||
METHOD(pb_tnc_batch_t, process, status_t,
|
||||
|
|
|
@ -37,7 +37,7 @@
|
|||
#include <debug.h>
|
||||
#include <daemon.h>
|
||||
#include <threading/mutex.h>
|
||||
#include <utils/linked_list.h>
|
||||
#include <collections/linked_list.h>
|
||||
#include <pen/pen.h>
|
||||
|
||||
typedef struct private_tnccs_20_t private_tnccs_20_t;
|
||||
|
|
|
@ -22,7 +22,7 @@
|
|||
#ifndef UCI_PARSER_H_
|
||||
#define UCI_PARSER_H_
|
||||
|
||||
#include <utils/enumerator.h>
|
||||
#include <collections/enumerator.h>
|
||||
|
||||
typedef struct uci_parser_t uci_parser_t;
|
||||
|
||||
|
|
|
@ -13,7 +13,7 @@
|
|||
* for more details.
|
||||
*/
|
||||
|
||||
#include <utils/linked_list.h>
|
||||
#include <collections/linked_list.h>
|
||||
|
||||
|
||||
/*******************************************************************************
|
||||
|
|
|
@ -14,7 +14,7 @@
|
|||
*/
|
||||
|
||||
#include <library.h>
|
||||
#include <utils/hashtable.h>
|
||||
#include <collections/hashtable.h>
|
||||
|
||||
static u_int hash(char *key)
|
||||
{
|
||||
|
|
|
@ -15,7 +15,7 @@
|
|||
|
||||
#include <library.h>
|
||||
#include <daemon.h>
|
||||
#include <utils/enumerator.h>
|
||||
#include <collections/enumerator.h>
|
||||
|
||||
#include <unistd.h>
|
||||
|
||||
|
|
|
@ -15,7 +15,7 @@
|
|||
|
||||
#include <library.h>
|
||||
#include <daemon.h>
|
||||
#include <utils/enumerator.h>
|
||||
#include <collections/enumerator.h>
|
||||
|
||||
/*******************************************************************************
|
||||
* mysql simple test
|
||||
|
|
|
@ -15,7 +15,7 @@
|
|||
|
||||
#include <library.h>
|
||||
#include <daemon.h>
|
||||
#include <utils/enumerator.h>
|
||||
#include <collections/enumerator.h>
|
||||
|
||||
#include <unistd.h>
|
||||
|
||||
|
|
|
@ -17,7 +17,7 @@
|
|||
|
||||
#include <daemon.h>
|
||||
#include <threading/mutex.h>
|
||||
#include <utils/linked_list.h>
|
||||
#include <collections/linked_list.h>
|
||||
#include <processing/jobs/callback_job.h>
|
||||
|
||||
typedef struct private_unity_handler_t private_unity_handler_t;
|
||||
|
|
|
@ -16,7 +16,7 @@
|
|||
#include "updown_handler.h"
|
||||
|
||||
#include <daemon.h>
|
||||
#include <utils/linked_list.h>
|
||||
#include <collections/linked_list.h>
|
||||
#include <threading/rwlock.h>
|
||||
|
||||
typedef struct private_updown_handler_t private_updown_handler_t;
|
||||
|
|
|
@ -16,7 +16,7 @@
|
|||
#include "whitelist_listener.h"
|
||||
|
||||
#include <daemon.h>
|
||||
#include <utils/hashtable.h>
|
||||
#include <collections/hashtable.h>
|
||||
#include <threading/rwlock.h>
|
||||
|
||||
typedef struct private_whitelist_listener_t private_whitelist_listener_t;
|
||||
|
|
|
@ -26,7 +26,7 @@ typedef struct mediation_job_t mediation_job_t;
|
|||
#include <library.h>
|
||||
#include <processing/jobs/job.h>
|
||||
#include <utils/identification.h>
|
||||
#include <utils/linked_list.h>
|
||||
#include <collections/linked_list.h>
|
||||
|
||||
/**
|
||||
* Class representing a MEDIATION Job.
|
||||
|
|
|
@ -16,7 +16,7 @@
|
|||
|
||||
#include "eap_manager.h"
|
||||
|
||||
#include <utils/linked_list.h>
|
||||
#include <collections/linked_list.h>
|
||||
#include <threading/rwlock.h>
|
||||
|
||||
typedef struct private_eap_manager_t private_eap_manager_t;
|
||||
|
|
|
@ -26,7 +26,7 @@
|
|||
#include <library.h>
|
||||
#include <hydra.h>
|
||||
#include <daemon.h>
|
||||
#include <utils/linked_list.h>
|
||||
#include <collections/linked_list.h>
|
||||
#include <utils/lexparser.h>
|
||||
#include <processing/jobs/retransmit_job.h>
|
||||
#include <processing/jobs/delete_ike_sa_job.h>
|
||||
|
|
|
@ -26,7 +26,7 @@
|
|||
#include <threading/condvar.h>
|
||||
#include <threading/mutex.h>
|
||||
#include <threading/rwlock.h>
|
||||
#include <utils/linked_list.h>
|
||||
#include <collections/linked_list.h>
|
||||
#include <crypto/hashers/hasher.h>
|
||||
|
||||
/* the default size of the hash table (MUST be a power of 2) */
|
||||
|
|
|
@ -18,7 +18,7 @@
|
|||
#include <daemon.h>
|
||||
#include <encoding/generator.h>
|
||||
#include <encoding/payloads/nonce_payload.h>
|
||||
#include <utils/linked_list.h>
|
||||
#include <collections/linked_list.h>
|
||||
|
||||
typedef struct private_keymat_v1_t private_keymat_v1_t;
|
||||
|
||||
|
|
|
@ -22,7 +22,7 @@
|
|||
#include <sa/ikev1/keymat_v1.h>
|
||||
#include <encoding/payloads/ke_payload.h>
|
||||
#include <encoding/payloads/nonce_payload.h>
|
||||
#include <utils/linked_list.h>
|
||||
#include <collections/linked_list.h>
|
||||
|
||||
typedef struct private_phase1_t private_phase1_t;
|
||||
|
||||
|
|
|
@ -19,7 +19,7 @@
|
|||
|
||||
#include <daemon.h>
|
||||
#include <threading/mutex.h>
|
||||
#include <utils/linked_list.h>
|
||||
#include <collections/linked_list.h>
|
||||
#include <crypto/hashers/hasher.h>
|
||||
|
||||
#include <processing/jobs/callback_job.h>
|
||||
|
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in New Issue