Packet Descriptor structure.
More...
#include <salld.h>
Detailed Description
Packet Descriptor structure.
The packet may consist of one or more segments. Several assumptions regarding the data organization among these segment(s) were made, in compliance with requirements from the supported protocols. Below are a list of assumptions imposed upon each packet with regard to their corresponding protocol.
- IPSec
- [Transmit] Segment containing IP Header must reserve approx 32 bytes of buffer space at the beginning of the segment, to allow insertion of ESP/AH header after the IP header.
- [Transmit] Final segment containing IP Datagram must reserve approx 32 bytes of buffer space at the end of the segment, to allow insertion of ESP padding, ESP trailer and authentication tag.
- [General] IP Header must be contiguous and in one segment.
- SRTP
- [Transmit] Final segment containing SRTP payload must reserve approx 16 bytes of buffer space at the end of the segment, to allow insertion of MKI and authentication tag.
- [General] RTP Header must be contiguous in one segment.
- [Receive] Total number of segments used to carry SRTP payload may not exceed 10.
- Air Cipher
- No assumptions were made as data segments are untouched by the processing function.
- Data Mode
- No assumptions were made as data segments are untouched by the processing function.
- Note:
- Elements in the packet descriptor structure may change, after each protocol specific processing.
Definition at line 1499 of file salld.h.
Field Documentation
number of segments
Definition at line 1509 of file salld.h.
length of the payload starting from payloadOffset to the end of the protocol
Definition at line 1508 of file salld.h.
offset from base of the packet to the header of protocol per the following list: IPSEC ESP/AH: IP header IPSEC ESP(Output): ESP Header SRTP: RTP header SRTCP: RTCP header 3GPP Air Ciphering: PDU header
Definition at line 1501 of file salld.h.
pointer to segment allocated size array
Definition at line 1512 of file salld.h.
pointer to segment used size array
Definition at line 1511 of file salld.h.
The documentation for this struct was generated from the following file: