You can use netlink interface to assign an ip address to any local
interface. See the implemention of ip command (sources of iproute2)
for reference.


Thanks,
Prashant

On 11/29/06, prajakta choudhari <[EMAIL PROTECTED]> wrote:
Hi Christoph:
I am very new to this programming. Can u suggest any other way , i can
use to assign an ip address to any local interface

Thank you in advance.


On 11/29/06, Christoph Hellwig <[EMAIL PROTECTED]> wrote:
> On Wed, Nov 29, 2006 at 03:41:24PM +0530, prajakta choudhari wrote:
> > Hi all:
> > Can I use devinet_ioctl to assign an ip address to the interface in a
> > kernel module
>
> No, you can't.
>


--
-------------------------------------
-------------------------------------
Regards,
Prajakta Choudhari,
Project Engineer,
Networking and Internet Software Group,
CDAC,Pune
Email:[EMAIL PROTECTED]
Mobile:9890302701
-
To unsubscribe from this list: send the line "unsubscribe linux-net" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

-
To unsubscribe from this list: send the line "unsubscribe linux-net" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to