'Why RTM_NEWLINK/RTM_DELLINK event belong to RTMGRP_LINK group?

When user space subscribe RTMGRP_LINK group of route netlink, we can get notification for create/delete interface (RTM_NEWLINK, RTM_DELLINK).

I would like to know where is the code that make the events like RTM_NEWLINK/RTM_DELLINK belong to RTMGRP_LINK group.



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source