← Back to team overview

rohc team mailing list archive

Re: [Question #245791]: TCP

 

Question #245791 on rohc changed:
https://answers.launchpad.net/rohc/+question/245791

Didier Barvaux posted a new comment:
Hello,

Thank you for the uncompressed/compressed flows. I reproduced the problem, I think.
a/ the 8th packet is decompressed without error, but it doesn't match the uncompressed packet you gave me,
b/ the 15th packet fails to be decompressed.


a/ Error for 8th packet:
------------------------------ Compare ------------------------------
--------- reference ----------         ----------- new --------------
packets have different sizes (47 != 52), compare only the 47 first bytes
[0x45]  [0x00]  [0x00]  #0x2f#         [0x45]  [0x00]  [0x00]  #0x34#
[0x3e]  [0xe0]  [0x40]  [0x00]         [0x3e]  [0xe0]  [0x40]  [0x00]
[0x80]  [0x06]  [0x5d]  #0xb8#         [0x80]  [0x06]  [0x5d]  #0xb3#
[0xc0]  [0xa8]  [0x91]  [0x7c]         [0xc0]  [0xa8]  [0x91]  [0x7c]
[0x0a]  [0x0a]  [0x02]  [0x02]         [0x0a]  [0x0a]  [0x02]  [0x02]
[0x09]  [0x62]  [0x20]  [0xfb]         [0x09]  [0x62]  [0x20]  [0xfb]
#0x55#  #0x4e#  #0xf5#  #0x38#         #0x54#  #0xef#  #0x53#  #0x88#
[0x00]  [0x00]  [0x00]  [0x00]         [0x00]  [0x00]  [0x00]  [0x00]
#0x50#  [0x02]  #0x8f#  [0xff]         #0x80#  [0x02]  #0xff#  [0xff]
#0xf3#  #0xe1#  [0x00]  [0x00]         #0x3e#  #0x1a#  [0x00]  [0x00]
#0x6a#  #0x8b#  #0x88#  #0xd0#         #0x02#  #0x04#  #0x05#  #0xac#
#0x5a#  #0xc0#  #0x31#                 #0x01#  #0x03#  #0x03#
----------------------- packets are different -----------------------


b/ Error for 15th packet:
[DEBUG] [d_tcp.c:5064 d_tcp_decode_CO()] header_crc (0x5f) != crc (0x70) on 16 bytes
[DEBUG] [d_tcp.c:794 d_tcp_decode()] return -5
[WARNING] [rohc_decomp.c:1518 d_decode_header()] failed to decompress packet (code = -5)
[DEBUG] [rohc_decomp.c:976 rohc_decompress2()] state in decompressor = 3
[WARNING] [rohc_decomp.c:1011 rohc_decompress2()] packet decompression failed with code ROHC_ERROR_PACKET_FAILED or ROHC_ERROR


I have yet to analyze the 2 problems. Maybe they are related to each others.

I create a new small test tool named 'test_interop' to ease the
analysis: it tests the interoperability of the ROHC library with other
implementation. The tool takes one ROHC flow and one related
uncompressed flow (both generated by another ROHC implementation) as
input and checks whether the ROHC library is able to decompress the ROHC
flow the same way the other equipment. I'll add it to the ROHC library
once I cleaned it a little bit.

Regards,
Didier

-- 
You received this question notification because you are a member of ROHC
Team, which is an answer contact for rohc.