| tag | line | file | source code |
| ifr | 188 | drivers/net/plip.c | static int plip_ioctl(struct device *dev, struct ifreq *ifr); |
| ifr | 97 | drivers/net/ppp.c | static int ppp_dev_ioctl(struct device *dev, struct ifreq *ifr); |
| ifr | 608 | drivers/net/ppp.c | static int ppp_dev_ioctl(struct device *dev, struct ifreq *ifr) |
| ifr | 620 | drivers/net/ppp.c | ifr->ifr_ifru.ifru_data, |
| ifr | 624 | drivers/net/ppp.c | result = (struct stats *) ifr->ifr_ifru.ifru_data; |
| ifr | 141 | include/linux/netdevice.h | int (*do_ioctl)(struct device *dev, struct ifreq *ifr); |
| ifr | 855 | net/inet/dev.c | struct ifreq ifr; |
| ifr | 889 | net/inet/dev.c | memset(&ifr, 0, sizeof(struct ifreq)); |
| ifr | 890 | net/inet/dev.c | strcpy(ifr.ifr_name, dev->name); |
| ifr | 891 | net/inet/dev.c | (*(struct sockaddr_in *) &ifr.ifr_addr).sin_family = dev->family; |
| ifr | 892 | net/inet/dev.c | (*(struct sockaddr_in *) &ifr.ifr_addr).sin_addr.s_addr = dev->pa_addr; |
| ifr | 898 | net/inet/dev.c | memcpy_tofs(pos, &ifr, sizeof(struct ifreq)); |
| ifr | 1022 | net/inet/dev.c | struct ifreq ifr; |
| ifr | 1034 | net/inet/dev.c | memcpy_fromfs(&ifr, arg, sizeof(struct ifreq)); |
| ifr | 1040 | net/inet/dev.c | if ((dev = dev_get(ifr.ifr_name)) == NULL) |
| ifr | 1046 | net/inet/dev.c | ifr.ifr_flags = dev->flags; |
| ifr | 1047 | net/inet/dev.c | memcpy_tofs(arg, &ifr, sizeof(struct ifreq)); |
| ifr | 1057 | net/inet/dev.c | dev->flags = ifr.ifr_flags & ( |
| ifr | 1109 | net/inet/dev.c | &ifr.ifr_addr).sin_addr.s_addr = dev->pa_addr; |
| ifr | 1111 | net/inet/dev.c | &ifr.ifr_addr).sin_family = dev->family; |
| ifr | 1113 | net/inet/dev.c | &ifr.ifr_addr).sin_port = 0; |
| ifr | 1114 | net/inet/dev.c | memcpy_tofs(arg, &ifr, sizeof(struct ifreq)); |
| ifr | 1120 | net/inet/dev.c | &ifr.ifr_addr).sin_addr.s_addr; |
| ifr | 1121 | net/inet/dev.c | dev->family = ifr.ifr_addr.sa_family; |
| ifr | 1134 | net/inet/dev.c | &ifr.ifr_broadaddr).sin_addr.s_addr = dev->pa_brdaddr; |
| ifr | 1136 | net/inet/dev.c | &ifr.ifr_broadaddr).sin_family = dev->family; |
| ifr | 1138 | net/inet/dev.c | &ifr.ifr_broadaddr).sin_port = 0; |
| ifr | 1139 | net/inet/dev.c | memcpy_tofs(arg, &ifr, sizeof(struct ifreq)); |
| ifr | 1145 | net/inet/dev.c | &ifr.ifr_broadaddr).sin_addr.s_addr; |
| ifr | 1151 | net/inet/dev.c | &ifr.ifr_dstaddr).sin_addr.s_addr = dev->pa_dstaddr; |
| ifr | 1153 | net/inet/dev.c | &ifr.ifr_broadaddr).sin_family = dev->family; |
| ifr | 1155 | net/inet/dev.c | &ifr.ifr_broadaddr).sin_port = 0; |
| ifr | 1156 | net/inet/dev.c | memcpy_tofs(arg, &ifr, sizeof(struct ifreq)); |
| ifr | 1162 | net/inet/dev.c | &ifr.ifr_dstaddr).sin_addr.s_addr; |
| ifr | 1168 | net/inet/dev.c | &ifr.ifr_netmask).sin_addr.s_addr = dev->pa_mask; |
| ifr | 1170 | net/inet/dev.c | &ifr.ifr_netmask).sin_family = dev->family; |
| ifr | 1172 | net/inet/dev.c | &ifr.ifr_netmask).sin_port = 0; |
| ifr | 1173 | net/inet/dev.c | memcpy_tofs(arg, &ifr, sizeof(struct ifreq)); |
| ifr | 1180 | net/inet/dev.c | &ifr.ifr_netmask).sin_addr.s_addr; |
| ifr | 1194 | net/inet/dev.c | ifr.ifr_metric = dev->metric; |
| ifr | 1195 | net/inet/dev.c | memcpy_tofs(arg, &ifr, sizeof(struct ifreq)); |
| ifr | 1200 | net/inet/dev.c | dev->metric = ifr.ifr_metric; |
| ifr | 1205 | net/inet/dev.c | ifr.ifr_mtu = dev->mtu; |
| ifr | 1206 | net/inet/dev.c | memcpy_tofs(arg, &ifr, sizeof(struct ifreq)); |
| ifr | 1216 | net/inet/dev.c | if(ifr.ifr_mtu<1 || ifr.ifr_mtu>3800) |
| ifr | 1218 | net/inet/dev.c | dev->mtu = ifr.ifr_mtu; |
| ifr | 1234 | net/inet/dev.c | memcpy(ifr.old_ifr_hwaddr,dev->dev_addr, MAX_ADDR_LEN); |
| ifr | 1235 | net/inet/dev.c | memcpy_tofs(arg,&ifr,sizeof(struct ifreq)); |
| ifr | 1240 | net/inet/dev.c | memcpy(ifr.ifr_hwaddr.sa_data,dev->dev_addr, MAX_ADDR_LEN); |
| ifr | 1241 | net/inet/dev.c | ifr.ifr_hwaddr.sa_family=dev->type; |
| ifr | 1242 | net/inet/dev.c | memcpy_tofs(arg,&ifr,sizeof(struct ifreq)); |
| ifr | 1249 | net/inet/dev.c | if(ifr.ifr_hwaddr.sa_family!=dev->type) |
| ifr | 1251 | net/inet/dev.c | ret=dev->set_mac_address(dev,ifr.ifr_hwaddr.sa_data); |
| ifr | 1257 | net/inet/dev.c | ret=dev->do_ioctl(dev, &ifr); |
| ifr | 1258 | net/inet/dev.c | memcpy_tofs(arg,&ifr,sizeof(struct ifreq)); |
| ifr | 1262 | net/inet/dev.c | ifr.ifr_map.mem_start=dev->mem_start; |
| ifr | 1263 | net/inet/dev.c | ifr.ifr_map.mem_end=dev->mem_end; |
| ifr | 1264 | net/inet/dev.c | ifr.ifr_map.base_addr=dev->base_addr; |
| ifr | 1265 | net/inet/dev.c | ifr.ifr_map.irq=dev->irq; |
| ifr | 1266 | net/inet/dev.c | ifr.ifr_map.dma=dev->dma; |
| ifr | 1267 | net/inet/dev.c | ifr.ifr_map.port=dev->if_port; |
| ifr | 1268 | net/inet/dev.c | memcpy_tofs(arg,&ifr,sizeof(struct ifreq)); |
| ifr | 1275 | net/inet/dev.c | return dev->set_config(dev,&ifr.ifr_map); |
| ifr | 1281 | net/inet/dev.c | strncpy(ifr.ifr_name,dev->name,sizeof(ifr.ifr_name)); |
| ifr | 1282 | net/inet/dev.c | memcpy_tofs(arg,&ifr,sizeof(struct ifreq)); |
| ifr | 1297 | net/inet/dev.c | struct device *slave=dev_get(ifr.ifr_slave); |