Loading...
Searching...
No Matches
gnrc_ipv6_auto_subnets.c File Reference

Detailed Description

#include "compiler_hints.h"
#include "net/gnrc/ipv6.h"
#include "net/gnrc/netif.h"
#include "net/gnrc/netif/hdr.h"
#include "net/gnrc/udp.h"
#include "net/gnrc/ipv6/nib.h"
#include "net/gnrc/ndp.h"
#include "net/gnrc/rpl.h"
#include "random.h"
#include "xtimer.h"
+ Include dependency graph for gnrc_ipv6_auto_subnets.c:

Go to the source code of this file.

Macros

#define CONFIG_GNRC_IPV6_AUTO_SUBNETS_PORT   (16179)
 Port for the custom UDP sync protocol.
 
#define CONFIG_GNRC_IPV6_AUTO_SUBNETS_PEERS_MAX   (4)
 Max number of other routers on the same link.
 
#define CONFIG_GNRC_IPV6_AUTO_SUBNETS_TX_PER_PERIOD   (3)
 How often the number subnets should be announced by the routers.
 
#define CONFIG_GNRC_IPV6_AUTO_SUBNETS_TIMEOUT_MS   (50)
 How long to wait for other routers announcements before resending or creating subnets when the retry counter is exhausted.
 
#define CONFIG_GNRC_IPV6_AUTO_SUBNETS_PREFIX_FIX_LEN   (0)
 How many bits of a new prefix have to match the old prefix for it to be considered for replacement.
 
#define CONFIG_GNRC_IPV6_AUTO_SUBNETS_PREFIX_MIN_LEN   (0)
 Minimal length of a new prefix.
 
#define CONFIG_GNRC_IPV6_AUTO_SUBNETS_NUMOF   (1)
 Number of subnets that can be configured.
 
#define CONFIG_GNRC_IPV6_AUTO_SUBNETS_STATIC   (0)
 Enable this if you have a static network that might experience high packet loss under certain conditions.