rohc team mailing list archive
-
rohc team
-
Mailing list archive
-
Message #02346
A way to let the compressor read and write the headers only?
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.
Follow ups