BSP and Device Driver Development Guide
This function handles ioctl requests directed at the device. The ioctl commands which must be handled are:
SIOCGIFADDR
SIOCSIFADDR
ether_ioctl
.
SIOCSIFFLAGS
IFF_UP
and
IFF_RUNNING
bits in if_flags
:
IFF_RUNNING
IFF_UP
IFF_UP|IFF_RUNNING
0
BSP and Device Driver Development Guide
Copyright © 1988-2007OAR Corporation