Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

sys/net/netif: add convenience functions for getting/printing IPv6 addresses #18161

Merged
merged 6 commits into from
Jun 6, 2022

Commits on Jun 6, 2022

  1. sys/net: add ipv6_addrs_print()

    Also use `IS_USED(MODULE_FMT)` rather than the preprocessor and rely
    on the optimizer to eliminate the dead branch.
    maribu committed Jun 6, 2022
    Configuration menu
    Copy the full SHA
    a4d00df View commit details
    Browse the repository at this point in the history
  2. sys/net/netif: add helpers for IPv6 addresses

    - add `netif_get_ipv6()` to query IPv6 (as a slim convenience wrapper
      for `netif_get_opt()`)
    - add `netifs_get_ipv6()` to query IPv6 addresses of all netifs
    - add `netif_print_ipv6()` to print the IPv6 address(es) of a single
      netif
    - add `netifs_print_ipv6()` to print the IPv6 address(es) of all netifs
    maribu committed Jun 6, 2022
    Configuration menu
    Copy the full SHA
    bfb8a55 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    b564f95 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    501a5b9 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    9ad9265 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    6b2a1f7 View commit details
    Browse the repository at this point in the history