Re: space of ath_node

2010-03-30 Thread Rui Paulo
On 30 Mar 2010, at 01:58, jiani1012 wrote: > Hi,all >A problem puzzled me in ath code. The following code in function > ath_node_alloc( ) shows the space allocated to an, > >> struct ath_ratectrl { >> size_t arc_space;/* space required for per-node state */ >> }; > >> const s

space of ath_node

2010-03-29 Thread jiani1012
Hi,all A problem puzzled me in ath code. The following code in function ath_node_alloc( ) shows the space allocated to an, >struct ath_ratectrl { >size_t arc_space;/* space required for per-node state */ >}; >const size_t space = sizeof(struct ath_node) + sc->sc_rc->arc_space