Click or drag to resize
BroccoliSharp BroPort Structure
Represents an immutable Bro port and protocol type.

Namespace: BroccoliSharp
Assembly: BroccoliSharp (in BroccoliSharp.dll) Version: 1.0.5434.15853
Syntax
public struct BroPort : IEquatable<BroPort>

The BroPort type exposes the following members.

Constructors
  NameDescription
Public methodBroPort(UInt64, Int32)
Creates a new BroPort for the specified port number and integer protocolType.
Public methodBroPort(UInt64, ProtocolType)
Creates a new BroPort for the specified port number and protocolType enumeration value.
Public methodBroPort(UInt64, String)
Creates a new BroPort for the specified port number and protocol string.
Top
Methods
  NameDescription
Public methodEquals(Object)
Determines whether the specified Object is equal to the current BroPort.
(Overrides ValueTypeEquals(Object).)
Public methodEquals(BroPort)
Indicates whether the current BroPort is equal to another BroPort.
Public methodGetHashCode
Gets a hash code for this BroPort.
(Overrides ValueTypeGetHashCode.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodToString
Returns a string that represents this BroPort.
(Overrides ValueTypeToString.)
Top
Operators
  NameDescription
Public operatorStatic memberEquality
Equality operator for BroPort.
Public operatorStatic member(BroPort to UInt64)
Implicitly converts BroPort object to a UInt64 based on port number.
Public operatorStatic memberInequality
Inequality operator for BroPort.
Top
Properties
  NameDescription
Public propertyNumber
Gets the port number of this BroPort.
Public propertyProtocolType
Gets the ProtocolType of this BroPort.
Public propertyRawProtocolType
Gets raw protocol type number.
Top
Remarks
Managed wrapper structure for bro_port structure.
See Also