udp.h

./lib/include/cfg/udp.h · 753 B

From the archive h7v3.0a.tar.gz

Download the archive   « Back to the archive contents

/* User configuration. */

#define LOCAL_NAME	"SandsOfTime"
#define LOCAL_UDP_PORT	query_imp_port()
#define TIME_OUT	20

#ifndef UDP_CMD_DIR
#define UDP_CMD_DIR     "secure/UDP_CMD_DIR/"
#endif /* UDP_CMD_DIR */
#define HOST_FILE      "/secure/INETD_HOSTS"

#define LOG_FILE	"INETD"

/* End of config. */

/* Standard header macros. */
#define REQUEST		"REQ"
#define NAME		"NAME"
#define HOST		"HST"
#define UDP_PORT	"UDP"
#define SENDER		"SND"
#define RECIPIENT	"RCPNT"
#define ID		"ID"
#define DATA		"DATA"
#define PACKET		"PKT"

/* Standard REQUEST macros. */
#define REPLY		"reply"
#define PING		"ping"

/* Index macros for host arrays. */
#define HOST_NAME	0
#define HOST_IP		1
#define HOST_UDP_PORT	2
#define HOST_COMMANDS	3
#define HOST_STATUS	4

Site Stats

Snippets: 1791
Codebases: 571