Add ICMP type/code and udplite/sctp in Nettrace.
This adds support for additional protocols and also provides more clear semantics of protocol specific fields, such as only including tcpFlags when the protocol is IPPROTO_TCP. Test: atest libnetworkstats_test & flash and trace Change-Id: Ic69fc75e85ebf8734027c942a253af4972ad14d8
Showing
- service-t/native/libs/libnetworkstats/NetworkTraceHandler.cpp 23 additions, 5 deletions...ice-t/native/libs/libnetworkstats/NetworkTraceHandler.cpp
- service-t/native/libs/libnetworkstats/NetworkTraceHandlerTest.cpp 54 additions, 1 deletion...t/native/libs/libnetworkstats/NetworkTraceHandlerTest.cpp
- service-t/native/libs/libnetworkstats/include/netdbpf/NetworkTraceHandler.h 3 additions, 1 deletion...ibs/libnetworkstats/include/netdbpf/NetworkTraceHandler.h
Please register or sign in to comment