Skip to content
Snippets Groups Projects
Commit 5b2b7674 authored by Sebastian Meiling's avatar Sebastian Meiling
Browse files

gnrc/pktdump: add tcp_hdr_print

parent 43de60da
No related branches found
No related tags found
No related merge requests found
......@@ -30,6 +30,7 @@
#include "net/icmpv6.h"
#include "net/ipv6/addr.h"
#include "net/ipv6/hdr.h"
#include "net/tcp.h"
#include "net/udp.h"
#include "net/sixlowpan.h"
#include "od.h"
......@@ -78,6 +79,7 @@ static void _dump_snip(gnrc_pktsnip_t *pkt)
#ifdef MODULE_GNRC_TCP
case GNRC_NETTYPE_TCP:
printf("NETTYPE_TCP (%i)\n", pkt->type);
tcp_hdr_print(pkt->data);
break;
#endif
#ifdef MODULE_GNRC_UDP
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment