ltm rule command DIAMETER length
iRule(1) BIG-IP TMSH Manual iRule(1)
DIAMETER::length
Gets diameter message length.
SYNOPSIS
DIAMETER::length
DESCRIPTION
This iRule command returns the length of the current message, including
the message header.
The value returned reflects the current length of the message at the
instant the iRule command is executed: if you store the length of a
message in a variable and then modify the message, your stored length
may be incorrect.
Syntax DIAMETER::length
RETURN VALUE
VALID DURING
DIAMETER_INGRESS, DIAMETER_EGRESS, MR_INGRESS, MR_EGRESS, MR_FAILED
EXAMPLES
when DIAMETER_INGRESS {
log local0. "Received a Diameter message of [DIAMETER::length] bytes"
}
HINTS
SEE ALSO
CHANGE LOG
@BIGIP-11.0.0 --First introduced the command.
BIG-IP 2017-01-31 iRule(1)