replaced packet_send function with dataplane.send