diff options
author | Toni Uhlig <matzeton@googlemail.com> | 2019-07-04 19:42:07 +0200 |
---|---|---|
committer | Toni Uhlig <matzeton@googlemail.com> | 2019-07-04 19:42:07 +0200 |
commit | d0c9e04d128e1696dcff089978cf823e0316389e (patch) | |
tree | 6e6dbb5a3b3b409edf8be4dc5ca68381891c58c0 /src/pkt.h | |
parent | 8b264b41e57dc9776279f7a88f9792a15e0f211a (diff) |
handle_extended_options should use proxy_desc_t* instead of a incomplete void* as 1st argument
Signed-off-by: Toni Uhlig <matzeton@googlemail.com>
Diffstat (limited to 'src/pkt.h')
-rw-r--r-- | src/pkt.h | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -133,6 +133,7 @@ typedef struct { typedef struct forward_desc_t forward_desc_t; typedef struct icmp_desc_t icmp_desc_t; +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); @@ -140,7 +141,7 @@ void handle_packet(char *buf, unsigned bytes, int is_pcap, struct sockaddr_in *a void handle_data(icmp_echo_packet_t *pkt, int total_len, forward_desc_t **ring, int *await_send, int *insert_idx, uint16_t *next_expected_seq, void *vcur, uint16_t window_size); -void handle_extended_options(void *vcur); +void handle_extended_options(proxy_desc_t *cur); void handle_ack(uint16_t seq_no, icmp_desc_t *ring, int *packets_awaiting_ack, int one_ack_only, int insert_idx, int *first_ack, |