Simplify ICMPv6 Echo Request/Reply implementation. (#481)

- Only support a single ICMPv6 Echo Reply handler.
- Remove large static ICMPv6 Echo Request buffer.
This commit is contained in:
Jonathan Hui
2016-08-29 09:31:26 -07:00
committed by GitHub
parent 04564ac96d
commit 027e009005
4 changed files with 103 additions and 126 deletions
+1 -2
View File
@@ -194,8 +194,7 @@ private:
static const struct Command sCommands[];
static otNetifAddress sAddress;
static Ip6::SockAddr sSockAddr;
static Ip6::IcmpEcho *sIcmpEcho;
static Ip6::MessageInfo sMessageInfo;
static Server *sServer;
static uint8_t sEchoRequest[];
static uint16_t sLength;