IP_RES_PROTOCOL_T
IP Protocol Response.
This topic lists the expressions that are provided by this class.
-
DSTReturns the destination IP of the current packet.
Returns: ip_address_at
-
HEADER_CHECKSUMReturns the Header Checksum of the current IP Packet.
Returns: num_at
-
HEADER_LENGTHReturns the Header length of the current IP Packet in units of 32 bits.
Returns: num_at
-
IDENTIFICATIONReturns the current IP Packet Identification field value.
Returns: num_at
-
OPTIONSReturns the entire set of current IP packet options as a single text chunk, which can also be used to access the options individually.
Returns: ip_options_t
-
PAYLOADReturns the current IP Packet Payload.
Returns: text_t
-
PROTOCOLReturns the Protocol of the current packet.
Returns: ip_protocol_type_t
-
SRCReturns the source IP of the current packet.
Returns: ip_address_at
-
TOSIf the current packet is IPv4, then it returns the TOS field value. If the current packet is IPv6 then it returns the Traffic Class field value.
Returns: ip_tos_t
-
TTLIf the current packet is IPv4, then it returns the TTL field value. If the current packet is IPv6 then it returns the Hop Limit field value.
Returns: num_at
-
VERSIONReturns the Version of the current IP Packet.
Returns: num_at