aboutsummaryrefslogtreecommitdiff
path: root/src/vpn/pretty-print.h
blob: f2aa5b7951d859ba0dd1534ec58def58a449fd0d (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
#ifndef _GNTUN_PP_H_
#define _GNTUN_PP_H_

extern void pp_hexdump(unsigned char* data, char* dest, int max);

extern void pp_write_header(char* dest, struct ip6_pkt* pkt);

extern void pkt_printf(struct ip6_pkt* pkt);

void pkt_printf_ip6tcp(struct ip6_tcp* pkt);
void pkt_printf_ip6udp(struct ip6_udp* pkt);

#endif