← Back to team overview

rohc team mailing list archive

Decompressor query

 

Hello all,
              I have setup rohc library on two machines and managed to send
rohc compressed packets using the udp tunnel application across the
test-bed. But I have the following queries:
1.) When I sent ICMP (ping) messages between the two machines through the
tunnel, the compressed packets are received and de-compressed at the
receiver. But I am not a 100% as to the different fields of info produced in
the output file at the decompressor.
2.) Am I able to configure to get more info if necessary on the output file?
3.) When I use a packet generating tool like ³mz² to send packets through
the udp tunnel, the packets are received but the decompressor is unable to
get state and decompress the packets. I have attached the screen output for
further info, any feedback on this would be great.

rohc_decomp.c:432 rohc_decompress()] decompress the packet #104
[rohc_decomp.c:587 d_decode_feedback_first()] skip 0 byte(s) of padding
[rohc_decomp.c:922 rohc_decomp_decode_cid()] add-CID present (0xe1) contains
CID = 1
[rohc_decomp.c:762 d_decode_header()] ROHC packet is not an IR packet
[rohc_decomp.c:777 d_decode_header()] context with CID 1 found
[rohc_decomp.c:815 d_decode_header()] the second byte in the packet is at
offset 1
[d_generic.c:2524 d_generic_decode()] nbo = 1 rnd = 0
[d_generic.c:2604 d_generic_decode()] decode the packet (type 0)
[d_generic.c:2687 decode_uo0()] first byte = 0x23 (real CRC = 0x3, SN = 0x4)
[d_generic.c:3517 do_decode_uo0_and_uo1()] SN = 4
[d_generic.c:3547 do_decode_uo0_and_uo1()] outer IP-ID = 0xab36 (rnd = 0, ID
bits = 0)
[d_udp.c:507 udp_decode_uo_tail_udp()] UDP checksum = 0xe78a
[d_generic.c:5543 build_uncompressed_ip4()] IP-ID = 0xab36
[d_generic.c:5547 build_uncompressed_ip4()] IHL = 0x5
[d_generic.c:5552 build_uncompressed_ip4()] Total Length = 0x00d2 (IHL * 4 +
190)
[d_generic.c:5555 build_uncompressed_ip4()] IP checksum = 0xada5
[d_udp.c:562 udp_build_uncompressed_udp()] UDP checksum = 0xe78a
[d_udp.c:566 udp_build_uncompressed_udp()] UDP length = 0x00be
[d_generic.c:3668 do_decode_uo0_and_uo1()] size = 28 => CRC = 0x1
[ERROR] [d_generic.c:2707 decode_uo0()] CRC failure (calc = 0x1, real = 0x3)
[d_generic.c:2708 decode_uo0()] uncompressed headers (length = 28): 0x45
0x00 0x00 0xd2 0xab 0x36 0x00 0x00 0xff 0x11 0xad 0xa5 0x8b 0x85 0xcc 0xb7
0x0a 0x00 0x00 0x02 0x75 0x30 0x75 0x30 0x00 0xbe 0xe7 0x8a
[ERROR] [d_generic.c:5714 act_on_crc_failure()] try to repair the CRC
[ERROR] [d_generic.c:5750 act_on_crc_failure()] repair with the assumption:
incorrect SN-updates
[d_generic.c:5752 act_on_crc_failure()] inter_arrival_time = 17979 and
current interval is = 20017
[d_generic.c:5763 act_on_crc_failure()] with old ref value we get the same
sn
[rohc_decomp.c:444 rohc_decompress()] state in decompressor = 3
[rohc_decomp.c:503 rohc_decompress()] feedback curr 100
[rohc_decomp.c:504 rohc_decompress()] feedback max 300
decompression of packet #104 failed
-------------------------------
ROHC packet (186 bytes):
e1 23 e7 8a 80 00 00 03     00 00 01 e0 ca fe fe ed
00 01 03 51 00 02 7b 37     00 00 00 00 00 00 00 00
00 00 00 00 00 00 00 00     00 00 00 00 00 00 00 00
00 00 00 00 00 00 00 00     00 00 00 00 00 00 00 00
00 00 00 00 00 00 00 00     00 00 00 00 00 00 00 00
00 00 00 00 00 00 00 00     00 00 00 00 00 00 00 00
00 00 00 00 00 00 00 00     00 00 00 00 00 00 00 00
00 00 00 00 00 00 00 00     00 00 00 00 00 00 00 00
00 00 00 00 00 00 00 00     00 00 00 00 00 00 00 00
00 00 00 00 00 00 00 00     00 00 00 00 00 00 00 00
00 00 00 00 00 00 00 00     00 00 00 00 00 00 00 00
42 42 42 42 42 42 42 42     42 42
-------------------------------
[rohc_decomp.c:432 rohc_decompress()] decompress the packet #105
[rohc_decomp.c:587 d_decode_feedback_first()] skip 0 byte(s) of padding
[rohc_decomp.c:922 rohc_decomp_decode_cid()] add-CID present (0xe1) contains
CID = 1
[rohc_decomp.c:762 d_decode_header()] ROHC packet is not an IR packet
[rohc_decomp.c:777 d_decode_header()] context with CID 1 found
[rohc_decomp.c:815 d_decode_header()] the second byte in the packet is at
offset 1
[d_generic.c:2524 d_generic_decode()] nbo = 1 rnd = 0
[d_generic.c:2604 d_generic_decode()] decode the packet (type 0)
[d_generic.c:2687 decode_uo0()] first byte = 0x2a (real CRC = 0x2, SN = 0x5)
[d_generic.c:3517 do_decode_uo0_and_uo1()] SN = 5
[d_generic.c:3547 do_decode_uo0_and_uo1()] outer IP-ID = 0xab37 (rnd = 0, ID
bits = 0)
[d_udp.c:507 udp_decode_uo_tail_udp()] UDP checksum = 0x986b
[d_generic.c:5543 build_uncompressed_ip4()] IP-ID = 0xab37
[d_generic.c:5547 build_uncompressed_ip4()] IHL = 0x5
[d_generic.c:5552 build_uncompressed_ip4()] Total Length = 0x00d2 (IHL * 4 +
190)
[d_generic.c:5555 build_uncompressed_ip4()] IP checksum = 0xada4
[d_udp.c:562 udp_build_uncompressed_udp()] UDP checksum = 0x986b
[d_udp.c:566 udp_build_uncompressed_udp()] UDP length = 0x00be
[d_generic.c:3668 do_decode_uo0_and_uo1()] size = 28 => CRC = 0x0
[ERROR] [d_generic.c:2707 decode_uo0()] CRC failure (calc = 0x0, real = 0x2)
[d_generic.c:2708 decode_uo0()] uncompressed headers (length = 28): 0x45
0x00 0x00 0xd2 0xab 0x37 0x00 0x00 0xff 0x11 0xad 0xa4 0x8b 0x85 0xcc 0xb7
0x0a 0x00 0x00 0x02 0x75 0x30 0x75 0x30 0x00 0xbe 0x98 0x6b
[ERROR] [d_generic.c:5714 act_on_crc_failure()] try to repair the CRC
[ERROR] [d_generic.c:5750 act_on_crc_failure()] repair with the assumption:
incorrect SN-updates
[d_generic.c:5752 act_on_crc_failure()] inter_arrival_time = 17979 and
current interval is = 39031
[d_generic.c:5763 act_on_crc_failure()] with old ref value we get the same
sn
[rohc_decomp.c:444 rohc_decompress()] state in decompressor = 3
[rohc_decomp.c:503 rohc_decompress()] feedback curr 200
[rohc_decomp.c:504 rohc_decompress()] feedback max 300
decompression of packet #105 failed
-------------------------------
ROHC packet (186 bytes):
e1 2a 98 6b 80 00 00 04     00 00 02 80 ca fe fe ed
00 01 03 51 00 02 c9 b5     00 00 00 00 00 00 00 00
00 00 00 00 00 00 00 00     00 00 00 00 00 00 00 00
00 00 00 00 00 00 00 00     00 00 00 00 00 00 00 00
00 00 00 00 00 00 00 00     00 00 00 00 00 00 00 00
00 00 00 00 00 00 00 00     00 00 00 00 00 00 00 00
00 00 00 00 00 00 00 00     00 00 00 00 00 00 00 00
00 00 00 00 00 00 00 00     00 00 00 00 00 00 00 00
00 00 00 00 00 00 00 00     00 00 00 00 00 00 00 00
00 00 00 00 00 00 00 00     00 00 00 00 00 00 00 00
00 00 00 00 00 00 00 00     00 00 00 00 00 00 00 00
42 42 42 42 42 42 42 42     42 42
-------------------------------


Regards,
Nikhil Ninan


Follow ups