commit | cfbf7414a14cf91d1b5c83154aab54c32d6be76a | [log] [tgz] |
---|---|---|
author | Hugo Benichi <hugobenichi@google.com> | Thu Jun 23 10:41:30 2016 +0900 |
committer | Hugo Benichi <hugobenichi@google.com> | Thu Jun 30 18:26:39 2016 +0900 |
tree | 2ff1342deaa242087c7c5fe659a6200c66868084 | |
parent | 647c86d70a0f2162dcc95854e9dccb925c16ecf3 [diff] |
Record events for RA option lifetimes This patch defines a new android.net.metrics.RaEvent class carrying lifetime values contained in RA packets. RaEvent are recorded when ApfFilter processes a new RA for which there is no match. Example: ConnectivityMetricsEvent(15:39:39.808, 0, 0): RaEvent(lifetimes: router=3600s, prefix_valid=2592000s, prefix_preferred=604800s, route_info=-1s, dnssl=-1s, rdnss=3600s) Change-Id: Ia28652e03ed442d5f2a686ef5b3fafbcb77c503a