ROHC compression/decompression library
|
Defines the IPv4 protocol numbers. More...
#include "ip_numbers.h"
Functions | |
bool | rohc_is_tunneling (const uint8_t protocol) |
Whether the given protocol is IP tunneling. More... | |
bool | rohc_is_ipv6_opt (const uint8_t protocol) |
Whether the given protocol is an IPv6 option. More... | |
const char * | rohc_get_ip_proto_descr (const uint8_t protocol) |
Give a description for the given IP protocol. More... | |
Defines the IPv4 protocol numbers.
const char* rohc_get_ip_proto_descr | ( | const uint8_t | protocol | ) |
Give a description for the given IP protocol.
protocol | The IP protocol to get a description for |
bool rohc_is_ipv6_opt | ( | const uint8_t | protocol | ) |
Whether the given protocol is an IPv6 option.
Handle GRE, Authentication (AH), MINE, and all IPv6 extension headers.
The list of IPv6 extension headers was retrieved from the registry maintained by IANA at: http://www.iana.org/assignments/ipv6-parameters/ipv6-parameters.xhtml Remember to update get_index_ipv6_table if you update the list.
protocol | The protocol number to check for |
bool rohc_is_tunneling | ( | const uint8_t | protocol | ) |
Whether the given protocol is IP tunneling.
protocol | The protocol number to check for |