Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Dependents: oldheating gps motorhome heating
tcp/tcb.h@10:f0854784e960, 2017-04-16 (annotated)
- Committer:
- andrewboyson
- Date:
- Sun Apr 16 14:21:55 2017 +0000
- Revision:
- 10:f0854784e960
- Child:
- 52:fbc5a46b5e16
MDNS and LLMNR now working.
Who changed what in which revision?
| User | Revision | Line number | New contents of line | 
|---|---|---|---|
| andrewboyson | 10:f0854784e960 | 1 | #define TCB_CLOSED 0 | 
| andrewboyson | 10:f0854784e960 | 2 | #define TCB_SYN_RECEIVED 1 | 
| andrewboyson | 10:f0854784e960 | 3 | #define TCB_ESTABLISHED 2 | 
| andrewboyson | 10:f0854784e960 | 4 | #define TCB_CLOSING 3 | 
| andrewboyson | 10:f0854784e960 | 5 | |
| andrewboyson | 10:f0854784e960 | 6 | struct tcb | 
| andrewboyson | 10:f0854784e960 | 7 | { | 
| andrewboyson | 10:f0854784e960 | 8 | int state; | 
| andrewboyson | 10:f0854784e960 | 9 | uint16_t mss; | 
| andrewboyson | 10:f0854784e960 | 10 | uint16_t port; | 
| andrewboyson | 10:f0854784e960 | 11 | uint32_t locIsn; | 
| andrewboyson | 10:f0854784e960 | 12 | uint32_t remIsn; | 
| andrewboyson | 10:f0854784e960 | 13 | uint32_t locSeq; | 
| andrewboyson | 10:f0854784e960 | 14 | uint32_t remSeq; | 
| andrewboyson | 10:f0854784e960 | 15 | uint32_t timer; | 
| andrewboyson | 10:f0854784e960 | 16 | int32_t tag; | 
| andrewboyson | 10:f0854784e960 | 17 | }; | 
| andrewboyson | 10:f0854784e960 | 18 | |
| andrewboyson | 10:f0854784e960 | 19 | |
| andrewboyson | 10:f0854784e960 | 20 | extern uint32_t TcbGetIsn(); | 
| andrewboyson | 10:f0854784e960 | 21 | extern struct tcb* TcbGetExisting(uint16_t port); | 
| andrewboyson | 10:f0854784e960 | 22 | extern struct tcb* TcbGetEmpty(); | 
| andrewboyson | 10:f0854784e960 | 23 | extern void TcbReap(uint32_t now); | 
| andrewboyson | 10:f0854784e960 | 24 | extern void TcbInit(); |