[riot-notifications] [RIOT-OS/RIOT] gnrc/ipv6_auto_subnets: relax topology requirements (#16750)

Martine Lenders notifications at github.com
Tue Sep 28 16:54:40 CEST 2021


@miri64 approved this pull request.

I'm fine with the code now and I trust your testing. Feel free to squash.

>  
 #define ENABLE_DEBUG 0
 #include "debug.h"
 
 static char addr_str[IPV6_ADDR_MAX_STR_LEN];
 
+#if !IS_USED(MODULE_GNRC_IPV6_AUTO_SUBNETS_SIMPLE)
+
+/**
+ * @brief Custom UDP sync protocol
+ */
+typedef struct __attribute__((packed)) {
+    uint8_t version;        /**< version number, must be 0 */
+    uint8_t num_subnets;    /**< number of subnets a host wants to create */
+} _auto_subnets_request_t;

This is more of a proposal, than a request:

```suggestion
} _auto_subnets_request_v0_t;
```

might make future changes to the header less confusing ;-).

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/RIOT-OS/RIOT/pull/16750#pullrequestreview-765566452
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.riot-os.org/pipermail/notifications/attachments/20210928/6ec26a89/attachment.htm>


More information about the notifications mailing list