| 
    ROHC compression/decompression library
    
   | 
 
ROHC compression context for the UDP profile. More...


Go to the source code of this file.
Functions | |
| size_t | udp_code_uo_remainder (const struct rohc_comp_ctxt *context, const uint8_t *next_header, uint8_t *const dest, const size_t counter) | 
| Build UDP-related fields in the tail of the UO packets.  More... | |
| size_t | udp_code_static_udp_part (const struct rohc_comp_ctxt *const context, const uint8_t *const next_header, uint8_t *const dest, const size_t counter) | 
| Build the static part of the UDP header.  More... | |
ROHC compression context for the UDP profile.
| size_t udp_code_static_udp_part | ( | const struct rohc_comp_ctxt *const | context, | 
| const uint8_t *const | next_header, | ||
| uint8_t *const | dest, | ||
| const size_t | counter | ||
| ) | 
Build the static part of the UDP header.
 Static part of UDP header (5.7.7.5):
    +---+---+---+---+---+---+---+---+
 1  /          Source Port          /   2 octets
    +---+---+---+---+---+---+---+---+
 2  /       Destination Port        /   2 octets
    +---+---+---+---+---+---+---+---+| context | The compression context | 
| next_header | The UDP header | 
| dest | The rohc-packet-under-build buffer | 
| counter | The current position in the rohc-packet-under-build buffer | 
| size_t udp_code_uo_remainder | ( | const struct rohc_comp_ctxt *const | context, | 
| const uint8_t *const | next_header, | ||
| uint8_t *const | dest, | ||
| const size_t | counter | ||
| ) | 
Build UDP-related fields in the tail of the UO packets.
     --- --- --- --- --- --- --- ---
    :                               :
 13 +         UDP Checksum          +  2 octets,
    :                               :  if context(UDP Checksum) != 0
     --- --- --- --- --- --- --- ---| context | The compression context | 
| next_header | The UDP header | 
| dest | The rohc-packet-under-build buffer | 
| counter | The current position in the rohc-packet-under-build buffer | 
 1.8.14