aboutsummaryrefslogtreecommitdiff
path: root/pkt.h
diff options
context:
space:
mode:
authorToni Uhlig <matzeton@googlemail.com>2017-12-17 15:23:23 +0100
committerToni Uhlig <matzeton@googlemail.com>2017-12-17 15:26:00 +0100
commitfb7af94ba14fcb19bc35d44e9178d4bb55a93e2f (patch)
tree94d2ee0763120b146c8358a18146e75713319007 /pkt.h
parent0c2b8553eec966e5a96a3c42347674c90e100da2 (diff)
ptunnel-ng:
* source refactoring * utils functions pt_log, time_as_double * handle_pkt moved to pkt.c
Diffstat (limited to 'pkt.h')
-rw-r--r--pkt.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/pkt.h b/pkt.h
index 22cd289..c3731cb 100644
--- a/pkt.h
+++ b/pkt.h
@@ -80,4 +80,7 @@ typedef struct {
char data[0];
} __attribute__ ((packed)) icmp_echo_packet_t;
+
+void handle_packet(char *buf, unsigned bytes, int is_pcap, struct sockaddr_in *addr, int icmp_sock);
+
#endif