doc: net: Fix net_pkt_data_access doc about cursor
Unlike other functions in net_pkt.h, net_pkt_data_access() doesn't change the cursor position. Signed-off-by: Yasushi SHOJI <yashi@spacecubics.com>
This commit is contained in:
parent
d3f386d52b
commit
cd184f4332
1 changed files with 2 additions and 2 deletions
|
@ -2239,8 +2239,8 @@ struct net_pkt_data_access {
|
|||
* @brief Get data from a network packet in a contiguous way
|
||||
*
|
||||
* @details net_pkt's cursor should be properly initialized and,
|
||||
* if needed, positioned using net_pkt_skip.
|
||||
* Cursor position will be updated after the operation.
|
||||
* if needed, positioned using net_pkt_skip. Unlike other functions,
|
||||
* cursor position will not be updated after the operation.
|
||||
*
|
||||
* @param pkt The network packet from where to get the data.
|
||||
* @param access A pointer to a valid net_pkt_data_access describing the
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue