a) To turn upside down. Commonly used for boats and ships that capsize and turn through 180° so their hulls are above their superstructure, but it can refer to any vehicle in a similar position.
b) To roll upside-down with ones surfboard (usually a longboard) to allow a wave (usually an already broken wave) to pass over.
See Also: duck dive
Wikipedia foundation.