commit | 0d4efc012e56cda4518a2f4a31afb8d8b05a6b7e | [log] [tgz] |
---|---|---|
author | Chiachang Wang <chiachangwang@google.com> | Wed Nov 01 09:07:27 2023 +0000 |
committer | Chiachang Wang <chiachangwang@google.com> | Wed Nov 01 09:29:37 2023 +0000 |
tree | 49f30f15f2a52c90b0c1244778bcf2f37046078a | |
parent | e5e95b5f387655de19c6ed8820baee4b075872ff [diff] |
Use StructNlAttr to handle struct nlattr This is a no-op change to use the same structure to reduce the code duplication. Netlink lib provides the same structure for parsing the attributes. Parsing attribute using StructNlAttr was also applied in the code in the AutomaticOnOffKeepaliveTracker. Align the design in two places. Bug: 308737805 Test: atest NetworkStackTests Test: use ss command to dump to socket status to confirm Change-Id: I973db3a23bbe6dda0032c69e767fa69cd6f031d7