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