Skip to content

Commit

Permalink
lwip/pbuf: Add PTP specific changes
Browse files Browse the repository at this point in the history
  • Loading branch information
tsmarques authored and Renato Campos committed Jan 24, 2024
1 parent f9a360d commit 5e4e01f
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions src/include/lwip/pbuf.h
Original file line number Diff line number Diff line change
Expand Up @@ -222,6 +222,13 @@ struct pbuf {

/** In case the user needs to store data custom data on a pbuf */
LWIP_PBUF_CUSTOM_DATA
#if LWIP_PTP
/**
* Timestamp that this packet was received.
*/
s32_t time_sec;
s32_t time_nsec;
#endif
};


Expand Down

0 comments on commit 5e4e01f

Please sign in to comment.