Understanding iproute2 source

Ambitious title, isn’t it? But I will actually focus on one subcommand:

ip [--details] address show

data-structure.svg

Author status

$ cowsay -f tux Coo coo coo
 _____________
< Coo coo coo >
 -------------
   \
    \
        .--.
       |o_o |
       |:_/ |
      //   \ \
     (|     | )
    /'\_   _/`\
    \___)=(___/

References

  1. if_link.h
  2. rtnetlink(7)
  3. Neil Horman: Understanding And Programming With Netlink Sockets
  4. Yuan Jianpeng: netlink 消息类型和格式