summaryrefslogtreecommitdiff
path: root/src/user/app/ethdump/icmp.c
blob: 9c80a2dcac9b62c74958ca5965f4d5ffcef37393 (plain)
1
2
3
4
5
6
7
8
#include "proto.h"
#include "util.h"

void icmp_parse(const uint8_t *buf, size_t len) {
	if (len < 4) return;
	uint8_t type = buf[0];
	printf("ICMP type %u\n", type);
}