net: Refactor code to use new generic net_buf API
Change-Id: Id008bbf43062ca0641a76edaabef47c650287444 Signed-off-by: Jukka Rissanen <jukka.rissanen@linux.intel.com>
This commit is contained in:
parent
5fc0533414
commit
2272312b8d
121 changed files with 1716 additions and 1537 deletions
|
@ -110,8 +110,8 @@ int net_set_mac(uint8_t *mac, uint8_t len);
|
|||
*
|
||||
* @details Application can call this function if it has received
|
||||
* a network packet from peer. The application needs to write
|
||||
* reply data into net_buf. The app can use net_buf_data(buf) and
|
||||
* net_buf_datalen(buf) to set the application data and length.
|
||||
* reply data into net_buf. The app can use ip_buf_appdata(buf) and
|
||||
* ip_buf_appdatalen(buf) to set the application data and length.
|
||||
*
|
||||
* @param context Network context
|
||||
* @param buf Network buffer containing the network data.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue