Lines Matching defs:if_ioctl
778 * If the driver has not supplied its own if_ioctl or if_stop,
781 if (ifp->if_ioctl == NULL)
782 ifp->if_ioctl = ifioctl_common;
1210 ifp->if_ioctl = if_nullioctl;
1622 if_ioctlfn = ifp->if_ioctl;
1623 ifp->if_ioctl = if_nullioctl;
1635 /* We have to restore if_ioctl on error */
1637 ifp->if_ioctl = if_ioctlfn;
2818 * if_ioctl(ifp, cmd, data)
2832 if_ioctl(struct ifnet *ifp, u_long cmd, void *data)
2843 return (*ifp->if_ioctl)(ifp, cmd, data);
3579 error = if_ioctl(ifp, cmd, data);
3875 else if (src || (rc = if_ioctl(ifp, SIOCSIFDSTADDR, ifa)) == ENOTTY)
3876 rc = if_ioctl(ifp, SIOCINITIFADDR, ifa);
3943 * Traditionally, we do not call if_ioctl after
3953 rc = if_ioctl(ifp, SIOCSIFFLAGS, &ifr);
3971 * Use this, not if_ioctl, for the multicast commands.
3988 rc = if_ioctl(ifp, cmd, &ifr);