cang233

Results 6 comments of cang233

[https://github.com/intel-go/nff-go/issues/632](url) may help you

According to source code,use -> as "point to",then p.ether->0, p.ipv4->14, ``` func (packet *Packet) unparsed() unsafe.Pointer { ether := unsafe.Pointer(packet.Ether) return unsafe.Pointer(uintptr(ether) + types.EtherLen) } ``` p.tcp->34,header length is 20...

@gshimansky Ok,thanks.I'll try. But in `nff-go/test/performance/per_gen.go`,I can see the gen speed and the drop count,why I can not use this drop count in my code?

@gshimansky Not only there,but all of this log doesnt have the drop count info.Even at the starting of this program,there is enough mempool space ,but still no drop count.

My packets are saved in memory,maybe jumped out of the nff-go graph. I can not statistics the packet info in the graph because the operations I do is too slow,so...

All I do is in the globalHandler Function,to save packets in a map by its 5tuple. ``` config := flow.Config{ CPUList: "0-3", HWRXPacketsTimestamp: ifSupport, } flow.CheckFatal(flow.SystemInit(&config)) inputFlow, err := flow.SetReceiver(0)...