Andrew Boyson / net

Dependents:   oldheating gps motorhome heating

Committer:
andrewboyson
Date:
Wed Nov 08 20:46:36 2017 +0000
Revision:
52:fbc5a46b5e16
Parent:
10:f0854784e960
Child:
54:84ef2b29cf7e
Fixed bug in NDP options decoder which was crashing the system

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 52:fbc5a46b5e16 15 uint32_t elapsed;
andrewboyson 10:f0854784e960 16 int32_t tag;
andrewboyson 10:f0854784e960 17 };
andrewboyson 10:f0854784e960 18
andrewboyson 52:fbc5a46b5e16 19 extern uint32_t TcbElapsed;
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 52:fbc5a46b5e16 23 extern void TcbMain();
andrewboyson 10:f0854784e960 24 extern void TcbInit();