aboutsummaryrefslogtreecommitdiff
path: root/src/pkt.h
diff options
context:
space:
mode:
authorToni Uhlig <matzeton@googlemail.com>2020-03-21 12:26:04 +0100
committerToni Uhlig <matzeton@googlemail.com>2020-03-22 18:07:44 +0100
commitb96e7a6fa47ff523d14f1d1502b04cb3ad837186 (patch)
tree9e0d3f4069b62eb066879d099b8fac8fb764fc07 /src/pkt.h
parentda8f7aa18c9d3b61ee5c58eb1c641443a3b8669e (diff)
Got rid of those non working extended options, because:removed_extended_options
* legendary spaghetti code * did not work at all, caused several buffer overflows * pain-in-the-ass to maintain and test * badly reviewed from my side :/ * improved and working "extended options" may be added later * basically reverts most of #8 Signed-off-by: Toni Uhlig <matzeton@googlemail.com>
Diffstat (limited to 'src/pkt.h')
-rw-r--r--src/pkt.h4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/pkt.h b/src/pkt.h
index a757cf4..163e7b8 100644
--- a/src/pkt.h
+++ b/src/pkt.h
@@ -137,9 +137,7 @@ typedef struct proxy_desc_t proxy_desc_t;
void handle_packet(char * buf, unsigned bytes, int is_pcap, struct sockaddr_in * addr, int icmp_sock);
-void handle_data(icmp_echo_packet_t * pkt, int total_len, proxy_desc_t * cur, int handle_extended_options);
-
-void handle_extended_options(proxy_desc_t * cur);
+void handle_data(icmp_echo_packet_t * pkt, int total_len, proxy_desc_t * cur);
void handle_ack(uint32_t seq_no, proxy_desc_t * cur);