remove unsupported option types from enum
This commit is contained in:
@@ -95,8 +95,6 @@ TcpOption::IsKindKnown (uint8_t kind)
|
||||
case NOP:
|
||||
case MSS:
|
||||
case WINSCALE:
|
||||
case SACK_PERM:
|
||||
case SACK:
|
||||
case TS:
|
||||
return true;
|
||||
}
|
||||
|
||||
@@ -50,12 +50,12 @@ public:
|
||||
*/
|
||||
enum Kind
|
||||
{
|
||||
// Remember to extend IsKindKnown() with new value, when adding values here
|
||||
//
|
||||
END = 0, //!< END
|
||||
NOP = 1, //!< NOP
|
||||
MSS = 2, //!< MSS
|
||||
WINSCALE = 3, //!< WINSCALE
|
||||
SACK_PERM = 4,//!< SACK_PERM
|
||||
SACK = 5, //!< SACK
|
||||
TS = 8 //!< TS
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user