commit | 706ff1b00c0523043b073c50ddea79f166ebc181 | [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 | 7f7d676648ca2112a90ccd3526b249d71f6f862e | |
parent | 2bd4dd2339d3a2bccd32f3e234bbe82d0d021c23 [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