Added succ_node_ip and prev_node_ip functions