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