ports/sysutils/beats/packetbeat/files/pcap_poll_common.go

18 lines
240 B
Go

// +build !linux, !openbsd
package pcap
/*
#include <pcap/pcap.h>
*/
import "C"
type packetPoll struct{}
func NewPacketPoll(_ *C.pcap_t, _ C.int) *packetPoll {
return nil
}
func (t *packetPoll) AwaitForPackets() bool {
return true
}