Esempio 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));
 }
Esempio 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));
 }
Esempio 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));
 }
Esempio 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));
 }
Esempio 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));
 }
Esempio 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));
 }
Esempio 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));
 }
Esempio 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));
 }