.. | .. |
---|
176 | 176 | #define ATM_OF_IMMED 1 /* Attempt immediate delivery */ |
---|
177 | 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 | 179 | struct atmdev_ops { /* only send is required */ |
---|
185 | 180 | void (*dev_close)(struct atm_dev *dev); |
---|
186 | 181 | int (*open)(struct atm_vcc *vcc); |
---|
.. | .. |
---|
190 | 185 | int (*compat_ioctl)(struct atm_dev *dev,unsigned int cmd, |
---|
191 | 186 | void __user *arg); |
---|
192 | 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 | 188 | int (*send)(struct atm_vcc *vcc,struct sk_buff *skb); |
---|
198 | 189 | int (*send_oam)(struct atm_vcc *vcc,void *cell,int flags); |
---|
199 | 190 | void (*phy_put)(struct atm_dev *dev,unsigned char value, |
---|