From bcd58bfd10f93b63bb47a78b437f1b97bd4bdcfd Mon Sep 17 00:00:00 2001 From: Benjamin Valentin Date: Mon, 9 May 2022 23:32:39 +0200 Subject: [PATCH] sys/net: add local to sock_ip_aux_tx_t --- sys/include/net/sock/ip.h | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/sys/include/net/sock/ip.h b/sys/include/net/sock/ip.h index cb8b61121a..1e296c3444 100644 --- a/sys/include/net/sock/ip.h +++ b/sys/include/net/sock/ip.h @@ -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