diff options
author | Toni Uhlig <matzeton@googlemail.com> | 2017-12-17 15:23:23 +0100 |
---|---|---|
committer | Toni Uhlig <matzeton@googlemail.com> | 2017-12-17 15:26:00 +0100 |
commit | fb7af94ba14fcb19bc35d44e9178d4bb55a93e2f (patch) | |
tree | 94d2ee0763120b146c8358a18146e75713319007 /pkt.h | |
parent | 0c2b8553eec966e5a96a3c42347674c90e100da2 (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.h | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -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 |