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 Dec 05 18:30:37 2018 +0000
Revision:
94:e2973a2c488e
Parent:
74:c3756bfa960e
Fixed bug - incorrect MSS being sent from a polled sync: expected 1440 but had -60. Traced to buffer datalength in EthPollForPacketToSend being set to zero instead of being calculated from the buffer length - headersize.

Who changed what in which revision?

UserRevisionLine numberNew contents of line
andrewboyson 61:aad055f1b0d1 1 #include <stdint.h>
andrewboyson 61:aad055f1b0d1 2 #include <stdbool.h>
andrewboyson 61:aad055f1b0d1 3
andrewboyson 48:952dddb74b8b 4 extern bool Ar4Trace;
andrewboyson 48:952dddb74b8b 5
andrewboyson 48:952dddb74b8b 6 extern void Ar4MakeRequestForMacFromIp(uint32_t ip);
andrewboyson 48:952dddb74b8b 7
andrewboyson 74:c3756bfa960e 8 extern int Ar4AddIpRecord(void (*traceback)(void), char* pMac, uint32_t ip);
andrewboyson 48:952dddb74b8b 9
andrewboyson 74:c3756bfa960e 10 extern void Ar4IpToMac(uint32_t ip, char* pMac);
andrewboyson 74:c3756bfa960e 11 extern uint32_t Ar4IndexToIp(int index);
andrewboyson 74:c3756bfa960e 12 extern void Ar4SendHttp(void);
andrewboyson 48:952dddb74b8b 13
andrewboyson 61:aad055f1b0d1 14 extern void Ar4Main(void);
andrewboyson 61:aad055f1b0d1 15 extern void Ar4Init(void);