1*5113495bSYour Name /* 2*5113495bSYour Name * Copyright (c) 2012 The Linux Foundation. All rights reserved. 3*5113495bSYour Name * 4*5113495bSYour Name * Previously licensed under the ISC license by Qualcomm Atheros, Inc. 5*5113495bSYour Name * 6*5113495bSYour Name * 7*5113495bSYour Name * Permission to use, copy, modify, and/or distribute this software for 8*5113495bSYour Name * any purpose with or without fee is hereby granted, provided that the 9*5113495bSYour Name * above copyright notice and this permission notice appear in all 10*5113495bSYour Name * copies. 11*5113495bSYour Name * 12*5113495bSYour Name * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL 13*5113495bSYour Name * WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED 14*5113495bSYour Name * WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE 15*5113495bSYour Name * AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL 16*5113495bSYour Name * DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR 17*5113495bSYour Name * PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER 18*5113495bSYour Name * TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR 19*5113495bSYour Name * PERFORMANCE OF THIS SOFTWARE. 20*5113495bSYour Name */ 21*5113495bSYour Name 22*5113495bSYour Name /* 23*5113495bSYour Name * This file was originally distributed by Qualcomm Atheros, Inc. 24*5113495bSYour Name * under proprietary terms before Copyright ownership was assigned 25*5113495bSYour Name * to the Linux Foundation. 26*5113495bSYour Name */ 27*5113495bSYour Name 28*5113495bSYour Name #ifndef _IP_PROT__H_ 29*5113495bSYour Name #define _IP_PROT__H_ 30*5113495bSYour Name 31*5113495bSYour Name 32*5113495bSYour Name #define IP_PROTOCOL_ICMP 0x01 /* Internet Control Message Protocol */ 33*5113495bSYour Name #define IP_PROTOCOL_IGMP 0x02 /* Internet Group Management Protocol */ 34*5113495bSYour Name #define IP_PROTOCOL_IPV4 0x04 /* IPv4 (encapsulation) */ 35*5113495bSYour Name #define IP_PROTOCOL_TCP 0x06 /* Transmission Control Protocol */ 36*5113495bSYour Name #define IP_PROTOCOL_UDP 0x11 /* User Datagram Protocol */ 37*5113495bSYour Name #define IP_PROTOCOL_RDP 0x1B /* Reliable Datagram Protocol */ 38*5113495bSYour Name #define IP_PROTOCOL_IPV6 0x29 /* IPv6 (encapsulation) */ 39*5113495bSYour Name #define IP_PROTOCOL_IPV6_ROUTE 0x2B /* Routing Header for IPv6 */ 40*5113495bSYour Name #define IP_PROTOCOL_IPV6_FRAG 0x2C /* Fragment Header for IPv6 */ 41*5113495bSYour Name #define IP_PROTOCOL_RSVP 0x2E /* Resource Reservation Protocol */ 42*5113495bSYour Name #define IP_PROTOCOL_GRE 0x2F /* Generic Routing Encapsulation */ 43*5113495bSYour Name #define IP_PROTOCOL_MHRP 0x30 /* Mobile Host Routing Protocol */ 44*5113495bSYour Name #define IP_PROTOCOL_BNA 0x31 /* BNA */ 45*5113495bSYour Name #define IP_PROTOCOL_ESP 0x32 /* Encapsulating Security Payload */ 46*5113495bSYour Name #define IP_PROTOCOL_MOBILE 0x37 /* IP Mobility (Min Encap) */ 47*5113495bSYour Name #define IP_PROTOCOL_IPV6_ICMP 0x3A /* ICMP for IPv6 */ 48*5113495bSYour Name #define IP_PROTOCOL_IPV6_NONXT 0x3B /* No Next Header for IPv6 */ 49*5113495bSYour Name #define IP_PROTOCOL_IPV6_OPTS 0x3C /* Destination Options for IPv6 */ 50*5113495bSYour Name #define IP_PROTOCOL_IPCOMP 0x6C /* IP Payload Compression Protocol */ 51*5113495bSYour Name #define IP_PROTOCOL_L2TP 0x73 /* Layer Two Tunneling Protocol Version 3 */ 52*5113495bSYour Name #define IP_PROTOCOL_SMP 0x79 /* Simple Message Protocol */ 53*5113495bSYour Name #define IP_PROTOCOL_SCTP 0x84 /* Stream Control Transmission Protocol */ 54*5113495bSYour Name #define IP_PROTOCOL_SHIM6 0x8C /* Site Multihoming by IPv6 Intermediation */ 55*5113495bSYour Name 56*5113495bSYour Name 57*5113495bSYour Name 58*5113495bSYour Name /* IPv6 ICMP types */ 59*5113495bSYour Name #define IPV6_ICMP_TYPE_MLD 0x8F 60*5113495bSYour Name 61*5113495bSYour Name #endif /* _IP_PROT__H_ */ 62