ROPE Language Reference - "$ip_daddr"

The IP (v4) destination address, formatted as a four-byte binary string. To convert this into the traditional string format (like: "192.168.0.1"), you can use ipv4_ntoa.

Example..

$ip_daddr ipv4_ntoa println

Note that the and, or and xor actions can be used to perform bit-wise boolean arithmetic on strings, and so can be used to provide simple IP address manipulations.

Revision History

See Also

RFC_791, IpAddress, $ip_check, $ip_dont_frag, $ip_frag_off, $ip_id, $ip_ihl, $ip_protocol, $ip_saddr, $ip_tos, $ip_tot_len, $ip_ttl, $ip_version