44 #ifndef _TRAP_IFC_TCPIP_H_ 45 #define _TRAP_IFC_TCPIP_H_ 52 #define TCPIP_IFC_PARAMS_DELIMITER (',') 54 #ifndef DEFAULT_SOCKET_FORMAT 55 #define DEFAULT_SOCKET_FORMAT "/trap-%s.sock" 58 #ifndef UNIX_PATH_FILENAME_FORMAT 64 #define UNIX_PATH_FILENAME_FORMAT DEFAULTSOCKETDIR DEFAULT_SOCKET_FORMAT 75 #define TCPIP_SOCKETTYPE_STR(st) (st == TRAP_IFC_TCPIP?"TCP":(st == TRAP_IFC_TCPIP_UNIX ? "UNIX": "SERVICE")) int create_tcpip_receiver_ifc(trap_ctx_priv_t *ctx, char *params, trap_input_ifc_t *ifc, uint32_t itx, enum tcpip_ifc_sockettype type)
Constructor of input TCP/IP IFC module. This function is called by TRAP library to initialize one inp...
use UNIX socket as a service interface
use UNIX socket for local communication
int create_tcpip_sender_ifc(trap_ctx_priv_t *ctx, const char *params, trap_output_ifc_t *ifc, uint32_t idx, enum tcpip_ifc_sockettype type)
Constructor of output TCP/IP IFC module. This function is called by TRAP library to initialize one ou...
Interface of TRAP interfaces.