X-Git-Url: http://sjero.net/git/?p=dccp2tcp;a=blobdiff_plain;f=dccp2tcp.c;h=6697681b99636008dc3472262720f6ac472fc51b;hp=488b6f309201080f412cc607a0c0db6f95be7d09;hb=e70482b21708ed411b4403c8a155f345a4868fdf;hpb=d6ede21626f4ad5e298aaa5f63a28bf54b97b40f diff --git a/dccp2tcp.c b/dccp2tcp.c index 488b6f3..6697681 100644 --- a/dccp2tcp.c +++ b/dccp2tcp.c @@ -56,7 +56,7 @@ int handle_data(struct packet* new, const struct const_packet* old, struct hcon* int parse_options(const u_char* opt_start, int len, struct hcon* A, struct hcon* B); int process_feature(const u_char* feat, int len, int confirm, int L, struct hcon* A, struct hcon* B); void ack_vect2sack(struct hcon *seq, struct tcphdr *tcph, u_char* tcpopts, u_char* dccphdr, - __be32 dccpack, struct hcon* o_hcn); + d_seq_num dccpack, struct hcon* o_hcn); void version(); void usage(); @@ -1058,13 +1058,13 @@ int process_feature(const u_char* feat, int len, int confirm, int L, struct hcon /*Ack Vector to SACK Option*/ void ack_vect2sack(struct hcon *hcn, struct tcphdr *tcph, u_char* tcpopts, u_char* dccphdr, - __be32 dccpack, struct hcon* o_hcn) + d_seq_num dccpack, struct hcon* o_hcn) { int hdrlen=((struct dccp_hdr*)dccphdr)->dccph_doff*4; int optlen; int len; int tmp; - __be32 bp; + d_seq_num bp; u_char* temp; u_char* opt; u_char* cur;