commit | 77abd9487677c409ab682f458cf9cf5540fb278c | [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 | c586bdf976d7fb7850d808644ed56d9b2a8b0fec [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