Hello,
I am trying to enable my device driver with dynamic
IP addressing but I am having trouble reading my local and remote
IP address from the network interface. When the drivers start up, the
interface comes up correctly with
correct local and remote address, but in my driver when I look at the
dev->ip_ptr (which is casted as in_device
structure), my local IP is correct but remote IP is the same as local;
its the same case for my mask as well.
Could I use devinet_ioctl call from a kernel module, because this ioctl
call looks at the same fields?
I noticed that it uses copy_fom_user function !! I tried to used and
got error -14 (EFAULT) which indicates
that copy_from_user failed.
any help would be greatly appreciated,
Nenad Corbic
Sangoma Technologies
-
To unsubscribe from this list: send the line "unsubscribe linux-net" in
the body of a message to [EMAIL PROTECTED]