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
net.txt@94:e2973a2c488e, 2018-12-05 (annotated)
- Committer:
- andrewboyson
- Date:
- Wed Dec 05 18:30:37 2018 +0000
- Revision:
- 94:e2973a2c488e
- Parent:
- 79:f50e02fb5c94
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?
User | Revision | Line number | New contents of line |
---|---|---|---|
andrewboyson | 59:e0e556c8bd46 | 1 | Layers |
andrewboyson | 59:e0e556c8bd46 | 2 | |
andrewboyson | 59:e0e556c8bd46 | 3 | NIC - Hardware, Phy etc |
andrewboyson | 59:e0e556c8bd46 | 4 | Link - Raw data |
andrewboyson | 59:e0e556c8bd46 | 5 | Ethernet - Contains the source and destination MACs and the Ethertype: ARP; IP4; IP6 |
andrewboyson | 79:f50e02fb5c94 | 6 | |
andrewboyson | 79:f50e02fb5c94 | 7 | To use you need to: |
andrewboyson | 79:f50e02fb5c94 | 8 | |
andrewboyson | 79:f50e02fb5c94 | 9 | call NetInit once with the ipv4 name and the ipv6 name |
andrewboyson | 79:f50e02fb5c94 | 10 | call NetMain continuously. |
andrewboyson | 79:f50e02fb5c94 | 11 | |
andrewboyson | 79:f50e02fb5c94 | 12 | See the "ch" (Central Heating) or "gps" programs for examples. |