All implementations of these two methods are dummies that always return -EINVAL.
Showing the changes to include/linux (1 of 10 files). Show all
Unified · Split
| @@ -176,11 +176,6 @@ struct atm_dev { · 175 unmodified lines | |||
| 176 | #define ATM_OF_IMMED 1 /* Attempt immediate delivery */ | 176 | #define ATM_OF_IMMED 1 /* Attempt immediate delivery */ |
| 177 | #define ATM_OF_INRATE 2 /* Attempt in-rate delivery */ | 177 | #define ATM_OF_INRATE 2 /* Attempt in-rate delivery */ |
| 178 | 178 | ||
| 179 | |||
| 180 | /* | ||
| 181 | * ioctl, getsockopt, and setsockopt are optional and can be set to NULL. | ||
| 182 | */ | ||
| 183 | |||
| 184 | struct atmdev_ops { /* only send is required */ | 179 | struct atmdev_ops { /* only send is required */ |
| 185 | void (*dev_close)(struct atm_dev *dev); | 180 | void (*dev_close)(struct atm_dev *dev); |
| 186 | int (*open)(struct atm_vcc *vcc); | 181 | int (*open)(struct atm_vcc *vcc); |
| @@ -190,10 +185,6 @@ struct atmdev_ops { /* only send is required */ · 3 unmodified lines | |||
| 190 | int (*compat_ioctl)(struct atm_dev *dev,unsigned int cmd, | 185 | int (*compat_ioctl)(struct atm_dev *dev,unsigned int cmd, |
| 191 | void __user *arg); | 186 | void __user *arg); |
| 192 | #endif | 187 | #endif |
| 193 | int (*getsockopt)(struct atm_vcc *vcc,int level,int optname, | ||
| 194 | void __user *optval,int optlen); | ||
| 195 | int (*setsockopt)(struct atm_vcc *vcc,int level,int optname, | ||
| 196 | void __user *optval,unsigned int optlen); | ||
| 197 | int (*send)(struct atm_vcc *vcc,struct sk_buff *skb); | 188 | int (*send)(struct atm_vcc *vcc,struct sk_buff *skb); |
| 198 | int (*send_oam)(struct atm_vcc *vcc,void *cell,int flags); | 189 | int (*send_oam)(struct atm_vcc *vcc,void *cell,int flags); |
| 199 | void (*phy_put)(struct atm_dev *dev,unsigned char value, | 190 | void (*phy_put)(struct atm_dev *dev,unsigned char value, |