commit | eb9055c0195606a3eb7cb50000ad178542401882 | [log] [tgz] |
---|---|---|
author | Michael Scott <michael.scott@linaro.org> | Thu Jan 19 14:53:41 2017 -0800 |
committer | Jukka Rissanen <jukka.rissanen@linux.intel.com> | Fri Jan 20 16:23:20 2017 +0200 |
tree | 9f256989f1fc2382eab7c5ed52f42e144a4487bc | |
parent | 34b67374dec75e4adbc7925a8f262284fccb00a0 [diff] |
net: tcp: move accept_cb from net_context to net_tcp net_context is used for more than just TCP contexts. However, the accept_cb field is only used for TCP. Let's move it from the generic net_context structure to the TCP specific net_tcp structure. Change-Id: If923c7aba1355cf5f91c07a7e7e469d385c7c365 Signed-off-by: Michael Scott <michael.scott@linaro.org>