Duck penises are
evidence of an evolutionary arms race between males who sometimes have forcible sex, and females who want to resist them.
This is a good summary:
Female ducks seem to be equipped to block the sperm of unwanted males. Their lower oviduct is spiraled like the male phallus, for example, but it turns in the opposite direction. Dr. Brennan suspects that the female ducks can force sperm into one of the pockets and then expel it. “It only makes sense as a barrier,” she said.
To support her argument, Dr. Brennan notes studies on some species that have found that forced matings make up about a third of all matings. Yet only 3 percent of the offspring are the result of forced matings. “To me, it means these females are successful with this strategy,” she said.
Other good sources:
New York Times
National Geographic [blog]