[riot-notifications] [RIOT-OS/RIOT] sys/net/gnrc/netif: Make aac_mode a flag field (#16596)

Jan Romann notifications at github.com
Tue Jun 29 18:22:06 CEST 2021


### Contribution description

This PR is another spin-off from #16228. Its changes let the the `aac_mode` field of `gnrc_netif_ipv6_t` be treated as flag field.
The members of the `net_gnrc_netif_aac` enum are updated accordingly. This way, it is possible for a net interface to use (for instance) both SLAAC and DHCPv6 for auto-adress configuration.

### Testing procedure

As this is curently more or less a refactoring, you can use the existing `gnrc` and unit tests should which should still be passing.

### Issues/PRs references


You can view, comment on, or merge this pull request online at:

  https://github.com/RIOT-OS/RIOT/pull/16596

-- Commit Summary --

  * sys/net/gnrc/netif: Make aac_mode a flag field

-- File Changes --

    M sys/include/net/gnrc/netif/flags.h (10)
    M sys/include/net/gnrc/netif/ipv6.h (2)
    M sys/net/gnrc/network_layer/ipv6/nib/_nib-slaac.c (2)
    M sys/net/gnrc/network_layer/ipv6/nib/nib.c (2)
    M sys/net/gnrc/network_layer/ipv6/nib/nib_pl.c (2)
    M sys/net/gnrc/network_layer/ndp/gnrc_ndp.c (2)

-- Patch Links --

https://github.com/RIOT-OS/RIOT/pull/16596.patch
https://github.com/RIOT-OS/RIOT/pull/16596.diff

-- 
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/16596
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.riot-os.org/pipermail/notifications/attachments/20210629/6980da33/attachment.htm>


More information about the notifications mailing list