Re: Getting ip address of the host from kernel mode

Thx Max. From this how do i figure out which of the ip addresses on a multi-ip host is my “hostname” mapped to?

From User-land its direct…Gethostname, GetAddress(hostname).

Meaning, I would like to use the ONE ip address which has mapping with the host name and discard the others.

Giri.

“Maxim S. Shatskih” wrote:
One of these callbacks will be called with TA_ADDRESS in the parameters.

Maxim Shatskih, Windows DDK MVP
StorageCraft Corporation
xxxxx@storagecraft.com
http://www.storagecraft.com

----- Original Message -----
From: Seshagiri Babu K.V.
To: Windows File Systems Devs Interest List
Sent: Tuesday, November 16, 2004 11:37 AM
Subject: [ntfsd] Getting ip address of the host from kernel mode

I would like to write a driver which gets me the ip address of the host. I have used TdiRegisterPnpHandlers function to register for add address notifications. I get the device names in the call back. How do I go about from here to get the ip address of the host.

TIA,

Giri.

---------------------------------
Do you Yahoo!?
The all-new My Yahoo! – Get yours free! — Questions? First check the IFS FAQ at https://www.osronline.com/article.cfm?id=17 You are currently subscribed to ntfsd as: xxxxx@storagecraft.com To unsubscribe send a blank email to xxxxx@lists.osr.com—
Questions? First check the IFS FAQ at https://www.osronline.com/article.cfm?id=17

You are currently subscribed to ntfsd as: unknown lmsubst tag argument: ‘’
To unsubscribe send a blank email to xxxxx@lists.osr.com

---------------------------------
Do you Yahoo!?
Meet the all-new My Yahoo! – Try it today!

Why do you need this? For communication purposes, any local IP address will suite.

Maxim Shatskih, Windows DDK MVP
StorageCraft Corporation
xxxxx@storagecraft.com
http://www.storagecraft.com

----- Original Message -----
From: Seshagiri Babu K.V.
To: Windows System Software Devs Interest List
Sent: Wednesday, November 17, 2004 4:28 PM
Subject: Re: [ntdev] Getting ip address of the host from kernel mode

Thx Max. From this how do i figure out which of the ip addresses on a multi-ip host is my “hostname” mapped to?

From User-land its direct…Gethostname, GetAddress(hostname).

Meaning, I would like to use the ONE ip address which has mapping with the host name and discard the others.

Giri.

“Maxim S. Shatskih” wrote:
One of these callbacks will be called with TA_ADDRESS in the parameters.

Maxim Shatskih, Windows DDK MVP
StorageCraft Corporation
xxxxx@storagecraft.com
http://www.storagecraft.com

----- Original Message -----
From: Seshagiri Babu K.V.
To: Windows File Systems Devs Interest List
Sent: Tuesday, November 16, 2004 11:37 AM
Subject: [ntfsd] Getting ip address of the host from kernel mode

I would like to write a driver which gets me the ip address of the host. I have used TdiRegisterPnpHandlers function to register for add address notifications. I get the device names in the call back. How do I go about from here to get the ip address of the host.

TIA,

Giri.

--------------------------------------------------------------------------
Do you Yahoo!?
The all-new My Yahoo! - Get yours free! — Questions? First check the IFS FAQ at https://www.osronline.com/article.cfm?id=17 You are currently subscribed to ntfsd as: xxxxx@storagecraft.com To unsubscribe send a blank email to xxxxx@lists.osr.com

Questions? First check the IFS FAQ at https://www.osronline.com/article.cfm?id=17

You are currently subscribed to ntfsd as: unknown lmsubst tag argument: ‘’
To unsubscribe send a blank email to xxxxx@lists.osr.com

------------------------------------------------------------------------------
Do you Yahoo!?
Meet the all-new My Yahoo! - Try it today! — Questions? First check the Kernel Driver FAQ at http://www.osronline.com/article.cfm?id=256 You are currently subscribed to ntdev as: xxxxx@storagecraft.com To unsubscribe send a blank email to xxxxx@lists.osr.com