@@ -113,7 +113,7 @@ class EmacTestMemoryManager : public EMACMemoryManager {
113
113
* If memory buffer is chained must point to the start of the chain. Frees all buffers
114
114
* from the chained list.
115
115
*
116
- * @param mem Memory buffer chain to be freed.
116
+ * @param buf Memory buffer chain to be freed.
117
117
*/
118
118
virtual void free (emac_mem_buf_t *buf);
119
119
@@ -122,7 +122,7 @@ class EmacTestMemoryManager : public EMACMemoryManager {
122
122
*
123
123
* Returns a total length of this buffer and any following buffers in the chain.
124
124
*
125
- * @param mem Memory buffer chain
125
+ * @param buf Memory buffer chain
126
126
* @return Total length in bytes
127
127
*/
128
128
virtual uint32_t get_total_len (const emac_mem_buf_t *buf) const ;
@@ -155,23 +155,23 @@ class EmacTestMemoryManager : public EMACMemoryManager {
155
155
*
156
156
* Returns the next buffer from the memory buffer chain.
157
157
*
158
- * @param mem Memory buffer
158
+ * @param buf Memory buffer
159
159
* @return The next memory buffer, or NULL if last
160
160
*/
161
161
virtual emac_mem_buf_t *get_next (const emac_mem_buf_t *buf) const ;
162
162
163
163
/* *
164
164
* Return pointer to the payload of the buffer
165
165
*
166
- * @param mem Memory buffer
166
+ * @param buf Memory buffer
167
167
* @return Pointer to the payload
168
168
*/
169
169
virtual void *get_ptr (const emac_mem_buf_t *buf) const ;
170
170
171
171
/* *
172
172
* Return payload size of the buffer
173
173
*
174
- * @param mem Memory buffer
174
+ * @param buf Memory buffer
175
175
* @return Size in bytes
176
176
*/
177
177
virtual uint32_t get_len (const emac_mem_buf_t *buf) const ;
@@ -182,7 +182,7 @@ class EmacTestMemoryManager : public EMACMemoryManager {
182
182
* The allocated payload size will not change. It is not permitted
183
183
* to change the length of a buffer that is not the first (or only) in a chain.
184
184
*
185
- * @param mem Memory buffer
185
+ * @param buf Memory buffer
186
186
* @param len Payload size, must be less or equal allocated size
187
187
*/
188
188
virtual void set_len (emac_mem_buf_t *buf, uint32_t len);
0 commit comments