MCPcopy Create free account
hub / github.com/mitmproxy/mitmproxy / MIB_TCPTABLE_OWNER_PID

Function MIB_TCPTABLE_OWNER_PID

mitmproxy/platform/windows.py:182–189  ·  view source on GitHub ↗
(size)

Source from the content-addressed store, hash-verified

180
181# https://msdn.microsoft.com/en-us/library/windows/desktop/aa366921(v=vs.85).aspx
182def MIB_TCPTABLE_OWNER_PID(size):
183 class _MIB_TCPTABLE_OWNER_PID(ctypes.Structure):
184 _fields_ = [
185 ("dwNumEntries", ctypes.wintypes.DWORD),
186 ("table", MIB_TCPROW_OWNER_PID * size),
187 ]
188
189 return _MIB_TCPTABLE_OWNER_PID()
190
191
192TCP_TABLE_OWNER_PID_CONNECTIONS = 4

Callers 2

__init__Method · 0.85
_refresh_ipv4Method · 0.85

Calls 1

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…