ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/gvpe/src/rohc/d_udp.h
Revision: 1.3
Committed: Tue Apr 26 00:55:56 2005 UTC (19 years, 2 months ago) by pcg
Content type: text/plain
Branch: MAIN
CVS Tags: rel-2_01, rel-3_0, rel-2_2, rel-2_0, rel-2_21, rel-2_22, rel-2_25, HEAD
Changes since 1.2: +1 -1 lines
Log Message:
*** empty log message ***

File Contents

# User Rev Content
1 pcg 1.1 /*
2     ROHC Project 2003 at Lulea University of Technology, Sweden.
3     Authors: Andreas Vernersson <andver-8@student.luth.se>
4     Daniel Pettersson <danpet-7@student.luth.se>
5     Erik Soderstrom <soderstrom@yahoo.com>
6     Fredrik Lindstrom <frelin-9@student.luth.se>
7     Johan Stenmark <johste-8@student.luth.se>
8     Martin Juhlin <juhlin@users.sourceforge.net>
9     Mikael Larsson <larmik-9@student.luth.se>
10     Robert Maxe <robmax-1@student.luth.se>
11    
12     Copyright (C) 2003 Andreas Vernersson, Daniel Pettersson,
13     Erik Soderström, Fredrik Lindström, Johan Stenmark,
14     Martin Juhlin, Mikael Larsson, Robert Maxe.
15    
16     This program is free software; you can redistribute it and/or modify
17     it under the terms of the GNU General Public License as published by
18     the Free Software Foundation; either version 2 of the License, or
19     (at your option) any later version.
20    
21     This program is distributed in the hope that it will be useful,
22     but WITHOUT ANY WARRANTY; without even the implied warranty of
23     MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
24     GNU General Public License for more details.
25    
26     You should have received a copy of the GNU General Public License
27     along with this program; if not, write to the Free Software
28 pcg 1.3 Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
29 pcg 1.1 */
30     #ifndef _D_UDP_H
31     #define _D_UDP_H
32    
33     #include "rohc.h"
34     #include "decomp.h"
35     #include "d_util.h"
36    
37     struct s_udp_change
38     {
39     int rnd;
40     int nbo;
41    
42     struct iphdr ip;
43     struct udphdr udp;
44     };
45    
46     struct s_udp_profile_data
47     {
48     struct s_udp_change * last1;
49     struct s_udp_change * last2;
50     struct s_udp_change * active1;
51     struct s_udp_change * active2;
52    
53     struct sd_lsb_decode sn;
54     struct sd_ip_id_decode ip_id1;
55     struct sd_ip_id_decode ip_id2;
56    
57     int multiple_ip;
58     int udp_checksum_present;
59    
60     int package_type;
61    
62     int counter;
63     int last_packet_time; //the time of the last crc-approved packet
64     int current_packet_time; //the time of the current packet without crc-test yet
65     int inter_arrival_time; //a average inter-packet time of the last few packets,
66     };
67    
68     struct s_profile * udp_profile_create(void);
69    
70     #endif