From 4669e7a1ac2112b0e9ba7c0b865fdedffbb86055 Mon Sep 17 00:00:00 2001 From: Daniel Borkmann Date: Thu, 10 Sep 2015 12:29:05 +0200 Subject: dissector: make netlink directions a bit more readable Display them as K->U resp. U->K. Signed-off-by: Daniel Borkmann --- dissector.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'dissector.h') 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) -- cgit v1.2.3-54-g00ecf '>
net-next plumbingsTobias Klauser
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'Documentation/media')