← Back to team overview

rohc team mailing list archive

Re: [Question #232430]: Question about IR/IR-DYN remainder header?


Question #232430 on rohc changed:

    Status: Open => Answered

Didier Barvaux proposed the following answer:

The code_ir_remainder() callback is used by compression profiles that
need to append some bytes at the end of the IR and IR-DYN packets. The
IP/UDP, IP/UDP-Lite and IP-only profiles make use of it to append an
additional 2-byte SN field.

The 2-byte SN field is described for the UDP profile in RFC 3095 §5.11.1 (https://tools.ietf.org/html/rfc3095#section-5.11.1):
   For ROHC UDP, the dynamic part of a UDP packet is different from
   section a two-octet field containing the UDP SN is added
   after the Checksum field.  This affects the format of dynamic chains
   in IR and IR-DYN packets.

In source code, the c_ip_code_ir_remainder() function in the
src/comp/c_ip.c file implements the code_ir_remainder() callback and
appends the 2-byte SN field.


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