Lines Matching defs:ifs
149 static int fr_ioctl(struct net_device *dev, struct if_settings *ifs);
360 static int pvc_ioctl(struct net_device *dev, struct if_settings *ifs)
365 if (ifs->type == IF_GET_PROTO) {
367 ifs->type = IF_PROTO_FR_ETH_PVC;
369 ifs->type = IF_PROTO_FR_PVC;
371 if (ifs->size < sizeof(info)) {
373 ifs->size = sizeof(info);
379 if (copy_to_user(ifs->ifs_ifsu.fr_pvc_info,
1184 static int fr_ioctl(struct net_device *dev, struct if_settings *ifs)
1186 fr_proto __user *fr_s = ifs->ifs_ifsu.fr;
1193 switch (ifs->type) {
1197 ifs->type = IF_PROTO_FR;
1198 if (ifs->size < size) {
1199 ifs->size = size; /* data size wanted */
1261 if (copy_from_user(&pvc, ifs->ifs_ifsu.fr_pvc,
1268 if (ifs->type == IF_PROTO_FR_ADD_ETH_PVC ||
1269 ifs->type == IF_PROTO_FR_DEL_ETH_PVC)
1274 if (ifs->type == IF_PROTO_FR_ADD_PVC ||
1275 ifs->type == IF_PROTO_FR_ADD_ETH_PVC)