|
Wireshark 4.7.0
The Wireshark network protocol analyzer
|
Describes a field type and its associated operations for display filtering. More...
#include <ftypes-int.h>
Public Attributes | ||
| ftenum_t | ftype | |
| int | wire_size | |
| FvalueNewFunc | new_value | |
| FvalueCopyFunc | copy_value | |
| FvalueFreeFunc | free_value | |
| FvalueFromLiteral | val_from_literal | |
| FvalueFromString | val_from_string | |
| FvalueFromCharConst | val_from_charconst | |
| FvalueFromUnsignedInt64 | val_from_uinteger64 | |
| FvalueFromSignedInt64 | val_from_sinteger64 | |
| FvalueFromDouble | val_from_double | |
| FvalueToStringRepr | val_to_string_repr | |
| FvalueToUnsignedInt64 | val_to_uinteger64 | |
| FvalueToSignedInt64 | val_to_sinteger64 | |
| FvalueToDouble | val_to_double | |
| union { | ||
| FvalueSetBytesFunc set_value_bytes | ||
| FvalueSetGuidFunc set_value_guid | ||
| FvalueSetTimeFunc set_value_time | ||
| FvalueSetStrbufFunc set_value_strbuf | ||
| FvalueSetProtocolFunc set_value_protocol | ||
| FvalueSetUnsignedIntegerFunc set_value_uinteger | ||
| FvalueSetSignedIntegerFunc set_value_sinteger | ||
| FvalueSetUnsignedInteger64Func set_value_uinteger64 | ||
| FvalueSetSignedInteger64Func set_value_sinteger64 | ||
| FvalueSetFloatingFunc set_value_floating | ||
| FvalueSetIpv4Func set_value_ipv4 | ||
| FvalueSetIpv6Func set_value_ipv6 | ||
| } | set_value | |
| Union of function pointers for setting typed field values. | ||
| union { | ||
| FvalueGetBytesFunc get_value_bytes | ||
| FvalueGetGuidFunc get_value_guid | ||
| FvalueGetTimeFunc get_value_time | ||
| FvalueGetStrbufFunc get_value_strbuf | ||
| FvalueGetProtocolFunc get_value_protocol | ||
| FvalueGetUnsignedIntegerFunc get_value_uinteger | ||
| FvalueGetSignedIntegerFunc get_value_sinteger | ||
| FvalueGetUnsignedInteger64Func get_value_uinteger64 | ||
| FvalueGetSignedInteger64Func get_value_sinteger64 | ||
| FvalueGetFloatingFunc get_value_floating | ||
| FvalueGetIpv4Func get_value_ipv4 | ||
| FvalueGetIpv6Func get_value_ipv6 | ||
| } | get_value | |
| Union of function pointers for retrieving typed field values. | ||
| FvalueCompare | compare | |
| FvalueContains | contains | |
| FvalueMatches | matches | |
| FvalueHashFunc | hash | |
| FvalueIs | is_zero | |
| FvalueIs | is_negative | |
| FvalueIs | is_nan | |
| FvalueLen | len | |
| FvalueSlice | slice | |
| FvalueBinaryOp | bitwise_and | |
| FvalueUnaryOp | unary_minus | |
| FvalueBinaryOp | add | |
| FvalueBinaryOp | subtract | |
| FvalueBinaryOp | multiply | |
| FvalueBinaryOp | divide | |
| FvalueBinaryOp | modulo | |
Describes a field type and its associated operations for display filtering.
This structure defines the behavior of a specific field type (ftenum_t) used in protocol dissection and display filtering. It includes functions for creating, converting, comparing, and manipulating values of that type.
| FvalueBinaryOp _ftype_t::add |
Addition operation.
| FvalueBinaryOp _ftype_t::bitwise_and |
Bitwise AND operation.
| FvalueCompare _ftype_t::compare |
Compares two values of this type.
| FvalueContains _ftype_t::contains |
Checks if one value contains another.
| FvalueCopyFunc _ftype_t::copy_value |
Function to copy a value of this type.
| FvalueBinaryOp _ftype_t::divide |
Division operation.
| FvalueFreeFunc _ftype_t::free_value |
Function to free a value of this type.
| ftenum_t _ftype_t::ftype |
Enum identifier for the field type.
| union { ... } _ftype_t::get_value |
Union of function pointers for retrieving typed field values.
Provides type-specific getter functions for extracting values from fvalue_t.
| FvalueGetBytesFunc _ftype_t::get_value_bytes |
Gets a byte array value.
| FvalueGetFloatingFunc _ftype_t::get_value_floating |
Gets a floating-point value.
| FvalueGetGuidFunc _ftype_t::get_value_guid |
Gets a GUID value.
| FvalueGetIpv4Func _ftype_t::get_value_ipv4 |
Gets an IPv4 address value.
| FvalueGetIpv6Func _ftype_t::get_value_ipv6 |
Gets an IPv6 address value.
| FvalueGetProtocolFunc _ftype_t::get_value_protocol |
Gets a protocol-specific value.
| FvalueGetSignedIntegerFunc _ftype_t::get_value_sinteger |
Gets a signed integer value.
| FvalueGetSignedInteger64Func _ftype_t::get_value_sinteger64 |
Gets a 64-bit signed integer.
| FvalueGetStrbufFunc _ftype_t::get_value_strbuf |
Gets a string buffer value.
| FvalueGetTimeFunc _ftype_t::get_value_time |
Gets a time value.
| FvalueGetUnsignedIntegerFunc _ftype_t::get_value_uinteger |
Gets an unsigned integer value.
| FvalueGetUnsignedInteger64Func _ftype_t::get_value_uinteger64 |
Gets a 64-bit unsigned integer.
| FvalueHashFunc _ftype_t::hash |
Computes a hash of the value.
| FvalueIs _ftype_t::is_nan |
Checks if the value is NaN.
| FvalueIs _ftype_t::is_negative |
Checks if the value is negative.
| FvalueIs _ftype_t::is_zero |
Checks if the value is zero.
| FvalueLen _ftype_t::len |
Returns the length of the value.
| FvalueMatches _ftype_t::matches |
Checks if a value matches a pattern.
| FvalueBinaryOp _ftype_t::modulo |
Modulo operation.
| FvalueBinaryOp _ftype_t::multiply |
Multiplication operation.
| FvalueNewFunc _ftype_t::new_value |
Function to allocate a new value of this type.
| union { ... } _ftype_t::set_value |
Union of function pointers for setting typed field values.
Provides type-specific setter functions for assigning values to fvalue_t.
| FvalueSetBytesFunc _ftype_t::set_value_bytes |
Sets a byte array value.
| FvalueSetFloatingFunc _ftype_t::set_value_floating |
Sets a floating-point value.
| FvalueSetGuidFunc _ftype_t::set_value_guid |
Sets a GUID value.
| FvalueSetIpv4Func _ftype_t::set_value_ipv4 |
Sets an IPv4 address value.
| FvalueSetIpv6Func _ftype_t::set_value_ipv6 |
Sets an IPv6 address value.
| FvalueSetProtocolFunc _ftype_t::set_value_protocol |
Sets a protocol-specific value.
| FvalueSetSignedIntegerFunc _ftype_t::set_value_sinteger |
Sets a signed integer value.
| FvalueSetSignedInteger64Func _ftype_t::set_value_sinteger64 |
Sets a 64-bit signed integer.
| FvalueSetStrbufFunc _ftype_t::set_value_strbuf |
Sets a string buffer value.
| FvalueSetTimeFunc _ftype_t::set_value_time |
Sets a time value.
| FvalueSetUnsignedIntegerFunc _ftype_t::set_value_uinteger |
Sets an unsigned integer value.
| FvalueSetUnsignedInteger64Func _ftype_t::set_value_uinteger64 |
Sets a 64-bit unsigned integer.
| FvalueSlice _ftype_t::slice |
Extracts a slice from the value.
| FvalueBinaryOp _ftype_t::subtract |
Subtraction operation.
| FvalueUnaryOp _ftype_t::unary_minus |
Unary negation operation.
| FvalueFromCharConst _ftype_t::val_from_charconst |
Converts from a character constant.
| FvalueFromDouble _ftype_t::val_from_double |
Converts from a double-precision float.
| FvalueFromLiteral _ftype_t::val_from_literal |
Converts from a literal token.
| FvalueFromSignedInt64 _ftype_t::val_from_sinteger64 |
Converts from a 64-bit signed integer.
| FvalueFromString _ftype_t::val_from_string |
Converts from a string representation.
| FvalueFromUnsignedInt64 _ftype_t::val_from_uinteger64 |
Converts from a 64-bit unsigned integer.
| FvalueToDouble _ftype_t::val_to_double |
Converts to a double-precision float.
| FvalueToSignedInt64 _ftype_t::val_to_sinteger64 |
Converts to a 64-bit signed integer.
| FvalueToStringRepr _ftype_t::val_to_string_repr |
Converts to a string representation.
| FvalueToUnsignedInt64 _ftype_t::val_to_uinteger64 |
Converts to a 64-bit unsigned integer.
| int _ftype_t::wire_size |
Size of the field on the wire, in bytes.