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
Diff: net.c
- Revision:
- 172:9bc3c7b2cca1
- Parent:
- 158:3adf725c0804
- Child:
- 178:52714fef5ca1
diff -r f708d6776752 -r 9bc3c7b2cca1 net.c --- a/net.c Sat Dec 12 20:10:02 2020 +0000 +++ b/net.c Wed Dec 16 17:33:22 2020 +0000 @@ -7,8 +7,7 @@ #include "dhcp.h" #include "ar4.h" #include "ar6.h" -#include "nr4.h" -#include "nr6.h" +#include "nr.h" #include "dns.h" #include "slaac.h" #include "ndp.h" @@ -164,8 +163,7 @@ TcpInit(); Ar4Init(); Ar6Init(); - Nr4Init(); - Nr6Init(); + NrInit(); SlaacInit(); NtpInit(); } @@ -177,8 +175,7 @@ TcpMain(); Ar4Main(); Ar6Main(); - Nr4Main(); - Nr6Main(); + NrMain(); DnsMain(); RestartPoint = lastRestartPoint; } \ No newline at end of file