/** @file\r
IP4 option support routines.\r
\r
-Copyright (c) 2005 - 2006, Intel Corporation.<BR>\r
-All rights reserved. This program and the accompanying materials\r
+Copyright (c) 2005 - 2009, Intel Corporation. All rights reserved.<BR>\r
+This program and the accompanying materials\r
are licensed and made available under the terms and conditions of the BSD License\r
which accompanies this distribution. The full text of the license may be found at\r
http://opensource.org/licenses/bsd-license.php\r
#ifndef __EFI_IP4_OPTION_H__\r
#define __EFI_IP4_OPTION_H__\r
\r
-typedef enum {\r
- IP4_OPTION_EOP = 0,\r
- IP4_OPTION_NOP = 1,\r
- IP4_OPTION_LSRR = 131, // Loss source and record routing, 10000011\r
- IP4_OPTION_SSRR = 137, // Strict source and record routing, 10001001\r
- IP4_OPTION_RR = 7, // Record routing, 00000111\r
+#define IP4_OPTION_EOP 0\r
+#define IP4_OPTION_NOP 1\r
+#define IP4_OPTION_LSRR 131 // Loss source and record routing, 10000011\r
+#define IP4_OPTION_SSRR 137 // Strict source and record routing, 10001001\r
+#define IP4_OPTION_RR 7 // Record routing, 00000111\r
\r
- IP4_OPTION_COPY_MASK = 0x80\r
-} IP4_OPTION_ENUM_TYPES;\r
+#define IP4_OPTION_COPY_MASK 0x80\r
\r
/**\r
Validate the IP4 option format for both the packets we received\r