5 #include "pretty-print.h"
8 #include <netinet/in.h>
9 #include <netinet/ip.h>
11 #include <arpa/inet.h>
13 #include <sys/socket.h>
14 #include <sys/types.h>
17 void handle_udp(struct ip6_udp* pkt) {
18 if (ntohs(pkt->data.dpt) == 53) { //TODO check for dadr, too
19 pkt_printf_ip6dns((struct ip6_udp_dns*)pkt);