hello i have some network packets in pcap files , using ANSI c how can i change the pcap files to simple udpdumps