net/pkt: Rename net_pkt_clone_new to net_pkt_clone

Now that legacy net_pkt_clone function has been removed, the new
function can be renamed accordingly.

Signed-off-by: Tomasz Bursztyka <tomasz.bursztyka@linux.intel.com>
This commit is contained in:
Tomasz Bursztyka 2019-02-08 09:26:29 +01:00 committed by Anas Nashif
commit 38a3e79f9b
6 changed files with 7 additions and 7 deletions

View file

@ -2312,14 +2312,14 @@ int net_pkt_copy_new(struct net_pkt *pkt_dst,
size_t length);
/**
* @brief Clone pkt and its fragment chain.
* @brief Clone pkt and its buffer.
*
* @param pkt Original pkt to be cloned
* @param timeout Timeout to wait for free buffer
*
* @return NULL if error, cloned packet otherwise.
*/
struct net_pkt *net_pkt_clone_new(struct net_pkt *pkt, s32_t timeout);
struct net_pkt *net_pkt_clone(struct net_pkt *pkt, s32_t timeout);
/**
* @brief Read some data from a net_pkt