Lines Matching refs:frad_conf
991 struct frad_conf config;
1019 memcpy(&data.config, &flp->config, sizeof(struct frad_conf)); in sdla_open()
1020 len += sizeof(struct frad_conf); in sdla_open()
1071 sdla_cmd(dev, SDLA_ADD_DLCI, 0, 0, data.dlci, len - sizeof(struct frad_conf), NULL, NULL); in sdla_open()
1093 static int sdla_config(struct net_device *dev, struct frad_conf *conf, int get) in sdla_config()
1110 if(copy_from_user(&data.config, conf, sizeof(struct frad_conf))) in sdla_config()
1144 memcpy(&flp->config, &data.config, sizeof(struct frad_conf)); in sdla_config()
1178 memcpy(&data.config, &flp->config, sizeof(struct frad_conf)); in sdla_config()
1180 memset(&data.config, 0, sizeof(struct frad_conf)); in sdla_config()
1182 memcpy(&flp->config, &data.config, sizeof(struct frad_conf)); in sdla_config()
1185 return copy_to_user(conf, &data.config, sizeof(struct frad_conf))?-EFAULT:0; in sdla_config()
1243 memcpy(&data, &flp->config, sizeof(struct frad_conf)); in sdla_reconfig()
1244 len += sizeof(struct frad_conf); in sdla_reconfig()
1269 return(sdla_config(dev, (struct frad_conf *)ifr->ifr_data, cmd == FRAD_GET_CONF)); in sdla_ioctl()