SecurityPolicyUserDefinedFieldResponse

data class SecurityPolicyUserDefinedFieldResponse(val base: String, val mask: String, val name: String, val offset: Int, val size: Int)

Constructors

Link copied to clipboard
fun SecurityPolicyUserDefinedFieldResponse(base: String, mask: String, name: String, offset: Int, size: Int)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard

The base relative to which 'offset' is measured. Possible values are: - IPV4: Points to the beginning of the IPv4 header. - IPV6: Points to the beginning of the IPv6 header. - TCP: Points to the beginning of the TCP header, skipping over any IPv4 options or IPv6 extension headers. Not present for non-first fragments. - UDP: Points to the beginning of the UDP header, skipping over any IPv4 options or IPv6 extension headers. Not present for non-first fragments. required

Link copied to clipboard

If specified, apply this mask (bitwise AND) to the field to ignore bits before matching. Encoded as a hexadecimal number (starting with "0x"). The last byte of the field (in network byte order) corresponds to the least significant byte of the mask.

Link copied to clipboard

The name of this field. Must be unique within the policy.

Link copied to clipboard
val offset: Int

Offset of the first byte of the field (in network byte order) relative to 'base'.

Link copied to clipboard
val size: Int

Size of the field in bytes. Valid values: 1-4.