1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2025-12-16 10:03:50 +01:00

sys/net: add local to sock_ip_aux_tx_t

This commit is contained in:
Benjamin Valentin 2022-05-09 23:32:39 +02:00
parent 0a72fc9255
commit bcd58bfd10

View File

@ -333,6 +333,14 @@ typedef struct {
* @brief Auxiliary data provided when sending using an IP sock object
*/
typedef struct {
#if defined(MODULE_SOCK_AUX_LOCAL) || defined(DOXYGEN)
/**
* @brief The local endpoint from which the datagram will be sent
*
* @see SOCK_AUX_SET_LOCAL
*/
sock_ip_ep_t local;
#endif /* MODULE_SOCK_AUX_ENDPOINT */
#if defined(MODULE_SOCK_AUX_TIMESTAMP) || defined(DOXYGEN)
/**
* @brief System time the packet was send