TCPDump to Wireshark cap file

tcpdump -i eth0  -v -w test.cap -xX -s 0

-i interface
-v verbose
-w write to file
-s 0 dump full length packets