ROHC compression/decompression library
|
Miscellaneous utils for ROHC libraries. More...
Functions | |
uint32_t | rohc_ntoh32 (const uint32_t net32) |
Convert a 32-bit long integer from network to host byte orders. | |
uint16_t | rohc_ntoh16 (const uint16_t net16) |
Convert a 16-bit short integer from network to host byte orders. | |
uint32_t | rohc_hton32 (const uint32_t host32) |
Convert a 32-bit long integer from host to network byte orders. | |
uint16_t | rohc_hton16 (const uint16_t host16) |
Convert a 16-bit short integer from host to network byte orders. |
Miscellaneous utils for ROHC libraries.
uint16_t rohc_hton16 | ( | const uint16_t | host16 | ) |
Convert a 16-bit short integer from host to network byte orders.
host16 | The 16-bit short integer in host byte order |
Referenced by c_ip_code_ir_remainder(), code_EXT3_packet(), header_fields(), rohc_comp_remove_rtp_port(), and udp_parse_static_udp().
uint32_t rohc_hton32 | ( | const uint32_t | host32 | ) |
Convert a 32-bit long integer from host to network byte orders.
host32 | The 32-bit long integer in host byte order |
uint16_t rohc_ntoh16 | ( | const uint16_t | net16 | ) |
Convert a 16-bit short integer from network to host byte orders.
net16 | The 16-bit short integer in network byte order |
Referenced by c_generic_encode(), c_udp_check_profile(), ip_get_plen(), ip_get_totlen(), ip_is_fragment(), ip_parse_dynamic_ip(), and udp_parse_static_udp().
uint32_t rohc_ntoh32 | ( | const uint32_t | net32 | ) |
Convert a 32-bit long integer from network to host byte orders.
net32 | The 32-bit long integer in network byte order |
Referenced by rohc_compress2().