The galleys could mount cannon fore and aft, but not along the gunwales as the guns would interfere Along with the rowers. The native ships (dhows), with their sewn wood planks, could have only very gentle guns.
The https://idarvyd687346.blogzet.com/the-diu-win-diaries-45179423