MCPcopy Index your code
hub / github.com/google/gopacket / pcapLibVersion

Function pcapLibVersion

pcap/pcap_windows.go:553–560  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

551}
552
553func pcapLibVersion() string {
554 err := LoadWinPCAP()
555 if err != nil {
556 panic(err)
557 }
558 ret, _, _ := syscall.Syscall(pcapLibVersionPtr, 0, 0, 0, 0)
559 return bytePtrToString(ret)
560}
561
562func (p *Handle) isOpen() bool {
563 return p.cptr != 0

Callers

nothing calls this directly

Calls 2

LoadWinPCAPFunction · 0.85
bytePtrToStringFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…