diff options
| author | Chas Williams <chas@cmf.nrl.navy.mil> | 2003-08-19 07:11:08 -0700 |
|---|---|---|
| committer | Stephen Hemminger <shemminger@osdl.org> | 2003-08-19 07:11:08 -0700 |
| commit | 68ad05092fcf95f821f372fda86e3d89317c545a (patch) | |
| tree | f41f59e802b6ffcf2f2318b55822c11b93196ec6 /include/linux/atmdev.h | |
| parent | 635d0b51da0074a2ea25a218e728a21290e22dff (diff) | |
[ATM]: atmdev api cleanup -- remove sg_send() and feedback() (mitch@sfgoth.com).
Diffstat (limited to 'include/linux/atmdev.h')
| -rw-r--r-- | include/linux/atmdev.h | 22 |
1 files changed, 7 insertions, 15 deletions
diff --git a/include/linux/atmdev.h b/include/linux/atmdev.h index 0fcfe8f1abae..0bf8106530b9 100644 --- a/include/linux/atmdev.h +++ b/include/linux/atmdev.h @@ -335,15 +335,16 @@ struct atm_dev { struct list_head dev_list; /* linkage */ }; + +/* OF: send_Oam Flags */ -/* - * ioctl, getsockopt, setsockopt, and sg_send are optional and can be set to - * NULL. */ +#define ATM_OF_IMMED 1 /* Attempt immediate delivery */ +#define ATM_OF_INRATE 2 /* Attempt in-rate delivery */ -/* OF: send_Oam Flags */ -#define ATM_OF_IMMED 1 /* Attempt immediate delivery */ -#define ATM_OF_INRATE 2 /* Attempt in-rate delivery */ +/* + * ioctl, getsockopt, and setsockopt are optional and can be set to NULL. + */ struct atmdev_ops { /* only send is required */ void (*dev_close)(struct atm_dev *dev); @@ -355,24 +356,15 @@ struct atmdev_ops { /* only send is required */ int (*setsockopt)(struct atm_vcc *vcc,int level,int optname, void *optval,int optlen); int (*send)(struct atm_vcc *vcc,struct sk_buff *skb); - int (*sg_send)(struct atm_vcc *vcc,unsigned long start, - unsigned long size); -#if 0 /* keep the current hack for now */ - int (*send_iovec)(struct atm_vcc *vcc,struct iovec *iov,int size, - void (*discard)(struct atm_vcc *vcc,void *user),void *user); -#endif int (*send_oam)(struct atm_vcc *vcc,void *cell,int flags); void (*phy_put)(struct atm_dev *dev,unsigned char value, unsigned long addr); unsigned char (*phy_get)(struct atm_dev *dev,unsigned long addr); - void (*feedback)(struct atm_vcc *vcc,struct sk_buff *skb, - unsigned long start,unsigned long dest,int len); int (*change_qos)(struct atm_vcc *vcc,struct atm_qos *qos,int flags); int (*proc_read)(struct atm_dev *dev,loff_t *pos,char *page); struct module *owner; }; - struct atmphy_ops { int (*start)(struct atm_dev *dev); int (*ioctl)(struct atm_dev *dev,unsigned int cmd,void *arg); |
