As far as I can see the rohc_compress4() reads the complete IP packet
from one buffer and writes the compressed header(s) and the payload to
another buffer. Is there a way to set the compressor to only read the
header(s) and write the compressed headers? The purpose is to avoid copying
he unchanged payload from one buffer to another.
I have tried by setting the struct rohc_buf len member to the length of the
headers but then the compression fails. It seems like the len member has to
match the IP headers total lenght field to obtain successful compression.
_______________________________________________
Mailing list: https://launchpad.net/~rohc
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~rohc
More help   : https://help.launchpad.net/ListHelp

Reply via email to