Add layer 3 support to packet_cmd_execute