bug when use "-o"command
hello,
I test the rohc library. I input the command "test -c rohc.pcap smallcid source.pcap" and I get the right result. But when I input the command "test -o ofilename.pcap -c rohc.pcap smallcid source.pcap". Bug appears as follow:
</shutdown>
</test>
D:\Program Files\SlickEdit
c d:\rohc.pcap smallcid d:\source.pcap
<?xml version="1.0" encoding=
<test>
<startup>
[../rohc-
sor
[../rohc-
sor
</startup>
<packet id="1" comp="1">
[../rohc-
bytes
[../rohc-
[../rohc-
0x139c (5020)
[../rohc-
mpressor' (0x0001)
[../rohc-
[../rohc-
ed context (CID = 0)
[../rohc-
reated (num_used = 1)
[../rohc-
dback data
[../rohc-
[../rohc-
[../rohc-
[../rohc-
[../rohc-
hanged fields in the outer IP header
[../rohc-
d_dynamic = 0
[../rohc-
ext_sn = 60813
[../rohc-
f156f / 4294907247
[../rohc-
[../rohc-
[../rohc-
[../rohc-
0)
[../rohc-
[../rohc-
ag = 0xfd
[../rohc-
[../rohc-
lculation
[../rohc-
[../rohc-
1
[../rohc-
a8 11 03
[../rohc-
a8 11 06
[../rohc-
= 0x8813
[../rohc-
0x9c13
[../rohc-
66fc2
[../rohc-
TL = 0x40, IP-ID = 0xfc02, df_rnd_nbo = 0xa0 (DF = 1, RND = 0, NBO = 1)
[../rohc-
0xb3a3
[../rohc-
[../rohc-
[../rohc-
x8d
[../rohc-
x03 0xbb 0x00
[../rohc-
38, crc = 0xdd)
[../rohc-
k = 0, header = 38, payload = 52), output buffer size = 5120
-------
packets have different sizes (88 != 90), compare only the 88 first bytes
[0xfd] [0x01] #0x3a# [0x40] [0xfd] [0x01] #0xdd# [0x40]
[0x11] [0xc0] [0xa8] [0x11] [0x11] [0xc0] [0xa8] [0x11]
[0x03] [0xc0] [0xa8] [0x11] [0x03] [0xc0] [0xa8] [0x11]
[0x06] [0x13] #0x88# #0x13# [0x06] [0x13] #0x2f# #0x16#
[0x9c] [0xc2] [0x6f] [0x96] [0x9c] [0xc2] [0x6f] [0x96]
[0x43] [0x10] [0x40] [0x02] [0x43] [0x10] [0x40] [0x02]
[0xfc] [0xa0] #0xa3# #0xb3# [0xfc] [0xa0] #0x00# #0xa3#
#0x80# #0x72# #0xed# #0x8d# #0xb3# #0x80# #0x72# #0xed#
#0x00# #0x03# #0xbb# #0x00# #0x8d# #0x00# #0x03# #0xbb#
#0x2d# #0xae# #0x9f# #0xa0# #0x00# #0x00# #0x2d# #0xae#
#0x65# #0xbc# #0x5f# #0x63# #0x9f# #0xa0# #0x65# #0xbc#
#0x8e# #0xcc# #0xa2# #0xfc# #0x5f# #0x63# #0x8e# #0xcc#
#0x9d# #0xfb# #0x1d# #0xd1# #0xa2# #0xfc# #0x9d# #0xfb#
#0xd1# #0x96# #0x63# #0x9e# #0x1d# #0xd1# #0xd1# #0x96#
#0xa0# #0x67# #0x2d# #0xc2# #0x63# #0x9e# #0xa0# #0x67#
#0x51# #0xcb# #0xf2# #0x41# #0x2d# #0xc2# #0x51# #0xcb#
#0x92# #0xf3# #0x9e# #0xc1# #0xf2# #0x41# #0x92# #0xf3#
#0x67# #0x5e# #0xa5# #0xc3# #0x9e# #0xc1# #0x67# #0x5e#
#0x65# #0xfa# #0x3b# #0x90# #0xa5# #0xc3# #0x65# #0xfa#
#0x84# #0x2d# #0x61# #0xc5# #0x3b# #0x90# #0x84# #0x2d#
#0xad# #0x92# #0x5d# #0xb1# #0x61# #0xc5# #0xad# #0x92#
#0x64# #0xb5# #0xb3# #0x17# #0x5d# #0xb1# #0x64# #0xb5#
-------
[../rohc-
cket #1
[../rohc-
te(s) of padding
[../rohc-
found, CID defaults to 0
[../rohc-
IR packet
[../rohc-
und in IR packet
[../rohc-
0 either does not already exist or does not match profile 0x0001 found in IR pac
ket
[../rohc-
hain detected
[../rohc-
fields 2 + 4-7 = 19 bytes
[../rohc-
[../rohc-
packet header : 38
[ERROR] [../rohc-
C failed (real = 0xdd, calc = 0x92, profile_id = 1, largecid = 0, addcidUsed = 0
, ir_size = 38)
[ERROR] [../rohc-
has incorrect CRC, abort all changes
[../rohc-
ssor = 1
[../rohc-
[../rohc-
Decompression failed, cannot compare the packets!
</packet>
<summary>
</summary>
<infos>
"alpha" active="yes" />
"1.0b" active="yes" />
sion="1.0b" active="yes" />
1.0b" active="yes" />
version="1.0b" active="yes" />
0" recv_feedback="0" />
"alpha" active="yes" />
"1.0b" active="yes" />
sion="1.0b" active="yes" />
1.0b" active="yes" />
version="1.0b" active="yes" />
r" version="1.0" active="yes" />
n="1.0" active="yes" />
="1.0" active="yes" />
ersion="1.0" active="yes" />
n="beta" active="yes" />
r" version="1.0" active="yes" />
n="1.0" active="yes" />
="1.0" active="yes" />
ersion="1.0" active="yes" />
n="beta" active="yes" />
</infos>
<shutdown>
[../rohc-
[../rohc-
ffer
[../rohc-
[../rohc-
ffer
</shutdown>
</test>
Question information
- Language:
- English Edit question
- Status:
- Solved
- For:
- rohc Edit question
- Assignee:
- No assignee Edit question
- Last query:
- Last reply: