#include <pthread.h>
#include <netinet/in.h>
#include <stdio.h>
Go to the source code of this file.
Variables | |
pthread_mutex_t | mutex_cfg |
pthread_mutex_t | mutex_file |
pthread_mutex_t | mutex_Lower_Layer_Details |
pthread_mutex_t | mutex_Upper_Layer_Details |
pthread_mutex_t | mutex_status_change |
unsigned char * | cfgframe |
unsigned char * | dataframe |
struct sockaddr_in UDP_my_addr | TCP_my_addr |
struct sockaddr_in UL_UDP_addr | UL_TCP_addr |
int | UL_UDP_sockfd |
int | UL_TCP_sockfd |
pthread_t | UDP_thread |
pthread_t | TCP_thread |
pthread_t | p_thread |
FILE * | fp_log |
FILE * | fp_updc |
char | tname [20] |
struct sockaddr_in | DB_Server_addr |
int | DB_sockfd |
int | DB_addr_len |
int | PDC_IDCODE |
int | TCPPORT |
int | UDPPORT |
char | dbserver_ip [20] |
unsigned char | DATASYNC [3] |
unsigned char | CFGSYNC [3] |
unsigned char | CMDSYNC [3] |
unsigned char | CMDDATASEND [3] |
unsigned char | CMDDATAOFF [3] |
unsigned char | CMDCFGSEND [3] |
unsigned char* cfgframe |
Definition at line 40 of file global.h.
Referenced by create_cfgframe(), UL_tcp_connection(), and UL_udp().
unsigned char CFGSYNC[3] |
Definition at line 58 of file global.h.
Referenced by create_cfgframe(), and recreate_cfg_objects().
unsigned char CMDCFGSEND[3] |
Definition at line 58 of file global.h.
Referenced by create_command_frame(), and recreate_cfg_objects().
unsigned char CMDDATAOFF[3] |
Definition at line 58 of file global.h.
Referenced by create_command_frame(), and recreate_cfg_objects().
unsigned char CMDDATASEND[3] |
Definition at line 58 of file global.h.
Referenced by create_command_frame(), and recreate_cfg_objects().
unsigned char CMDSYNC[3] |
Definition at line 58 of file global.h.
Referenced by create_command_frame(), and recreate_cfg_objects().
unsigned char * dataframe |
Definition at line 40 of file global.h.
Referenced by create_dataframe(), and dispatch().
unsigned char DATASYNC[3] |
Definition at line 58 of file global.h.
Referenced by create_dataframe(), and recreate_cfg_objects().
int DB_addr_len |
struct sockaddr_in DB_Server_addr |
Definition at line 52 of file global.h.
Referenced by connect_pmu_tcp(), connect_pmu_udp(), and recreate_cfg_objects().
int DB_sockfd |
Definition at line 53 of file global.h.
Referenced by connect_pmu_tcp(), connect_pmu_udp(), and recreate_cfg_objects().
char dbserver_ip[20] |
Definition at line 56 of file global.h.
Referenced by fill_pdc_details(), recreate_cfg_objects(), and validation_pdc_detail().
FILE* fp_log |
Definition at line 47 of file global.h.
Referenced by add_id_to_status_change_list(), assign_df_to_TSB(), cfgparser(), check_statword(), clear_TSB(), connect_pmu_tcp(), connect_pmu_udp(), create_cfgframe(), create_command_frame(), create_dataframe(), dataparser(), dispatch(), free_cfgframe_object(), free_dataframe_object(), init_cfgparser(), main(), PMU_process_TCP(), PMU_process_UDP(), put_data_transmission_off(), remove_cfg_from_file(), remove_id_from_status_change_list(), remove_llnode(), remove_Lower_Node(), remove_old_cfg(), sort_data_inside_TSB(), time_align(), UL_tcp(), UL_tcp_connection(), and UL_udp().
FILE * fp_updc |
Definition at line 47 of file global.h.
Referenced by validation_pdc_detail().
pthread_mutex_t mutex_cfg |
Definition at line 34 of file global.h.
Referenced by cfgparser(), dataparser(), recreate_cfg_objects(), and remove_llnode().
pthread_mutex_t mutex_file |
Definition at line 35 of file global.h.
Referenced by cfgparser(), recreate_cfg_objects(), and remove_llnode().
pthread_mutex_t mutex_Lower_Layer_Details |
Definition at line 36 of file global.h.
Referenced by add_PMU_Node(), configuration_request(), connect_pmu_udp(), display_CT(), put_data_transmission_off(), put_data_transmission_on(), recreate_cfg_objects(), and remove_llnode().
pthread_mutex_t mutex_status_change |
Definition at line 38 of file global.h.
Referenced by add_id_to_status_change_list(), recreate_cfg_objects(), and remove_id_from_status_change_list().
pthread_mutex_t mutex_Upper_Layer_Details |
Definition at line 37 of file global.h.
Referenced by add_PDC(), add_PMU(), config_request(), connect_pmu_tcp(), dispatch(), recreate_cfg_objects(), remove_Lower_Node(), remove_PDC(), UL_tcp(), UL_tcp_connection(), and UL_udp().
int PDC_IDCODE |
Definition at line 55 of file global.h.
Referenced by add_pmu_validation(), create_cfgframe(), create_dataframe(), fill_pdc_details(), and validation_pdc_detail().
struct sockaddr_in UDP_my_addr TCP_my_addr |
pthread_t TCP_thread |
int TCPPORT |
Definition at line 55 of file global.h.
Referenced by add_PDC(), add_pmu_validation(), dispatch(), fill_pdc_details(), remove_PDC(), setup(), UL_tcp(), and validation_pdc_detail().
pthread_t UDP_thread |
int UDPPORT |
Definition at line 55 of file global.h.
Referenced by add_PDC(), add_pmu_validation(), dispatch(), fill_pdc_details(), remove_PDC(), setup(), UL_udp(), and validation_pdc_detail().
struct sockaddr_in UL_UDP_addr UL_TCP_addr |
int UL_TCP_sockfd |