netbuf_copy_partial()

Name

netbuf_copy_partial() -- Copy some netbuf data to memory pointer

Synopsis

void netbuf_copy_partial(struct netbuf *buf, void *data, u16_t len, u16_t offset);

Description

This function is similar to netbuf_copy() except that it takes an extra parameter, offset, which can be used to set an offset from the start of the packet to start copying the len bytes.

   
   
  Documentation license for this page: eCosPro License
   
         
 
  Copyright © 2003-2012 eCosCentric Limited Privacy & Legal Statements