On Thu, Apr 20, 2000 at 05:16:04AM -0700, Siddharth Mathur wrote:
> hi,
> 
> could somebody please tell me the problem with this
> piece of code.
> 
> i want to get the 48 bit ethernet address of my card
> in the ifreq structure.
> 
> the SIOCGIFADDR is expected to return the hw address,
> i presume...
> 
> the socket system call is successful but the ioctl
> returns 'no such device'

netdevice(7) explains exactly what you need to pass.


-Andi
-
To unsubscribe from this list: send the line "unsubscribe linux-net" in
the body of a message to [EMAIL PROTECTED]

Reply via email to