Lines Matching defs:mm
50 static int manager_process_link(sd_netlink *rtnl, sd_netlink_message *mm, void *userdata) {
58 assert(mm);
60 r = sd_netlink_message_get_type(mm, &type);
64 r = sd_rtnl_message_link_get_ifindex(mm, &ifindex);
81 r = link_update_rtnl(l, mm);
111 static int manager_process_address(sd_netlink *rtnl, sd_netlink_message *mm, void *userdata) {
120 assert(mm);
123 r = sd_netlink_message_get_type(mm, &type);
127 r = sd_rtnl_message_addr_get_ifindex(mm, &ifindex);
135 r = sd_rtnl_message_addr_get_family(mm, &family);
142 r = sd_netlink_message_read_in_addr(mm, IFA_LOCAL, &address.in);
144 r = sd_netlink_message_read_in_addr(mm, IFA_ADDRESS, &address.in);
152 r = sd_netlink_message_read_in6_addr(mm, IFA_LOCAL, &address.in6);
154 r = sd_netlink_message_read_in6_addr(mm, IFA_ADDRESS, &address.in6);
177 r = link_address_update_rtnl(a, mm);