Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Help. What is the correct usage about function SetFanout? #1193

Open
mineyouhe opened this issue Oct 12, 2024 · 0 comments
Open

Help. What is the correct usage about function SetFanout? #1193

mineyouhe opened this issue Oct 12, 2024 · 0 comments

Comments

@mineyouhe
Copy link

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?

@mineyouhe mineyouhe changed the title What is the correct usage about function SetFanout? Help. What is the correct usage about function SetFanout? Oct 12, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant