This patch moves further includes (the network part and lib.h) in common/. It is the last part to get the netbsd libc to compile under minix. Further moves will be needed as we get the netbsd libc to compile minix itself. Also, this patch add #ifndef's to termios.h, as it create problems with netbsd's namespace.h.
18 lines
307 B
C
18 lines
307 B
C
/*
|
|
server/ip/gen/tcp.h
|
|
*/
|
|
|
|
#ifndef __SERVER__IP__GEN__TCP_H__
|
|
#define __SERVER__IP__GEN__TCP_H__
|
|
|
|
#define TCP_MIN_HDR_SIZE 20
|
|
#define TCP_MAX_HDR_SIZE 60
|
|
|
|
#define TCPPORT_TELNET 23
|
|
#define TCPPORT_FINGER 79
|
|
|
|
#define TCPPORT_RESERVED 1024
|
|
|
|
typedef u16_t tcpport_t;
|
|
|
|
#endif /* __SERVER__IP__GEN__TCP_H__ */
|