Cisco Cisco Packet Data Interworking Function (PDIF)
RoHC Profile Compression Configuration Mode Commands
▀ rtp-sn-p
▄ Command Line Interface Reference, StarOS Release 18
8306
rtp-sn-p
Specifies the value of p in RTP SN (RTP Sequence Number) calculation. Least Significant Bits (LSB) encoding is used
for header fields whose values are usually subject to small changes. With LSB encoding, the k least significant bits of
the field value are transmitted instead of the original field value, where k is a positive integer. After receiving k bits, the
decompressor derives the original value using a previously received value as reference (v_ref). The scheme is
guaranteed to be correct if the compressor and the decompressor each use interpretation intervals as follows:
for header fields whose values are usually subject to small changes. With LSB encoding, the k least significant bits of
the field value are transmitted instead of the original field value, where k is a positive integer. After receiving k bits, the
decompressor derives the original value using a previously received value as reference (v_ref). The scheme is
guaranteed to be correct if the compressor and the decompressor each use interpretation intervals as follows:
In which the original value resides
And in which the original value is the only value that has the exact same k least significant bits as those transmitted.
The interpretation interval can be described as a function:
f(v_ref, k). Let f(v_ref, k) = [v_ref - p, v_ref + (2^k - 1) - p]
Where p is an integer.
Product
HSGW
PDSN
Privilege
Administrator
Mode
Exec > Global Configuration > RoHC Profile Configuration > RoHC Profile Compression Configuration
configure > rohc-profile profile-name profile_name > compression-options
Entering the above command sequence results in the following prompt:
[context_name]host_name(config-rohcprofile-profile_name-comp)#
Syntax
rtp-sn-p p_value
default rtp-sn-p
default
Returns the command to its default value.
p_value
Specifies the value of p in the RTP SN calculation as an integer from 0 through 999.
Default: 6
Default: 6
Usage
Use this command to set the value for p when performing the RTP SN calculation.
Example
The following command sets the value of p to 100:
rtp-sn-p 100