WritePacketData makes a copy of the data with C.CString(string(data)), which is
expensive and wholly unnecessary.
Patch to fix that is on a branch at
https://code.google.com/r/matthiasradestock-gopacket-pcap/source/list?name=pcap_
zero_copy_write_packet_data
Original issue reported on code.google.com by matthias...@gmail.com on 6 Aug 2014 at 11:31
Original issue reported on code.google.com by
matthias...@gmail.com
on 6 Aug 2014 at 11:31