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:
parent
347e17543f
commit
38a3e79f9b
6 changed files with 7 additions and 7 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue