google / google/gopacket

Help. What is the correct usage about function SetFanout?

Open
#1,193 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Go
Stars
6.8k
Forks
1.2k
PR merge metrics
No merged PRs in 30d

Description

i find example in https://github.com/JustinAzoff/can-i-use-afpacket-fanout/blob/master/main.go

in this example, use setFanout function

If the device has N CPUs, shoule i use N goroutines to exec pcap.OpenLive, then use hanlde to SetFanout?

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.