ET System  16.4
 All Data Structures Files Functions Variables Typedefs Macros Groups Pages
et_sys_config_t Struct Reference

Structure containing all info necessary to configure an ET system. More...

#include <et_private.h>

Data Fields

uint64_t event_size
 Event size in bytes. More...
 
int init
 ET_STRUCT_OK if structure initialized, else ET_STRUCT_NEW. More...
 
int nevents
 Total # of events. More...
 
int ntemps
 Max number of temporary events allowed (<= nevents). More...
 
int nstations
 Max number of stations allowed (including GrandCentral). More...
 
int nprocesses
 Max number of local processes allowed to open ET system. More...
 
int nattachments
 Max number of attachments to stations allowed. More...
 
int groupCount
 Number of event groups. More...
 
int groups [ET_EVENT_GROUPS_MAX]
 Array in which index is the group number (-1) and value is the number of events in that group (there are "groupCount" number of valid groups). More...
 
char filename [ET_FILENAME_LENGTH]
 Name of the ET system file. More...
 
int port
 Broad/multicast port # for UDP communication. More...
 
int serverport
 Port # for ET system TCP server thread. More...
 
int tcpSendBufSize
 TCP send buffer size in bytes of socket connecting to ET client. More...
 
int tcpRecvBufSize
 TCP receive buffer size in bytes of socket connecting to ET client. More...
 
int tcpNoDelay
 If 0, sockets to clients have TCP_NODELAY option off, else on. More...
 
codaNetInfo netinfo
 All local network info. More...
 
codaDotDecIpAddrs bcastaddrs
 All local subnet broadcast addresses (dot-decimal). More...
 
codaDotDecIpAddrs mcastaddrs
 All multicast addresses to listen on (dot-decimal). More...
 

Detailed Description

Structure containing all info necessary to configure an ET system.

Field Documentation

codaDotDecIpAddrs et_sys_config_t::bcastaddrs

All local subnet broadcast addresses (dot-decimal).

Referenced by et_system_config_init().

uint64_t et_sys_config_t::event_size
char et_sys_config_t::filename[ET_FILENAME_LENGTH]

Name of the ET system file.

Referenced by et_system_config_getfile(), et_system_config_init(), and et_system_config_setfile().

int et_sys_config_t::groupCount
int et_sys_config_t::groups[ET_EVENT_GROUPS_MAX]

Array in which index is the group number (-1) and value is the number of events in that group (there are "groupCount" number of valid groups).

Referenced by et_system_config_init(), et_system_config_setevents(), and et_system_config_setgroups().

codaDotDecIpAddrs et_sys_config_t::mcastaddrs

All multicast addresses to listen on (dot-decimal).

Referenced by et_system_config_addmulticast(), et_system_config_init(), and et_system_config_removemulticast().

codaNetInfo et_sys_config_t::netinfo

All local network info.

Referenced by et_system_config_init().

int et_sys_config_t::nprocesses

Max number of local processes allowed to open ET system.

Referenced by et_system_config_getprocs(), et_system_config_init(), et_system_config_setprocs(), and et_system_getprocsmax().

int et_sys_config_t::port

Broad/multicast port # for UDP communication.

Referenced by et_system_config_getport(), et_system_config_init(), and et_system_config_setport().

int et_sys_config_t::serverport

Port # for ET system TCP server thread.

Referenced by et_system_config_getserverport(), et_system_config_init(), and et_system_config_setserverport().

int et_sys_config_t::tcpNoDelay

If 0, sockets to clients have TCP_NODELAY option off, else on.

Referenced by et_system_config_gettcp(), et_system_config_init(), and et_system_config_settcp().

int et_sys_config_t::tcpRecvBufSize

TCP receive buffer size in bytes of socket connecting to ET client.

Referenced by et_system_config_gettcp(), et_system_config_init(), and et_system_config_settcp().

int et_sys_config_t::tcpSendBufSize

TCP send buffer size in bytes of socket connecting to ET client.

Referenced by et_system_config_gettcp(), et_system_config_init(), and et_system_config_settcp().


The documentation for this struct was generated from the following file: