![]() Interface timestamp resolution is fixed toġ0^-9s to match time.Time. ![]() The same options as with writing are supported. Write supports only little endian, enhanced packets blocks, interface blocks, and interface statisticsīlocks. R, err := NewNgReader(f, DefaultNgReaderOptions) Supported (which means PacketDataSource and ZeroCopyPacketDataSource is supported). Both ReadPacketData and ZeroCopyReadPacketData is HaveĪ look at NgReaderOptions for more advanced usage. The default reader options match libpcap behaviour. The options also by Wireshark are supported. Simple packet blocks, enhanced packets blocks, interface blocks, and interface statistics blocks. Reading supports both big and little endian files, packet blocks, raw socket capture (linux only): EthernetHandle.pcapng-files read/write: NgReader, NgWriter.This package contains implementations for native PCAP support. Package pcapgo provides some native PCAP support, not requiring C libpcap to be installed. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |