Functions related to packet detection.
More...
Detailed Description
Functions related to packet detection.
- Author:
- Didier Barvaux <didier.barvaux@toulouse.viveris.com>
-
Didier Barvaux <didier@barvaux.org>
Define Documentation
The magic byte to find out whether a ROHC packet is an IR-DYN packet
The magic bits to find out whether a ROHC packet is an IR packet or not
The magic byte to find out whether a field is a padding field or not
The magic bits to find out whether a field is a segment field or not
Function Documentation
Find out whether a ROHC packet is an IR packet or not.
- Parameters:
-
data | The ROHC packet to analyze |
len | The length of the ROHC packet |
- Returns:
- Whether the ROHC packet is an IR packet or not
Find out whether a ROHC packet is an IR-DYN packet or not.
- Parameters:
-
data | The ROHC packet to analyze |
len | The length of the ROHC packet |
- Returns:
- Whether the ROHC packet is an IR-DYN packet or not
Find out whether the field is a padding field or not.
- Parameters:
-
- Returns:
- Whether the field is a padding field or not
Find out whether the field is a segment field or not.
- Parameters:
-
- Returns:
- Whether the field is a segment field or not
Find out whether a ROHC packet is an UO-0 packet or not.
- Parameters:
-
data | The ROHC packet to analyze |
len | The length of the ROHC packet |
- Returns:
- Whether the ROHC packet is an UO-0 packet or not
Find out whether a ROHC packet is an UO-1* packet or not.
- Parameters:
-
data | The ROHC packet to analyze |
len | The length of the ROHC packet |
- Returns:
- Whether the ROHC packet is an UO-1* packet or not
Find out whether a ROHC packet is an UO-1-TS packet or not.
Check the T field that discriminates between UO-1-TS and UO-1-ID.
- Parameters:
-
data | The ROHC packet to analyze |
len | The length of the ROHC packet |
- Returns:
- Whether the ROHC packet is an UO-1-TS packet or not
Find out whether a ROHC packet is an UOR-2* packet or not.
- Parameters:
-
data | The ROHC packet to analyze |
len | The length of the ROHC packet |
- Returns:
- Whether the ROHC packet is an UOR-2* packet or not
Find out whether a ROHC packet is an UOR-2-TS packet or not.
Check the T field that discriminates between UOR-2-TS and UOR-2-ID.
- Parameters:
-
data | The ROHC packet to analyze |
data_len | The length of the ROHC packet |
large_cid_len | The length of the optional large CID field |
- Returns:
- Whether the ROHC packet is an UOR-2-TS packet or not