Subversion Repositories Spectranet

[/] [trunk/] [tnfs/] [tnfsd/] [config.h] - Diff between revs 299 and 570

Show entire file | Details | Blame | View Log

Rev 299 Rev 570
Line 24... Line 24...
 
 
#define TNFSD_PORT      16384   /* UDP port to listen on */
#define TNFSD_PORT      16384   /* UDP port to listen on */
#define MAXMSGSZ        532     /* maximum size of a TNFS message */
#define MAXMSGSZ        532     /* maximum size of a TNFS message */
#define MAX_FD_PER_CONN 16      /* maximum open file descriptors per client */
#define MAX_FD_PER_CONN 16      /* maximum open file descriptors per client */
#define MAX_DHND_PER_CONN 8     /* max open directories per client */
#define MAX_DHND_PER_CONN 8     /* max open directories per client */
#define MAX_CLIENTS     256     /* maximum number of clients */
#define MAX_CLIENTS     256     /* maximum number of UDP clients */
 
#define MAX_TCP_CONN    256     /* Maximum number of TCP clients */
#define TNFS_HEADERSZ   4       /* minimum header size */
#define TNFS_HEADERSZ   4       /* minimum header size */
#define MAX_TNFSPATH    256     /* maximum path length */
#define MAX_TNFSPATH    256     /* maximum path length */
#define MAX_FILEPATH    384     /* Maximum path + filename */
#define MAX_FILEPATH    384     /* Maximum path + filename */
#define MAX_ROOT        128     /* maximum root dir length */
#define MAX_ROOT        128     /* maximum root dir length */
#define PROTOVERSION_LSB 0x00   /* Protocol version, LSB */
#define PROTOVERSION_LSB 0x00   /* Protocol version, LSB */