mirror of
https://github.com/lwip-tcpip/lwip.git
synced 2025-02-24 09:39:59 +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
|
* Copy len bytes from offset in pbuf to buffer
|
||||||
*
|
*
|
||||||
* helper used by both ip_reass and ip_frag
|
* 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 *
|
static struct pbuf *
|
||||||
copy_from_pbuf(struct pbuf *p, u16_t * offset,
|
copy_from_pbuf(struct pbuf *p, u16_t *offset, u8_t *buffer, u16_t len)
|
||||||
u8_t * buffer, u16_t len)
|
|
||||||
{
|
{
|
||||||
u16_t l;
|
u16_t l;
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user