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
user.h@200:5acbc41bf469, 2021-05-20 (annotated)
- Committer:
- andrewboyson
- Date:
- Thu May 20 14:32:52 2021 +0000
- Revision:
- 200:5acbc41bf469
- Parent:
- 195:bd5b123143ca
Increased number of arp entries from 20 to 30 to accommodate the number of WIZ devices plus a few incoming port 80 calls from the internet.
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
andrewboyson | 195:bd5b123143ca | 1 | #include <stdint.h> |
andrewboyson | 195:bd5b123143ca | 2 | |
andrewboyson | 195:bd5b123143ca | 3 | extern uint16_t UserUdpPort1; |
andrewboyson | 195:bd5b123143ca | 4 | extern uint16_t UserUdpPort2; |
andrewboyson | 195:bd5b123143ca | 5 | extern int (*UserHandleReceivedUdpPacket)(uint16_t port, void (*traceback)(void), int dataLengthRx, char* pDataRx, int* pPataLengthTx, char* pDataTx); |
andrewboyson | 195:bd5b123143ca | 6 | |
andrewboyson | 195:bd5b123143ca | 7 | |
andrewboyson | 195:bd5b123143ca | 8 | extern uint16_t UserUdpDstPort; |
andrewboyson | 195:bd5b123143ca | 9 | extern uint16_t UserUdpSrcPort; |
andrewboyson | 195:bd5b123143ca | 10 | extern uint32_t UserIp4; |
andrewboyson | 195:bd5b123143ca | 11 | extern char UserMac[6]; |
andrewboyson | 195:bd5b123143ca | 12 | |
andrewboyson | 195:bd5b123143ca | 13 | extern int (*UserPollForUdpPacketToSend)(int type, int* pDataLength, char* pData); |