hc
2024-05-10 23fa18eaa71266feff7ba8d83022d9e1cc83c65a
kernel/include/linux/atmdev.h
....@@ -176,11 +176,6 @@
176176 #define ATM_OF_IMMED 1 /* Attempt immediate delivery */
177177 #define ATM_OF_INRATE 2 /* Attempt in-rate delivery */
178178
179
-
180
-/*
181
- * ioctl, getsockopt, and setsockopt are optional and can be set to NULL.
182
- */
183
-
184179 struct atmdev_ops { /* only send is required */
185180 void (*dev_close)(struct atm_dev *dev);
186181 int (*open)(struct atm_vcc *vcc);
....@@ -190,10 +185,6 @@
190185 int (*compat_ioctl)(struct atm_dev *dev,unsigned int cmd,
191186 void __user *arg);
192187 #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);
197188 int (*send)(struct atm_vcc *vcc,struct sk_buff *skb);
198189 int (*send_oam)(struct atm_vcc *vcc,void *cell,int flags);
199190 void (*phy_put)(struct atm_dev *dev,unsigned char value,