diff options
author | Daniel Borkmann <daniel@iogearbox.net> | 2015-09-10 12:29:05 +0200 |
---|---|---|
committer | Daniel Borkmann <daniel@iogearbox.net> | 2015-09-10 12:29:05 +0200 |
commit | 4669e7a1ac2112b0e9ba7c0b865fdedffbb86055 (patch) | |
tree | fe387583bafae4973324a7c4fa16fccd6f188971 /dissector.h | |
parent | 186b116bec11cb941ed91547c9f612b96c96341b (diff) |
dissector: make netlink directions a bit more readable
Display them as K->U resp. U->K.
Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
Diffstat (limited to 'dissector.h')
-rw-r--r-- | dissector.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/dissector.h b/dissector.h index 226d2bc..d8ad6ac 100644 --- a/dissector.h +++ b/dissector.h @@ -34,8 +34,8 @@ static const char * const packet_types[256] = { [PACKET_MULTICAST] = "M", /* Multicast */ [PACKET_OTHERHOST] = "P", /* Promisc */ [PACKET_OUTGOING] = ">", /* Outgoing */ - [PACKET_USER] = ">U", /* To Userspace */ - [PACKET_KERNEL] = ">K", /* To Kernelspace */ + [PACKET_USER] = "K->U", /* To Userspace */ + [PACKET_KERNEL] = "U->K", /* To Kernelspace */ }; static inline const char *__show_ts_source(uint32_t status) |