commit | a8bce0903727c9bf6921c6c3f3c36dcd619e0d2a | [log] [tgz] |
---|---|---|
author | Aaron Huang <huangaaron@google.com> | Thu May 02 21:14:20 2019 +0800 |
committer | Aaron Huang <huangaaron@google.com> | Mon May 06 19:52:48 2019 +0800 |
tree | 1e5ba5394e32988184d74ac16046f76a81f2be59 | |
parent | 0e1b6c1cdaa8d68051a378edd42ba3f2ef1d4fe6 [diff] |
Send message to add/remove NAT-T keepalive packet filter. Remove definition of TYPE_NATT and TYPE_TCP since the type can be identified by checking message.obj is an instance of NattKeepalivePacketData or TcpKeepalivePacketData. It's more simple and won't have dependency on KeepaliveInfo. Bug: 33530442 Test: atest FrameworksNetTests atest NetworkStackTests Change-Id: Ic97ffe9ff5781778efd264460809f5059f0f4230