Skip to content

Commit

Permalink
dissector: make netlink directions a bit more readable
Browse files Browse the repository at this point in the history
Display them as K->U resp. U->K.

Signed-off-by: Daniel Borkmann <[email protected]>
  • Loading branch information
borkmann committed Sep 10, 2015
1 parent 186b116 commit 4669e7a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions dissector.h
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 4669e7a

Please sign in to comment.