Andrew Boyson / net

Dependents:   oldheating gps motorhome heating

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?

UserRevisionLine numberNew 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();