ltm rule command htonl
iRule(1) BIG-IP TMSH Manual iRule(1)
htonl
Converts the unsigned integer from host byte order to network byte
order.
SYNOPSIS
htonl NUMBER
DESCRIPTION
Convert the unsigned integer from host byte order to network byte
order.
Syntax
htonl
* Convert the unsigned integer from host byte order to network byte
order.
RETURN VALUE
VALID DURING
GLOBAL_GTM
EXAMPLES
when HTTP_REQUEST {
set hostlong 12345678
set netlong [htonl $hostlong]
}
HINTS
SEE ALSO
CHANGE LOG
@BIGIP-9.0.2 --First introduced the command.
BIG-IP 2017-01-31 iRule(1)