git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@2796 42af7a65-404d-4744-a932-0658087f49c3
This commit is contained in:
patacongo 2010-07-13 18:56:03 +00:00
parent b4ff182303
commit 2926fe8f32

View File

@ -35,8 +35,8 @@
* *
************************************************************************************************************/ ************************************************************************************************************/
#ifndef __NET_UIP_IPOPT_H #ifndef __NET_UIP_UIP_IPOPT_H
#define __NET_UIP_IPOPT_H #define __NET_UIP_UIP_IPOPT_H
/************************************************************************************************************ /************************************************************************************************************
* Included Files * Included Files
@ -115,39 +115,39 @@
/* Option Copy Class Length Description References /* Option Copy Class Length Description References
* ------ ---- ----- --------- ------------------------------------------------ * ------ ---- ----- --------- ------------------------------------------------
* 0 0 0 1 End of options list. RFC 791 * 0 0 0 1 End of options list (RFC 791)
* 1 0 0 1 NOP. RFC 791 * 1 0 0 1 NOP (RFC 791
* 2 1 0 11 Security. RFC 791, RFC 1108 * 2 1 0 11 Security (RFC 791, RFC 1108)
* 3 1 0 variable Loose Source Route. RFC 791 * 3 1 0 variable Loose Source Route (RFC 791)
* 4 0 2 variable Time stamp. RFC 781, RFC 791 * 4 0 2 variable Time stamp (RFC 781, RFC 791)
* 5 1 0 3-31 Extended Security. RFC 1108 * 5 1 0 3-31 Extended Security (RFC 1108)
* 6 1 0 Commercial Security. * 6 1 0 Commercial Security
* 7 0 0 variable Record Route. RFC 791 * 7 0 0 variable Record Route (RFC 791)
* 8 1 0 4 Stream Identifier. RFC 791, RFC 1122 * 8 1 0 4 Stream Identifier (RFC 791, RFC 1122)
* 9 1 0 variable Strict Source Route. RFC 791 * 9 1 0 variable Strict Source Route (RFC 791)
* 10 0 0 Experimental Measurement. * 10 0 0 Experimental Measurement
* 11 0 0 4 MTU Probe. (obsolete). RFC 1063 * 11 0 0 4 MTU Probe (obsolete) (RFC 1063)
* 12 0 0 4 MTU Reply. (obsolete). RFC 1063 * 12 0 0 4 MTU Reply (obsolete) (RFC 1063)
* 13 1 2 Experimental Flow Control. * 13 1 2 Experimental Flow Control
* 14 1 0 Expermental Access Control. * 14 1 0 Experimental Access Control
* 15 0 0 ENCODE. * 15 0 0 ENCODE
* 16 1 0 IMI Traffic Descriptor. * 16 1 0 IMI Traffic Descriptor
* 17 1 0 variable Extended Internet Protocol. RFC 1385 * 17 1 0 variable Extended Internet Protocol (RFC 1385)
* 18 0 2 12 Traceroute. RFC 1393 * 18 0 2 12 Traceroute (RFC 1393)
* 19 1 0 10 Address Extension. RFC 1475 * 19 1 0 10 Address Extension (RFC 1475)
* 20 1 0 4 Router Alert. RFC 2113 * 20 1 0 4 Router Alert (RFC 2113)
* 21 1 0 6-38 Selective Directed Broadcast Mode. RFC 1770 * 21 1 0 6-38 Selective Directed Broadcast Mode (RFC 1770)
* 22 1 0 * 22 1 0
* 23 1 0 Dynamic Packet State. * 23 1 0 Dynamic Packet State
* 24 1 0 Upstream Multicast Packet. * 24 1 0 Upstream Multicast Packet
* 25 0 0 QS, Quick-Start. RFC 4782 * 25 0 0 QS, Quick-Start (RFC 4782)
* 26 * 26
* - * -
* 29 * 29
* 30 0 0 EXP - RFC3692-style Experiment. RFC 4727 * 30 0 0 EXP - RFC3692-style Experiment (RFC 4727)
* 30 0 2 EXP - RFC3692-style Experiment. RFC 4727 * 30 0 2 EXP - RFC3692-style Experiment (RFC 4727)
* 30 1 0 EXP - RFC3692-style Experiment RFC 4727 * 30 1 0 EXP - RFC3692-style Experiment RFC 4727)
* 30 1 2 EXP - RFC3692-style Experiment. RFC 4727 * 30 1 2 EXP - RFC3692-style Experiment (RFC 4727)
* 31 * 31
*/ */
@ -226,10 +226,13 @@
#define IPOPT_SDBM_TYPE \ #define IPOPT_SDBM_TYPE \
IPOPT_MKTYPE(IPOPT_TYPE_COPIED, IPOPT_TYPE_CLASS_CTRL, IPOPT_TYPE_OPTION_SDBM) IPOPT_MKTYPE(IPOPT_TYPE_COPIED, IPOPT_TYPE_CLASS_CTRL, IPOPT_TYPE_OPTION_SDBM)
#define IPOPT_DPS_TYPE \ #define IPOPT_DPS_TYPE \
IPOPT_MKTYPE(IPOPT_TYPE_COPIED, IPOPT_TYPE_CLASS_CTRL, IPOPT_TYPE_OPTION_DPS) IPOPT_MKTYPE(IPOPT_TYPE_COPIED, IPOPT_TYPE_CLASS_CTRL, IPOPT_TYPE_OPTION_DPS)
#define IPOPT_UMP_TYPE \ #define IPOPT_UMP_TYPE \
IPOPT_MKTYPE(IPOPT_TYPE_COPIED, IPOPT_TYPE_CLASS_CTRL, IPOPT_TYPE_OPTION_UMP) IPOPT_MKTYPE(IPOPT_TYPE_COPIED, IPOPT_TYPE_CLASS_CTRL, IPOPT_TYPE_OPTION_UMP)
#define IPOPT_QS_TYPE \ #define IPOPT_QS_TYPE \
IPOPT_MKTYPE(IPOPT_TYPE_NOTCOPIED, IPOPT_TYPE_CLASS_CTRL, IPOPT_TYPE_OPTION_QS) IPOPT_MKTYPE(IPOPT_TYPE_NOTCOPIED, IPOPT_TYPE_CLASS_CTRL, IPOPT_TYPE_OPTION_QS)
@ -245,4 +248,4 @@
* Public Function Prototypes * Public Function Prototypes
************************************************************************************************************/ ************************************************************************************************************/
#endif /* __NET_UIP_IPOPT_H */ #endif /* __NET_UIP_UIP_IPOPT_H */