mirror of
https://github.com/lwip-tcpip/lwip.git
synced 2025-02-23 15:40:43 +00:00
Done some work on task #1549 (function documentation)
This commit is contained in:
parent
5ee9c95ebd
commit
d8d281281c
@ -64,10 +64,16 @@ static u8_t ip_reasstmr;
|
||||
* Copy len bytes from offset in pbuf to buffer
|
||||
*
|
||||
* helper used by both ip_reass and ip_frag
|
||||
*
|
||||
* @param p pbuf chain to copy from
|
||||
* @param offset offset in bytes into the pbuf chain which should be skipped
|
||||
* before starting to copy
|
||||
* @param buffer destination to copy the data
|
||||
* @param len number of bytes to copy (starting from offset)
|
||||
* @return pointer to one pbuf in the chain p from which copied last
|
||||
*/
|
||||
static struct pbuf *
|
||||
copy_from_pbuf(struct pbuf *p, u16_t * offset,
|
||||
u8_t * buffer, u16_t len)
|
||||
copy_from_pbuf(struct pbuf *p, u16_t *offset, u8_t *buffer, u16_t len)
|
||||
{
|
||||
u16_t l;
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user