add savepcap
Merge https://github.com/pengjh/freeCode