mirror of
https://github.com/reactos/reactos.git
synced 2024-12-29 10:35:28 +00:00
[TCPIP] Store creator PID in ADDRESS_FILE
This commit is contained in:
parent
702d44c683
commit
935978ee57
2 changed files with 2 additions and 0 deletions
|
@ -154,6 +154,7 @@ typedef struct _ADDRESS_FILE {
|
||||||
/* Associated listener (see transport/tcp/accept.c) */
|
/* Associated listener (see transport/tcp/accept.c) */
|
||||||
IP_ADDRESS AddrCache; /* One entry address cache (destination
|
IP_ADDRESS AddrCache; /* One entry address cache (destination
|
||||||
address of last packet transmitted) */
|
address of last packet transmitted) */
|
||||||
|
HANDLE ProcessId; /* Creator process ID */
|
||||||
|
|
||||||
/* The following members are used to control event notification */
|
/* The following members are used to control event notification */
|
||||||
|
|
||||||
|
|
|
@ -424,6 +424,7 @@ NTSTATUS FileOpenAddress(
|
||||||
AddrFile->DF = 0;
|
AddrFile->DF = 0;
|
||||||
AddrFile->BCast = 1;
|
AddrFile->BCast = 1;
|
||||||
AddrFile->HeaderIncl = 1;
|
AddrFile->HeaderIncl = 1;
|
||||||
|
AddrFile->ProcessId = PsGetCurrentProcessId();
|
||||||
|
|
||||||
/* Make sure address is a local unicast address or 0 */
|
/* Make sure address is a local unicast address or 0 */
|
||||||
/* FIXME: IPv4 only */
|
/* FIXME: IPv4 only */
|
||||||
|
|
Loading…
Reference in a new issue