Exemple #1
0
 public _FlowKey(ref _FlowKeyInternetworkV6 flowKeyInternetworkV6)
 {
     this.protocolFamily        = (ushort)ProtocolFamily.InterNetworkV6;
     this.nullFlowKey           = default;
     this.flowKeyInternetwork   = default;
     this.flowKeyInternetworkV6 = flowKeyInternetworkV6;
 }
Exemple #2
0
 public _FlowKey(ref _NullFlowKey nullFlowKey)
 {
     this.protocolFamily        = 0;
     this.flowKeyInternetwork   = default;
     this.flowKeyInternetworkV6 = default;
     this.nullFlowKey           = nullFlowKey;
 }
 public FlowKeyInternetwork(ushort protocolType, uint sourceAddressBytes, ushort sourcePort, uint destinationAddressBytes, ushort destinationPort)
 {
     _data = new _FlowKeyInternetwork(protocolType, sourceAddressBytes, sourcePort, destinationAddressBytes, destinationPort);
 }
 public FlowKeyInternetwork(_FlowKeyInternetwork data)
 {
     _data = data;
 }
 public FlowKeyInternetwork(ProtocolType protocolType, ReadOnlySpan <byte> sourceIpAddress, ushort sourcePort, ReadOnlySpan <byte> destinationIpAddress, ushort destinationPort)
 {
     _data = new _FlowKeyInternetwork((ushort)protocolType, BinaryPrimitives.ReadUInt32LittleEndian(sourceIpAddress), sourcePort, BinaryPrimitives.ReadUInt32LittleEndian(destinationIpAddress), destinationPort);
 }