A stack which works with or without an Mbed os library. Provides IPv4 or IPv6 with a full 1500 byte buffer.

Dependents:   oldheating gps motorhome heating

Committer:
andrewboyson
Date:
Wed Oct 04 07:51:02 2017 +0000
Revision:
37:793b39683406
Parent:
22:914b970356f0
Child:
42:222a4f45f916
Added trace back and trace forward to log messages

Who changed what in which revision?

UserRevisionLine numberNew contents of line
andrewboyson 15:6ca6778168b1 1 #pragma once
andrewboyson 15:6ca6778168b1 2 #include "mbed.h"
andrewboyson 2:849103b5a16d 3
andrewboyson 37:793b39683406 4
andrewboyson 37:793b39683406 5 extern bool NetTraceBack;
andrewboyson 37:793b39683406 6 extern bool NetTraceForward;
andrewboyson 37:793b39683406 7
andrewboyson 0:faa09bd4e6bf 8 extern int16_t NetToHost16(int16_t n);
andrewboyson 0:faa09bd4e6bf 9 extern int32_t NetToHost32(int32_t n);
andrewboyson 0:faa09bd4e6bf 10 extern int64_t NetToHost64(int64_t n);
andrewboyson 0:faa09bd4e6bf 11 extern uint16_t NetCheckSum(int count, void* pData);
andrewboyson 2:849103b5a16d 12 extern uint16_t NetCheckSumTwo(int count1, void* pData1, int count2, void* pData2);
andrewboyson 2:849103b5a16d 13
andrewboyson 10:f0854784e960 14 extern int NetInit(char* name);
andrewboyson 7:b794780e33b4 15 extern int NetMain();
andrewboyson 7:b794780e33b4 16
andrewboyson 10:f0854784e960 17 extern char* NetName;