commit | 976180a53f60a0611b8e0c67f8a2c2740181d01b | [log] [tgz] |
---|---|---|
author | Peter McCurdy <pmccurdy@google.com> | Tue Oct 04 17:45:04 2016 -0400 |
committer | Peter McCurdy <pmccurdy@google.com> | Thu Oct 13 21:45:43 2016 -0400 |
tree | fa62abb1aeffe3f1c86c97325e7e3b7119a3fd25 | |
parent | e76b847397b7ef524ac53c0cba9f8824900adc32 [diff] |
Refactor isoping and add unit tests. Separate out isoping per-client state into a struct, and do most per-packet processing in separate functions. This makes testing feasible, and will let us support multiple clients per server. Also compile as C++ to make the struct initialization clean and get access to hash tables for the multiclient scenario. No actual logic changes involved, just new tests added. Change-Id: I1d405f25043770484e2dbad183d3bc9206abf60d