diff options
Diffstat (limited to 'sys/dev/hatm/if_hatmvar.h')
-rw-r--r-- | sys/dev/hatm/if_hatmvar.h | 18 |
1 files changed, 8 insertions, 10 deletions
diff --git a/sys/dev/hatm/if_hatmvar.h b/sys/dev/hatm/if_hatmvar.h index 3cb9417..4aff3b5 100644 --- a/sys/dev/hatm/if_hatmvar.h +++ b/sys/dev/hatm/if_hatmvar.h @@ -316,22 +316,20 @@ struct heirq { /* * This structure describes all information for a VCC open on the card. * The array of these structures is indexed by the compressed connection ID - * (CID). + * (CID). This structure must begin with the atmio_vcc. */ struct hevcc { - u_int vflags; /* private flags */ + struct atmio_vcc param; /* traffic parameters */ void * rxhand; /* NATM protocol block */ + u_int vflags; /* private flags */ + uint32_t ipackets; + uint32_t opackets; + uint32_t ibytes; + uint32_t obytes; + u_int rc; /* rate control group for CBR */ struct mbuf * chain; /* partial received PDU */ struct mbuf * last; /* last mbuf in chain */ - - /* from the OPEN_VCC ioctl */ - struct atmio_vcc param; /* traffic parameters */ - - uint32_t ibytes; - uint32_t ipackets; - uint32_t obytes; - uint32_t opackets; u_int ntpds; /* number of active TPDs */ }; #define HE_VCC_OPEN 0x000f0000 |