ROHC compression/decompression library
ip_numbers.h
Go to the documentation of this file.
00001 /**
00002  * @file   ip_numbers.h
00003  * @brief  Defines the IPv4 protocol numbers
00004  * @author Free Software Foundation, Inc
00005  *
00006  * This file contains some parts from the GNU C library. It is copied here to
00007  * be portable on all platforms, even the platforms that miss the
00008  * declarations or got different declarations, such as Microsoft Windows or
00009  * FreeBSD.
00010  */
00011 
00012 #ifndef ROHC_PROTOCOLS_NUMBERS_H
00013 #define ROHC_PROTOCOLS_NUMBERS_H
00014 
00015 enum
00016 {
00017         /** The IP protocol number for Hop-by-Hop option */
00018         ROHC_IPPROTO_HOPOPTS = 0,
00019         /** The IP protocol number for IPv4-in-IPv4 tunnels */
00020         ROHC_IPPROTO_IPIP    = 4,
00021         /** The IP protocol number for the User Datagram Protocol (UDP) */
00022         ROHC_IPPROTO_UDP     = 17,
00023         /** The IP protocol number for IPv6 */
00024         ROHC_IPPROTO_IPV6    = 41,
00025         /** The IP protocol number for IPv6 routing header */
00026         ROHC_IPPROTO_ROUTING = 43,
00027         /** The IP protocol number for the Encapsulating Security Payload (ESP)  */
00028         ROHC_IPPROTO_ESP     = 50,
00029         /** The IP protocol number for Authentication Header */
00030         ROHC_IPPROTO_AH      = 51,
00031         /** The IP protocol number for IPv6 destination option */
00032         ROHC_IPPROTO_DSTOPTS = 60,
00033         /** The IP protocol number for UDP-Lite */
00034         ROHC_IPPROTO_UDPLITE = 136,
00035 };
00036 
00037 #endif