ROHC compression/decompression library
|
Defines the IPv4 protocol numbers. More...
Go to the source code of this file.
Enumerations | |
enum | { ROHC_IPPROTO_HOPOPTS = 0, ROHC_IPPROTO_IPIP = 4, ROHC_IPPROTO_TCP = 6, ROHC_IPPROTO_UDP = 17, ROHC_IPPROTO_IPV6 = 41, ROHC_IPPROTO_ROUTING = 43, ROHC_IPPROTO_FRAGMENT = 44, ROHC_IPPROTO_GRE = 47, ROHC_IPPROTO_ESP = 50, ROHC_IPPROTO_AH = 51, ROHC_IPPROTO_MINE = 55, ROHC_IPPROTO_DSTOPTS = 60, ROHC_IPPROTO_MOBILITY = 135, ROHC_IPPROTO_UDPLITE = 136, ROHC_IPPROTO_HIP = 139, ROHC_IPPROTO_SHIM = 140, ROHC_IPPROTO_RESERVED1 = 253, ROHC_IPPROTO_RESERVED2 = 254 } |
The IP numbers defined by IANA. More... | |
Functions | |
bool ROHC_EXPORT | rohc_is_tunneling (const uint8_t protocol) __attribute((warn_unused_result |
bool ROHC_EXPORT | rohc_is_ipv6_opt (const uint8_t protocol) __attribute((warn_unused_result |
Variables | |
bool ROHC_EXPORT | pure |
Defines the IPv4 protocol numbers.
This file contains some parts from the GNU C library. It is copied here to be portable on all platforms, even the platforms that miss the declarations or got different declarations, such as Microsoft Windows or FreeBSD.
The copyright statement of the GNU C library is: Copyright (C) 1991-2001, 2003, 2004, 2006, 2007, 2008, 2011, 2012 Free Software Foundation, Inc.
anonymous enum |
The IP numbers defined by IANA.
Full list at: http://www.iana.org/assignments/protocol-numbers/protocol-numbers.xml
bool ROHC_EXPORT rohc_is_ipv6_opt | ( | const uint8_t | protocol | ) |
bool ROHC_EXPORT rohc_is_tunneling | ( | const uint8_t | protocol | ) |
bool ROHC_EXPORT pure |