Skip to content
Snippets Groups Projects
Unverified Commit 5e03f587 authored by Martine Lenders's avatar Martine Lenders Committed by GitHub
Browse files

Merge pull request #10383 from miri64/gnrc_pktdump/enh/add-ipv6-ext

gnrc_pktdump: add GNRC_NETTYPE_IPV6_EXT output
parents 3a3c23df e06cdcdf
No related branches found
No related tags found
No related merge requests found
...@@ -73,6 +73,12 @@ static void _dump_snip(gnrc_pktsnip_t *pkt) ...@@ -73,6 +73,12 @@ static void _dump_snip(gnrc_pktsnip_t *pkt)
hdr_len = sizeof(ipv6_hdr_t); hdr_len = sizeof(ipv6_hdr_t);
break; break;
#endif #endif
#ifdef MODULE_GNRC_IPV6_EXT
case GNRC_NETTYPE_IPV6_EXT:
printf("NETTYPE_IPV6_EXT (%i)\n", pkt->type);
od_hex_dump(pkt->data, pkt->size, OD_WIDTH_DEFAULT);
break;
#endif
#ifdef MODULE_GNRC_ICMPV6 #ifdef MODULE_GNRC_ICMPV6
case GNRC_NETTYPE_ICMPV6: case GNRC_NETTYPE_ICMPV6:
printf("NETTYPE_ICMPV6 (%i)\n", pkt->type); printf("NETTYPE_ICMPV6 (%i)\n", pkt->type);
......
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