Ejemplo n.º 1
0
 /// <summary>
 /// Two stream identifier options are equal if they have the same identifier.
 /// </summary>
 public override bool Equals(IpV4Option other)
 {
     return(Equals(other as IpV4OptionStreamIdentifier));
 }
Ejemplo n.º 2
0
 /// <summary>
 /// Two trace route options are equal iff they have the exact same field values.
 /// </summary>
 public override bool Equals(IpV4Option other)
 {
     return(Equals(other as IpV4OptionQuickStart));
 }
Ejemplo n.º 3
0
 /// <summary>
 /// Two stream identifier options are equal if they have the same identifier.
 /// </summary>
 public override bool Equals(IpV4Option other)
 {
     return(Equals(other as IpV4OptionRouterAlert));
 }
Ejemplo n.º 4
0
 /// <summary>
 /// Two routes options are equal iff they have the same type, same pointed address index and same route.
 /// </summary>
 public sealed override bool Equals(IpV4Option other)
 {
     return(Equals(other as IpV4OptionRoute));
 }
Ejemplo n.º 5
0
 /// <summary>
 /// Two options are equal if they have the same value (timestamp, overflow, pointed equals and addresses).
 /// </summary>
 public sealed override bool Equals(IpV4Option other)
 {
     return(Equals(other as IpV4OptionTimestamp));
 }
Ejemplo n.º 6
0
 /// <summary>
 /// Two trace route options are equal iff they have the exact same field values.
 /// </summary>
 public override bool Equals(IpV4Option other)
 {
     return(Equals(other as IpV4OptionTraceRoute));
 }
Ejemplo n.º 7
0
 /// <summary>
 /// Two security options are equal iff they have the exact same field values.
 /// </summary>
 public override bool Equals(IpV4Option other)
 {
     return(Equals(other as IpV4OptionBasicSecurity));
 }
Ejemplo n.º 8
0
 /// <summary>
 /// Two unknown options are equal iff they are of equal type and equal data.
 /// </summary>
 public override bool Equals(IpV4Option other)
 {
     return(Equals(other as IpV4OptionUnknown));
 }