← Back to team overview

rohc team mailing list archive

Re: General Error(6) on DB-LSP-DISC

 

Didier,

I've built the rohc for x86_64 and get the following result on 11.pcap

sudo ./rohc_stats comp smallcid /media/X/Development/tmp/11.pcap 
STAT	"packet number"	"context mode"	"context mode (string)"	"context state"	"context state (string)"	"packet type"	"packet type (string)"	"uncompressed packet size (bytes)"	"uncompressed header size (bytes)"	"compressed packet size (bytes)"	"compressed header size (bytes)"
STAT	1	1	U-mode	1	IR	0	IR	159	28	158	27
STAT	2	1	U-mode	1	IR	0	IR	28	0	32	4
STAT	3	1	U-mode	1	IR	0	IR	159	28	158	27
STAT	4	1	U-mode	1	IR	0	IR	159	28	158	27
STAT	5	1	U-mode	1	IR	0	IR	28	0	32	4
STAT	6	1	U-mode	2	FO	7	UOR-2	159	28	139	8
STAT	7	1	U-mode	2	FO	7	UOR-2	159	28	137	6
STAT	8	1	U-mode	1	IR	0	IR	28	0	32	4
STAT	9	1	U-mode	2	FO	7	UOR-2	159	28	137	6
STAT	10	1	U-mode	3	SO	2	UO-0	159	28	136	5
STAT	11	1	U-mode	1	IR	0	IR	631	28	631	28
STAT	12	1	U-mode	1	IR	0	IR	651	48	655	52
STAT	13	1	U-mode	1	IR	0	IR	28	0	32	4
STAT	14	1	U-mode	3	SO	2	UO-0	159	28	136	5

How does that look like?
BTW, I did now add (this was missed in my driver that is linking to rohc.ko) an implicit enable for UNCOMPRESSED profile, however I do still see error 6 on the UDP packet.

Regards,
Yakir 
On 21/03/18, 9:19 AM, "Rohc on behalf of Didier Barvaux" <rohc-bounces+yakir.matusovsky=mimomax.com@xxxxxxxxxxxxxxxxxxx on behalf of didier@xxxxxxxxxxx> wrote:

    Hello,
    
    > Running an RoHC 2.1.0 over a radio link, keep getting code 6 over the
    > broadcasts my MAC generates. These are UDP packets of Dropbox Lan
    > sync Discovery protocol, which will travel through my link (it is in
    > bridged mode) but RoHC refuses to compress them.
    > 
    > IP and UDP profiles are enabled.
    > 
    > Is that supported? Capture is attached.
    
    Yes, they should be compressed with the IP/UDP profile. I tested
    your capture 11.pcap with the 2.1.0 release. It seems to work fine.
    
    Try running the following commands in the 2.1.0 sources:
     $ ./app/stats/rohc_stats comp smallcid /path/to/11.pcap
    
    If it prints some error message, run it again in verbose mode:
     $ ./app/stats/rohc_stats --verbose comp smallcid /path/to/11.pcap
    and send me the output.
    
    
    You wrote that IP and UDP profiles are enabled. Did you enable the
    Uncompressed profile too? If not, it could well explain your problem.
    The 11.pcap capture contains some ARP packets. Those non-IP packets
    cannot be compressed by the IP-only and IP/UDP profiles. You need to
    enable the Uncompressed profile for them.
    
    Regards,
    Didier
    
    _______________________________________________
    Mailing list: https://launchpad.net/~rohc
    Post to     : rohc@xxxxxxxxxxxxxxxxxxx
    Unsubscribe : https://launchpad.net/~rohc
    More help   : https://help.launchpad.net/ListHelp
    


Follow ups

References