automotive-dlt
|
#include <dlt-daemon.h>
The flags of a dlt daemon.
Definition at line 87 of file dlt-daemon.h.
int DltDaemonFlags::aflag |
(Boolean) Print DLT messages; payload as ASCII
Definition at line 89 of file dlt-daemon.h.
Referenced by dlt_daemon_process_user_message_log(), and option_file_parser().
int DltDaemonFlags::autoResponseGetLogInfoOption |
(int) The Option of automatic get log info response during context registration. (Default: 7)
Definition at line 128 of file dlt-daemon.h.
Referenced by dlt_daemon_process_user_message_register_context(), and option_file_parser().
char DltDaemonFlags::bvalue[NAME_MAX+1] |
(String: Baudrate) Serial device baudrate (Default: 115200)
Definition at line 99 of file dlt-daemon.h.
Referenced by dlt_daemon_init_serial(), and option_file_parser().
int DltDaemonFlags::contextLogLevel |
(int) log level sent to context if registered with default log-level or if enforced
Definition at line 129 of file dlt-daemon.h.
Referenced by dlt_daemon_client_process_control(), dlt_daemon_local_init_p2(), and option_file_parser().
int DltDaemonFlags::contextTraceStatus |
(int) trace status sent to context if registered with default trace status or if enforced
Definition at line 130 of file dlt-daemon.h.
Referenced by dlt_daemon_client_process_control(), dlt_daemon_local_init_p2(), and option_file_parser().
char DltDaemonFlags::ctrlSockPath[DLT_DAEMON_FLAG_MAX] |
Path to Control socket
Definition at line 125 of file dlt-daemon.h.
Referenced by dlt_daemon_local_cleanup(), dlt_daemon_local_connection_init(), and option_file_parser().
char DltDaemonFlags::cvalue[NAME_MAX+1] |
(String: Directory) Filename of DLT configuration file (Default: /etc/dlt.conf)
Definition at line 102 of file dlt-daemon.h.
Referenced by option_file_parser(), and option_handling().
char DltDaemonFlags::daemonFifoName[NAME_MAX+1] |
(String: Filename) name of local fifo (Default: /tmp/dlt)
Definition at line 123 of file dlt-daemon.h.
Referenced by dlt_daemon_init_fifo(), dlt_daemon_local_cleanup(), and option_handling().
int DltDaemonFlags::dflag |
(Boolean) Daemonize
Definition at line 93 of file dlt-daemon.h.
Referenced by dlt_daemon_local_init_p1(), and option_handling().
int DltDaemonFlags::enforceContextLLAndTS |
(Boolean) Enforce log-level, trace-status not to exceed contextLogLevel, contextTraceStatus
Definition at line 131 of file dlt-daemon.h.
Referenced by dlt_daemon_client_process_control(), dlt_daemon_local_init_p2(), and option_file_parser().
char DltDaemonFlags::evalue[NAME_MAX+1] |
(String: ECU ID) Set ECU ID (Default: ECU1)
Definition at line 98 of file dlt-daemon.h.
Referenced by dlt_daemon_client_process_control(), dlt_daemon_local_init_p2(), dlt_daemon_process_user_message_log(), and option_file_parser().
char DltDaemonFlags::gatewayConfigFile[DLT_DAEMON_FLAG_MAX] |
Gateway config file path
Definition at line 127 of file dlt-daemon.h.
Referenced by dlt_gateway_init(), and option_file_parser().
int DltDaemonFlags::gatewayMode |
(Boolean) Gateway Mode
Definition at line 126 of file dlt-daemon.h.
Referenced by dlt_daemon_client_process_control(), dlt_daemon_control_passive_node_connect(), dlt_daemon_control_passive_node_connect_status(), main(), and option_file_parser().
char DltDaemonFlags::ivalue[NAME_MAX+1] |
(String: Directory) Directory where to store the persistant configuration (Default: /tmp)
Definition at line 101 of file dlt-daemon.h.
Referenced by dlt_daemon_local_init_p2(), and option_file_parser().
int DltDaemonFlags::lflag |
(Boolean) Send DLT messages with serial header
Definition at line 94 of file dlt-daemon.h.
Referenced by dlt_daemon_local_init_p2(), dlt_gateway_init(), and option_file_parser().
char DltDaemonFlags::loggingFilename[DLT_DAEMON_FLAG_MAX] |
(String: Filename) The logging filename if internal logging mode is log to file (Default: /tmp/log)
Definition at line 111 of file dlt-daemon.h.
Referenced by main(), and option_file_parser().
int DltDaemonFlags::loggingLevel |
(int) The logging level for internal logging of dlt-daemon (Default: 6)
Definition at line 110 of file dlt-daemon.h.
Referenced by main(), and option_file_parser().
int DltDaemonFlags::loggingMode |
(int) The logging console for internal logging of dlt-daemon (Default: 0)
Definition at line 109 of file dlt-daemon.h.
Referenced by main(), and option_file_parser().
int DltDaemonFlags::mflag |
(Boolean) Sync to serial header on serial connection
Definition at line 96 of file dlt-daemon.h.
Referenced by dlt_daemon_process_client_messages_serial(), and option_file_parser().
int DltDaemonFlags::nflag |
(Boolean) Sync to serial header on all TCP connections
Definition at line 97 of file dlt-daemon.h.
Referenced by dlt_daemon_process_client_messages(), dlt_daemon_process_control_messages(), and option_file_parser().
unsigned int DltDaemonFlags::offlineLogstorageCacheSize |
Max cache size offline logstorage cache
Definition at line 121 of file dlt-daemon.h.
Referenced by option_file_parser().
char DltDaemonFlags::offlineLogstorageDelimiter |
(char) Append delimeter character in offline logstorage filename
Definition at line 118 of file dlt-daemon.h.
Referenced by dlt_daemon_logstorage_write(), and option_file_parser().
char DltDaemonFlags::offlineLogstorageDirPath[DLT_MOUNT_PATH_MAX] |
(String: Directory) DIR path to store offline logs
Definition at line 116 of file dlt-daemon.h.
Referenced by main(), and option_file_parser().
unsigned int DltDaemonFlags::offlineLogstorageMaxCounter |
(int) Maximum offline logstorage file counter index until wraparound
Definition at line 119 of file dlt-daemon.h.
Referenced by dlt_daemon_logstorage_write(), and option_file_parser().
unsigned int DltDaemonFlags::offlineLogstorageMaxCounterIdx |
(int) String len of offlineLogstorageMaxCounter
Definition at line 120 of file dlt-daemon.h.
Referenced by dlt_daemon_logstorage_write(), and option_file_parser().
int DltDaemonFlags::offlineLogstorageMaxDevices |
(int) Maximum devices to be used as offline logstorage devices
Definition at line 115 of file dlt-daemon.h.
Referenced by dlt_daemon_client_send(), dlt_daemon_control_service_logstorage(), dlt_daemon_local_cleanup(), dlt_daemon_local_init_p2(), dlt_daemon_logstorage_cleanup(), dlt_daemon_logstorage_get_device(), dlt_daemon_logstorage_sync_cache(), dlt_daemon_logstorage_write(), dlt_daemon_process_user_message_register_context(), and option_file_parser().
int DltDaemonFlags::offlineLogstorageTimestamp |
(int) Append timestamp in offline logstorage filename
Definition at line 117 of file dlt-daemon.h.
Referenced by dlt_daemon_logstorage_write(), and option_file_parser().
char DltDaemonFlags::offlineTraceDirectory[DLT_DAEMON_FLAG_MAX] |
(String: Directory) Store DLT messages to local directory (Default: /etc/dlt.conf)
Definition at line 105 of file dlt-daemon.h.
Referenced by dlt_daemon_client_send(), dlt_daemon_local_cleanup(), dlt_daemon_local_init_p2(), dlt_daemon_process_user_message_log(), and option_file_parser().
int DltDaemonFlags::offlineTraceFilenameTimestampBased |
(int) timestamp based or index based (Default: 1 Timestamp based)
Definition at line 108 of file dlt-daemon.h.
Referenced by dlt_daemon_local_init_p2(), and option_file_parser().
int DltDaemonFlags::offlineTraceFileSize |
(int) Maximum size in bytes of one trace file (Default: 1000000)
Definition at line 106 of file dlt-daemon.h.
Referenced by dlt_daemon_local_init_p2(), and option_file_parser().
int DltDaemonFlags::offlineTraceMaxSize |
(int) Maximum size of all trace files (Default: 4000000)
Definition at line 107 of file dlt-daemon.h.
Referenced by dlt_daemon_local_init_p2(), and option_file_parser().
char DltDaemonFlags::pathToECUSoftwareVersion[DLT_DAEMON_FLAG_MAX] |
(String: Filename) The file from which to read the ECU version from.
Definition at line 113 of file dlt-daemon.h.
Referenced by dlt_daemon_local_ecu_version_init(), and option_file_parser().
unsigned int DltDaemonFlags::port |
port number
Definition at line 124 of file dlt-daemon.h.
Referenced by dlt_daemon_local_connection_init(), and option_handling().
int DltDaemonFlags::rflag |
(Boolean) Send automatic get log info response during context registration
Definition at line 95 of file dlt-daemon.h.
Referenced by dlt_daemon_process_user_message_register_context(), dlt_daemon_process_user_message_unregister_context(), and option_file_parser().
int DltDaemonFlags::sendECUSoftwareVersion |
(Boolean) Send ECU software version perdiodically
Definition at line 112 of file dlt-daemon.h.
Referenced by dlt_daemon_process_client_connect(), dlt_daemon_process_sixty_s_timer(), main(), and option_file_parser().
int DltDaemonFlags::sendMessageTime |
(Boolean) Send periodic Message Time if client is connected (Default: 0)
Definition at line 104 of file dlt-daemon.h.
Referenced by dlt_daemon_local_init_p2(), and option_file_parser().
int DltDaemonFlags::sendTimezone |
(Boolean) Send Timezone perdiodically
Definition at line 114 of file dlt-daemon.h.
Referenced by dlt_daemon_process_client_connect(), dlt_daemon_process_sixty_s_timer(), main(), and option_file_parser().
int DltDaemonFlags::sflag |
(Boolean) Print DLT messages; payload as hex
Definition at line 90 of file dlt-daemon.h.
Referenced by dlt_daemon_process_user_message_log(), and option_file_parser().
int DltDaemonFlags::sharedMemorySize |
(int) Size of shared memory (Default: 100000)
Definition at line 103 of file dlt-daemon.h.
Referenced by dlt_daemon_local_init_p2(), and option_file_parser().
char DltDaemonFlags::userPipesDir[NAME_MAX+1] |
(String: Directory) directory where dltpipes reside (Default: /tmp/dltpipes)
Definition at line 122 of file dlt-daemon.h.
Referenced by dlt_daemon_local_init_p1(), and option_handling().
int DltDaemonFlags::vflag |
(Boolean) Verbose mode
Definition at line 92 of file dlt-daemon.h.
Referenced by dlt_daemon_close_socket(), dlt_daemon_handle_event(), dlt_daemon_init_serial(), dlt_daemon_local_cleanup(), dlt_daemon_local_init_p1(), dlt_daemon_local_init_p2(), dlt_daemon_process_client_connect(), dlt_daemon_process_client_messages(), dlt_daemon_process_client_messages_serial(), dlt_daemon_process_control_messages(), dlt_daemon_process_one_s_timer(), dlt_daemon_process_sixty_s_timer(), dlt_daemon_process_user_message_register_application(), dlt_daemon_process_user_messages(), main(), and option_file_parser().
int DltDaemonFlags::xflag |
(Boolean) Print DLT messages; only headers
Definition at line 91 of file dlt-daemon.h.
Referenced by dlt_daemon_process_user_message_log(), and option_file_parser().
char DltDaemonFlags::yvalue[NAME_MAX+1] |
(String: Devicename) Additional support for serial device
Definition at line 100 of file dlt-daemon.h.
Referenced by dlt_daemon_close_socket(), dlt_daemon_init_serial(), main(), and option_file_parser().