If they are carpenter ants , then what they are eating is the wood in the boat if there is any. The best treatment would be Termidor that works on termites and ants.