change the process function , write a another process loop to make it ,can handle a whole pcap file at one time.