Skip to content

Commit ffa77c2

Browse files
committed
dhcp: add define for MUD URL string
1 parent 88ebbf7 commit ffa77c2

File tree

1 file changed

+13
-0
lines changed

1 file changed

+13
-0
lines changed

Diff for: src/include/lwip/opt.h

+13
Original file line numberDiff line numberDiff line change
@@ -983,6 +983,19 @@
983983
#if !defined LWIP_DHCP_MUD_URL || defined __DOXYGEN__
984984
#define LWIP_DHCP_MUD_URL 0
985985
#endif
986+
987+
/**
988+
* LWIP_MUD_URL_STRING: Specifies a URL that points to a Manufacturer Usage Description (MUD)
989+
* file describing this device.
990+
* This URL will only be emitted via DHCP or DHCPv6 if LWIP_DHCP_MUD_URL or LWIP_DHCP6_MUD_URL are set
991+
* to 1, respectively.
992+
* The URL MUST start with https://.
993+
*
994+
* See RFC 8520 for more information.
995+
*/
996+
#ifdef __DOXYGEN__
997+
#define LWIP_MUD_URL_STRING "https://example.org/mud-file"
998+
#endif
986999
/**
9871000
* @}
9881001
*/

0 commit comments

Comments
 (0)