mirror of
https://github.com/reactos/reactos.git
synced 2024-12-28 01:55:19 +00:00
[TCPIP] Save the date when an ADDRESS_FILE is created
This commit is contained in:
parent
655e66bdbd
commit
3028831867
2 changed files with 2 additions and 0 deletions
|
@ -155,6 +155,7 @@ typedef struct _ADDRESS_FILE {
|
|||
IP_ADDRESS AddrCache; /* One entry address cache (destination
|
||||
address of last packet transmitted) */
|
||||
HANDLE ProcessId; /* Creator process ID */
|
||||
LARGE_INTEGER CreationTime; /* Time of creation */
|
||||
|
||||
/* The following members are used to control event notification */
|
||||
|
||||
|
|
|
@ -425,6 +425,7 @@ NTSTATUS FileOpenAddress(
|
|||
AddrFile->BCast = 1;
|
||||
AddrFile->HeaderIncl = 1;
|
||||
AddrFile->ProcessId = PsGetCurrentProcessId();
|
||||
KeQuerySystemTime(&AddrFile->CreationTime);
|
||||
|
||||
/* Make sure address is a local unicast address or 0 */
|
||||
/* FIXME: IPv4 only */
|
||||
|
|
Loading…
Reference in a new issue