root / lab4 / .minix-src / include / net / gen / tcp.h @ 13
History | View | Annotate | Download (307 Bytes)
1 | 13 | up20180614 | /*
|
---|---|---|---|
2 | server/ip/gen/tcp.h
|
||
3 | */
|
||
4 | |||
5 | #ifndef __SERVER__IP__GEN__TCP_H__
|
||
6 | #define __SERVER__IP__GEN__TCP_H__
|
||
7 | |||
8 | #define TCP_MIN_HDR_SIZE 20 |
||
9 | #define TCP_MAX_HDR_SIZE 60 |
||
10 | |||
11 | #define TCPPORT_TELNET 23 |
||
12 | #define TCPPORT_FINGER 79 |
||
13 | |||
14 | #define TCPPORT_RESERVED 1024 |
||
15 | |||
16 | typedef u16_t tcpport_t;
|
||
17 | |||
18 | #endif /* __SERVER__IP__GEN__TCP_H__ */ |