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:
Jukka Rissanen 2015-10-30 17:42:03 +02:00 committed by Anas Nashif
commit 2272312b8d
121 changed files with 1716 additions and 1537 deletions

View file

@ -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.