mirror of https://github.com/ARMmbed/mbed-os.git
Fixed emac test function parameter errors
parent
9e73e80926
commit
93eb0c2872
|
|
@ -113,7 +113,7 @@ public:
|
|||
* If memory buffer is chained must point to the start of the chain. Frees all buffers
|
||||
* from the chained list.
|
||||
*
|
||||
* @param mem Memory buffer chain to be freed.
|
||||
* @param buf Memory buffer chain to be freed.
|
||||
*/
|
||||
virtual void free(emac_mem_buf_t *buf);
|
||||
|
||||
|
|
@ -122,7 +122,7 @@ public:
|
|||
*
|
||||
* Returns a total length of this buffer and any following buffers in the chain.
|
||||
*
|
||||
* @param mem Memory buffer chain
|
||||
* @param buf Memory buffer chain
|
||||
* @return Total length in bytes
|
||||
*/
|
||||
virtual uint32_t get_total_len(const emac_mem_buf_t *buf) const;
|
||||
|
|
@ -155,7 +155,7 @@ public:
|
|||
*
|
||||
* Returns the next buffer from the memory buffer chain.
|
||||
*
|
||||
* @param mem Memory buffer
|
||||
* @param buf Memory buffer
|
||||
* @return The next memory buffer, or NULL if last
|
||||
*/
|
||||
virtual emac_mem_buf_t *get_next(const emac_mem_buf_t *buf) const;
|
||||
|
|
@ -163,7 +163,7 @@ public:
|
|||
/**
|
||||
* Return pointer to the payload of the buffer
|
||||
*
|
||||
* @param mem Memory buffer
|
||||
* @param buf Memory buffer
|
||||
* @return Pointer to the payload
|
||||
*/
|
||||
virtual void *get_ptr(const emac_mem_buf_t *buf) const;
|
||||
|
|
@ -171,7 +171,7 @@ public:
|
|||
/**
|
||||
* Return payload size of the buffer
|
||||
*
|
||||
* @param mem Memory buffer
|
||||
* @param buf Memory buffer
|
||||
* @return Size in bytes
|
||||
*/
|
||||
virtual uint32_t get_len(const emac_mem_buf_t *buf) const;
|
||||
|
|
@ -182,7 +182,7 @@ public:
|
|||
* The allocated payload size will not change. It is not permitted
|
||||
* to change the length of a buffer that is not the first (or only) in a chain.
|
||||
*
|
||||
* @param mem Memory buffer
|
||||
* @param buf Memory buffer
|
||||
* @param len Payload size, must be less or equal allocated size
|
||||
*/
|
||||
virtual void set_len(emac_mem_buf_t *buf, uint32_t len);
|
||||
|
|
|
|||
|
|
@ -88,7 +88,6 @@ public:
|
|||
|
||||
/** Copies IP address of the network interface to user supplied buffer
|
||||
*
|
||||
* @param emac EMAC HAL implementation for this network interface
|
||||
* @param buf buffer to which IP address will be copied as "W:X:Y:Z"
|
||||
* @param buflen size of supplied buffer
|
||||
* @return Pointer to a buffer, or NULL if the buffer is too small
|
||||
|
|
|
|||
Loading…
Reference in New Issue