crash.software
Projects
Pull Requests
Issues
Builds
sing-box
Code
Files
Commits
Branches
Tags
Pull Requests
Code Comments
Code Compare
Issues
List
Boards
Milestones
Builds
Statistics
Contributions
Source Lines
Child Projects
Projects
STRLCPY
sing-box
Files
🤬
Sign In
99b2ab55
ROOT
/
common
/
process
/
searcher_windows.go
Search
History
235 lines
|
ISO-8859-1
|
5 KB
Blame
Outline
2
4
8
No wrap
Soft wrap
Outline
_
:
Searcher
windowsSearcher
NewSearcher
(_ Config)
:
(Searcher, error)
modiphlpapi
procGetExtendedTcpTable
procGetExtendedUdpTable
modkernel32
procQueryFullProcessImageNameW
initWin32API
()
:
error
findProcessName
(network string, ip netip.Addr, srcPort int)
:
(string, error)
searcher
itemSize
:
int
port
:
int
ip
:
int
ipSize
:
int
pid
:
int
tcpState
:
int
newSearcher
(isV4, isTCP bool)
:
*searcher
getTransportTable
(fn uintptr, family int, class int)
:
([]byte, error)
readNativeUint32
(b []byte)
:
uint32
getExecPathFromPID
(pid uint32)
:
(string, error)
*windowsSearcher
FindProcessInfo
(ctx context.Context, network string, source netip.AddrPort, destination netip.AddrPort)
:
(*Info, error)
*searcher
Search
(b []byte, ip netip.Addr, port uint16)
:
(uint32, error)
All occurrences
Please wait...
Page is in error, reload to recover