Skip to content

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

@mineyouhe

Description

@mineyouhe

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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions