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);
ifr610drivers/net/ppp.cstatic int ppp_dev_ioctl(struct device *dev, struct ifreq *ifr)
ifr622drivers/net/ppp.cifr->ifr_ifru.ifru_data,
ifr626drivers/net/ppp.cresult = (struct stats *) ifr->ifr_ifru.ifru_data;
ifr141include/linux/netdevice.hint        (*do_ioctl)(struct device *dev, struct ifreq *ifr);
ifr870net/inet/dev.cstruct ifreq ifr;
ifr904net/inet/dev.cmemset(&ifr, 0, sizeof(struct ifreq));
ifr905net/inet/dev.cstrcpy(ifr.ifr_name, dev->name);
ifr906net/inet/dev.c(*(struct sockaddr_in *) &ifr.ifr_addr).sin_family = dev->family;
ifr907net/inet/dev.c(*(struct sockaddr_in *) &ifr.ifr_addr).sin_addr.s_addr = dev->pa_addr;
ifr913net/inet/dev.cmemcpy_tofs(pos, &ifr, sizeof(struct ifreq));
ifr1037net/inet/dev.cstruct ifreq ifr;
ifr1049net/inet/dev.cmemcpy_fromfs(&ifr, arg, sizeof(struct ifreq));
ifr1055net/inet/dev.cif ((dev = dev_get(ifr.ifr_name)) == NULL) 
ifr1061net/inet/dev.cifr.ifr_flags = dev->flags;
ifr1062net/inet/dev.cmemcpy_tofs(arg, &ifr, sizeof(struct ifreq));
ifr1072net/inet/dev.cdev->flags = ifr.ifr_flags & (
ifr1124net/inet/dev.c&ifr.ifr_addr).sin_addr.s_addr = dev->pa_addr;
ifr1126net/inet/dev.c&ifr.ifr_addr).sin_family = dev->family;
ifr1128net/inet/dev.c&ifr.ifr_addr).sin_port = 0;
ifr1129net/inet/dev.cmemcpy_tofs(arg, &ifr, sizeof(struct ifreq));
ifr1135net/inet/dev.c&ifr.ifr_addr).sin_addr.s_addr;
ifr1136net/inet/dev.cdev->family = ifr.ifr_addr.sa_family;
ifr1149net/inet/dev.c&ifr.ifr_broadaddr).sin_addr.s_addr = dev->pa_brdaddr;
ifr1151net/inet/dev.c&ifr.ifr_broadaddr).sin_family = dev->family;
ifr1153net/inet/dev.c&ifr.ifr_broadaddr).sin_port = 0;
ifr1154net/inet/dev.cmemcpy_tofs(arg, &ifr, sizeof(struct ifreq));
ifr1160net/inet/dev.c&ifr.ifr_broadaddr).sin_addr.s_addr;
ifr1166net/inet/dev.c&ifr.ifr_dstaddr).sin_addr.s_addr = dev->pa_dstaddr;
ifr1168net/inet/dev.c&ifr.ifr_broadaddr).sin_family = dev->family;
ifr1170net/inet/dev.c&ifr.ifr_broadaddr).sin_port = 0;
ifr1171net/inet/dev.cmemcpy_tofs(arg, &ifr, sizeof(struct ifreq));
ifr1177net/inet/dev.c&ifr.ifr_dstaddr).sin_addr.s_addr;
ifr1183net/inet/dev.c&ifr.ifr_netmask).sin_addr.s_addr = dev->pa_mask;
ifr1185net/inet/dev.c&ifr.ifr_netmask).sin_family = dev->family;
ifr1187net/inet/dev.c&ifr.ifr_netmask).sin_port = 0;
ifr1188net/inet/dev.cmemcpy_tofs(arg, &ifr, sizeof(struct ifreq));
ifr1195net/inet/dev.c&ifr.ifr_netmask).sin_addr.s_addr;
ifr1209net/inet/dev.cifr.ifr_metric = dev->metric;
ifr1210net/inet/dev.cmemcpy_tofs(arg, &ifr, sizeof(struct ifreq));
ifr1215net/inet/dev.cdev->metric = ifr.ifr_metric;
ifr1220net/inet/dev.cifr.ifr_mtu = dev->mtu;
ifr1221net/inet/dev.cmemcpy_tofs(arg, &ifr, sizeof(struct ifreq));
ifr1231net/inet/dev.cif(ifr.ifr_mtu<1 || ifr.ifr_mtu>3800)
ifr1233net/inet/dev.cdev->mtu = ifr.ifr_mtu;
ifr1249net/inet/dev.cmemcpy(ifr.old_ifr_hwaddr,dev->dev_addr, MAX_ADDR_LEN);
ifr1250net/inet/dev.cmemcpy_tofs(arg,&ifr,sizeof(struct ifreq));
ifr1255net/inet/dev.cmemcpy(ifr.ifr_hwaddr.sa_data,dev->dev_addr, MAX_ADDR_LEN);
ifr1256net/inet/dev.cifr.ifr_hwaddr.sa_family=dev->type;      
ifr1257net/inet/dev.cmemcpy_tofs(arg,&ifr,sizeof(struct ifreq));
ifr1264net/inet/dev.cif(ifr.ifr_hwaddr.sa_family!=dev->type)
ifr1266net/inet/dev.cret=dev->set_mac_address(dev,ifr.ifr_hwaddr.sa_data);
ifr1272net/inet/dev.cret=dev->do_ioctl(dev, &ifr);
ifr1273net/inet/dev.cmemcpy_tofs(arg,&ifr,sizeof(struct ifreq));
ifr1277net/inet/dev.cifr.ifr_map.mem_start=dev->mem_start;
ifr1278net/inet/dev.cifr.ifr_map.mem_end=dev->mem_end;
ifr1279net/inet/dev.cifr.ifr_map.base_addr=dev->base_addr;
ifr1280net/inet/dev.cifr.ifr_map.irq=dev->irq;
ifr1281net/inet/dev.cifr.ifr_map.dma=dev->dma;
ifr1282net/inet/dev.cifr.ifr_map.port=dev->if_port;
ifr1283net/inet/dev.cmemcpy_tofs(arg,&ifr,sizeof(struct ifreq));
ifr1290net/inet/dev.creturn dev->set_config(dev,&ifr.ifr_map);
ifr1296net/inet/dev.cstrncpy(ifr.ifr_name,dev->name,sizeof(ifr.ifr_name));
ifr1297net/inet/dev.cmemcpy_tofs(arg,&ifr,sizeof(struct ifreq));
ifr1312net/inet/dev.cstruct device *slave=dev_get(ifr.ifr_slave);