taglinefilesource code
ifr188drivers/net/plip.cstatic int plip_ioctl(struct device *dev, struct ifreq *ifr);
ifr97drivers/net/ppp.cstatic int ppp_dev_ioctl(struct device *dev, struct ifreq *ifr);
ifr608drivers/net/ppp.cstatic int ppp_dev_ioctl(struct device *dev, struct ifreq *ifr)
ifr620drivers/net/ppp.cifr->ifr_ifru.ifru_data,
ifr624drivers/net/ppp.cresult = (struct stats *) ifr->ifr_ifru.ifru_data;
ifr141include/linux/netdevice.hint        (*do_ioctl)(struct device *dev, struct ifreq *ifr);
ifr855net/inet/dev.cstruct ifreq ifr;
ifr889net/inet/dev.cmemset(&ifr, 0, sizeof(struct ifreq));
ifr890net/inet/dev.cstrcpy(ifr.ifr_name, dev->name);
ifr891net/inet/dev.c(*(struct sockaddr_in *) &ifr.ifr_addr).sin_family = dev->family;
ifr892net/inet/dev.c(*(struct sockaddr_in *) &ifr.ifr_addr).sin_addr.s_addr = dev->pa_addr;
ifr898net/inet/dev.cmemcpy_tofs(pos, &ifr, sizeof(struct ifreq));
ifr1022net/inet/dev.cstruct ifreq ifr;
ifr1034net/inet/dev.cmemcpy_fromfs(&ifr, arg, sizeof(struct ifreq));
ifr1040net/inet/dev.cif ((dev = dev_get(ifr.ifr_name)) == NULL) 
ifr1046net/inet/dev.cifr.ifr_flags = dev->flags;
ifr1047net/inet/dev.cmemcpy_tofs(arg, &ifr, sizeof(struct ifreq));
ifr1057net/inet/dev.cdev->flags = ifr.ifr_flags & (
ifr1109net/inet/dev.c&ifr.ifr_addr).sin_addr.s_addr = dev->pa_addr;
ifr1111net/inet/dev.c&ifr.ifr_addr).sin_family = dev->family;
ifr1113net/inet/dev.c&ifr.ifr_addr).sin_port = 0;
ifr1114net/inet/dev.cmemcpy_tofs(arg, &ifr, sizeof(struct ifreq));
ifr1120net/inet/dev.c&ifr.ifr_addr).sin_addr.s_addr;
ifr1121net/inet/dev.cdev->family = ifr.ifr_addr.sa_family;
ifr1134net/inet/dev.c&ifr.ifr_broadaddr).sin_addr.s_addr = dev->pa_brdaddr;
ifr1136net/inet/dev.c&ifr.ifr_broadaddr).sin_family = dev->family;
ifr1138net/inet/dev.c&ifr.ifr_broadaddr).sin_port = 0;
ifr1139net/inet/dev.cmemcpy_tofs(arg, &ifr, sizeof(struct ifreq));
ifr1145net/inet/dev.c&ifr.ifr_broadaddr).sin_addr.s_addr;
ifr1151net/inet/dev.c&ifr.ifr_dstaddr).sin_addr.s_addr = dev->pa_dstaddr;
ifr1153net/inet/dev.c&ifr.ifr_broadaddr).sin_family = dev->family;
ifr1155net/inet/dev.c&ifr.ifr_broadaddr).sin_port = 0;
ifr1156net/inet/dev.cmemcpy_tofs(arg, &ifr, sizeof(struct ifreq));
ifr1162net/inet/dev.c&ifr.ifr_dstaddr).sin_addr.s_addr;
ifr1168net/inet/dev.c&ifr.ifr_netmask).sin_addr.s_addr = dev->pa_mask;
ifr1170net/inet/dev.c&ifr.ifr_netmask).sin_family = dev->family;
ifr1172net/inet/dev.c&ifr.ifr_netmask).sin_port = 0;
ifr1173net/inet/dev.cmemcpy_tofs(arg, &ifr, sizeof(struct ifreq));
ifr1180net/inet/dev.c&ifr.ifr_netmask).sin_addr.s_addr;
ifr1194net/inet/dev.cifr.ifr_metric = dev->metric;
ifr1195net/inet/dev.cmemcpy_tofs(arg, &ifr, sizeof(struct ifreq));
ifr1200net/inet/dev.cdev->metric = ifr.ifr_metric;
ifr1205net/inet/dev.cifr.ifr_mtu = dev->mtu;
ifr1206net/inet/dev.cmemcpy_tofs(arg, &ifr, sizeof(struct ifreq));
ifr1216net/inet/dev.cif(ifr.ifr_mtu<1 || ifr.ifr_mtu>3800)
ifr1218net/inet/dev.cdev->mtu = ifr.ifr_mtu;
ifr1234net/inet/dev.cmemcpy(ifr.old_ifr_hwaddr,dev->dev_addr, MAX_ADDR_LEN);
ifr1235net/inet/dev.cmemcpy_tofs(arg,&ifr,sizeof(struct ifreq));
ifr1240net/inet/dev.cmemcpy(ifr.ifr_hwaddr.sa_data,dev->dev_addr, MAX_ADDR_LEN);
ifr1241net/inet/dev.cifr.ifr_hwaddr.sa_family=dev->type;      
ifr1242net/inet/dev.cmemcpy_tofs(arg,&ifr,sizeof(struct ifreq));
ifr1249net/inet/dev.cif(ifr.ifr_hwaddr.sa_family!=dev->type)
ifr1251net/inet/dev.cret=dev->set_mac_address(dev,ifr.ifr_hwaddr.sa_data);
ifr1257net/inet/dev.cret=dev->do_ioctl(dev, &ifr);
ifr1258net/inet/dev.cmemcpy_tofs(arg,&ifr,sizeof(struct ifreq));
ifr1262net/inet/dev.cifr.ifr_map.mem_start=dev->mem_start;
ifr1263net/inet/dev.cifr.ifr_map.mem_end=dev->mem_end;
ifr1264net/inet/dev.cifr.ifr_map.base_addr=dev->base_addr;
ifr1265net/inet/dev.cifr.ifr_map.irq=dev->irq;
ifr1266net/inet/dev.cifr.ifr_map.dma=dev->dma;
ifr1267net/inet/dev.cifr.ifr_map.port=dev->if_port;
ifr1268net/inet/dev.cmemcpy_tofs(arg,&ifr,sizeof(struct ifreq));
ifr1275net/inet/dev.creturn dev->set_config(dev,&ifr.ifr_map);
ifr1281net/inet/dev.cstrncpy(ifr.ifr_name,dev->name,sizeof(ifr.ifr_name));
ifr1282net/inet/dev.cmemcpy_tofs(arg,&ifr,sizeof(struct ifreq));
ifr1297net/inet/dev.cstruct device *slave=dev_get(ifr.ifr_slave);