H A D | cxgb_toedev.h | 58 #define TOEDEV(netdev) (*(struct toedev **)&(netdev)->if_softc) 86 struct toedev { struct 97 TAILQ_ENTRY(toedev) ofld_entry; /* for list linking */ argument 98 int (*open)(struct toedev *dev); argument 99 int (*close)(struct toedev *dev); argument 100 int (*can_offload)(struct toedev *dev, struct socket *so); argument 101 int (*connect)(struct toedev *dev, struct socket *so, argument 103 int (*send)(struct toedev *dev, struct mbuf *m); argument 104 int (*recv)(struct toedev *dev, struct mbuf **m, int n); argument 105 int (*ctl)(struct toedev *dev, unsigned int req, void *data); argument [all …]
|