aboutsummaryrefslogtreecommitdiff
path: root/src/pkt.h
diff options
context:
space:
mode:
authorMasaq- <tilt@techie.com>2019-01-28 02:34:32 +0000
committerMasaq- <tilt@techie.com>2019-01-28 02:34:32 +0000
commit0c249d89747d613ebe3d39a2467c08137349f668 (patch)
tree87e98da359f4e76517c34176f5ac39e715769498 /src/pkt.h
parent8a7a9a83ae7b15755cf7c459872670abca4cbd14 (diff)
extend the protocol to load options from the data section
Diffstat (limited to 'src/pkt.h')
-rw-r--r--src/pkt.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/pkt.h b/src/pkt.h
index 338bc65..f390737 100644
--- a/src/pkt.h
+++ b/src/pkt.h
@@ -138,10 +138,10 @@ typedef struct icmp_desc_t icmp_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, forward_desc_t **ring,
- int *await_send, int *insert_idx, uint16_t *next_expected_seq);
+ int *await_send, int *insert_idx, uint16_t *next_expected_seq, void *cur, uint16_t window_size);
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,
- uint16_t *remote_ack, int is_pcap);
+ uint16_t *remote_ack, int is_pcap, uint16_t window_size);
#endif