コード例 #1
0
 public override int GetHashCode()
 {
     unchecked
     {
         return(MssRange.GetHashCode());
     }
 }
コード例 #2
0
 public override int GetHashCode()
 {
     unchecked
     {
         return((Mark.GetHashCode() * 397) ^ Mask);
     }
 }
コード例 #3
0
ファイル: UdpModule.cs プロジェクト: a1binos/IPTables.Net
 public override int GetHashCode()
 {
     unchecked
     {
         int hashCode = (DestinationPort != null ? DestinationPort.GetHashCode() : 0);
         hashCode = (hashCode * 397) ^ (SourcePort != null ? SourcePort.GetHashCode() : 0);
         return(hashCode);
     }
 }
コード例 #4
0
 public override int GetHashCode()
 {
     unchecked
     {
         int hashCode = (Ports.GetHashCode());
         hashCode = (hashCode * 397) ^ (DestinationPorts.GetHashCode());
         hashCode = (hashCode * 397) ^ (SourcePorts.GetHashCode());
         return(hashCode);
     }
 }
コード例 #5
0
 public override int GetHashCode()
 {
     unchecked
     {
         var hashCode = (int)Mode;
         hashCode = (hashCode * 397) ^ Every.GetHashCode();
         hashCode = (hashCode * 397) ^ (int)Packet;
         return(hashCode);
     }
 }
コード例 #6
0
 public override int GetHashCode()
 {
     unchecked
     {
         var hashCode = MatchSet.GetHashCode();
         hashCode = (hashCode * 397) ^ (MatchSetFlags != null ? MatchSetFlags.GetHashCode() : 0);
         hashCode = (hashCode * 397) ^ (int)MatchSetMode;
         return(hashCode);
     }
 }
コード例 #7
0
 public override int GetHashCode()
 {
     unchecked
     {
         int hashCode = (int)Algorithm;
         hashCode = (hashCode * 397) ^ From;
         hashCode = (hashCode * 397) ^ To;
         hashCode = (hashCode * 397) ^ (int)Notation;
         hashCode = (hashCode * 397) ^ (Pattern != null ? Pattern.GetHashCode() : 0);
         return(hashCode);
     }
 }
コード例 #8
0
ファイル: RecentModule.cs プロジェクト: a1binos/IPTables.Net
 public override int GetHashCode()
 {
     unchecked
     {
         int hashCode = (Mode != null ? Mode.GetHashCode() : 0);
         hashCode = (hashCode * 397) ^ (Name != null ? Name.GetHashCode() : 0);
         hashCode = (hashCode * 397) ^ Rsource.GetHashCode();
         hashCode = (hashCode * 397) ^ Seconds.GetHashCode();
         hashCode = (hashCode * 397) ^ Reap.GetHashCode();
         hashCode = (hashCode * 397) ^ HitCount.GetHashCode();
         hashCode = (hashCode * 397) ^ Rttl.GetHashCode();
         hashCode = (hashCode * 397) ^ Mask.GetHashCode();
         return(hashCode);
     }
 }
コード例 #9
0
 public override int GetHashCode()
 {
     unchecked
     {
         int hashCode = (MatchSet.GetHashCode());
         hashCode = (hashCode * 397) ^ (MatchSetFlags != null ? MatchSetFlags.GetHashCode() : 0);
         hashCode = (hashCode * 397) ^ ReturnNoMatch.GetHashCode();
         hashCode = (hashCode * 397) ^ UpdateCounters.GetHashCode();
         hashCode = (hashCode * 397) ^ UpdateSubCounters.GetHashCode();
         hashCode = (hashCode * 397) ^ _packetsValue;
         hashCode = (hashCode * 397) ^ (int)PacketsMatch;
         hashCode = (hashCode * 397) ^ _bytesValue;
         hashCode = (hashCode * 397) ^ (int)BytesMatch;
         return(hashCode);
     }
 }
コード例 #10
0
 public override int GetHashCode()
 {
     return(SrcGroup.GetHashCode() ^ DstGroup.GetHashCode());
 }
コード例 #11
0
ファイル: HelperModule.cs プロジェクト: a1binos/IPTables.Net
 public override int GetHashCode()
 {
     return(Helper.GetHashCode());
 }
コード例 #12
0
 public override int GetHashCode()
 {
     return(Length.GetHashCode());
 }