Lines Matching defs:if_ioctl
2480 error = (*ifp->if_ioctl)(ifp, SIOCGIFCAPNV,
2642 if (ifp->if_ioctl) {
2643 (void) (*ifp->if_ioctl)(ifp, cmd, data);
2654 if (ifp->if_ioctl == NULL)
2658 error = (*ifp->if_ioctl)(ifp, cmd, data);
2667 if (ifp->if_ioctl == NULL)
2700 error = (*ifp->if_ioctl)(ifp, SIOCSIFCAPNV,
2748 if (ifp->if_ioctl == NULL)
2750 error = (*ifp->if_ioctl)(ifp, cmd, data);
2764 if (ifp->if_ioctl == NULL)
2769 error = (*ifp->if_ioctl)(ifp, cmd, data);
2837 if (ifp->if_ioctl == NULL)
2839 error = (*ifp->if_ioctl)(ifp, cmd, data);
2853 if (ifp->if_ioctl == NULL)
2855 error = (*ifp->if_ioctl)(ifp, cmd, data);
3083 if (error == EOPNOTSUPP && ifp != NULL && ifp->if_ioctl != NULL &&
3086 error = (*ifp->if_ioctl)(ifp, cmd, data);
3225 /* Save ifnet parameters for if_ioctl() may fail */
3244 if (ifp->if_ioctl == NULL) {
3250 error = (*ifp->if_ioctl)(ifp, SIOCSIFFLAGS, (caddr_t)&ifr);
3640 if (ifp->if_ioctl != NULL) {
3642 (void )(*ifp->if_ioctl)(ifp, SIOCADDMULTI, 0);
3672 (void )(*ifp->if_ioctl)(ifp, SIOCADDMULTI, 0);
3703 if (lastref && ifp->if_ioctl != NULL) {
3704 (void)(*ifp->if_ioctl)(ifp, SIOCDELMULTI, 0);
3779 if (lastref && ifp->if_ioctl != NULL) {
3780 (void)(*ifp->if_ioctl)(ifp, SIOCDELMULTI, 0);
3915 if (ifp->if_ioctl) {
3919 (*ifp->if_ioctl)(ifp, SIOCSIFFLAGS, (caddr_t)&ifr);
3923 (*ifp->if_ioctl)(ifp, SIOCSIFFLAGS, (caddr_t)&ifr);
4860 if_ioctl(if_t ifp, u_long cmd, void *data)
4862 if (ifp->if_ioctl == NULL)
4865 return (ifp->if_ioctl(ifp, cmd, data));
4969 ifp->if_ioctl = ioctl_fn;