Lines Matching refs:message
26 _cleanup_(sd_netlink_message_unrefp) sd_netlink_message *message = NULL;
39 r = sd_rtnl_message_new_link(*rtnl, &message, RTM_SETLINK, ifindex);
43 r = sd_netlink_message_append_string(message, IFLA_IFNAME, name);
47 r = sd_netlink_call(*rtnl, message, 0, NULL);
56 _cleanup_(sd_netlink_message_unrefp) sd_netlink_message *message = NULL;
71 r = sd_rtnl_message_new_link(*rtnl, &message, RTM_SETLINK, ifindex);
76 r = sd_netlink_message_append_string(message, IFLA_IFALIAS, alias);
82 r = sd_netlink_message_append_ether_addr(message, IFLA_ADDRESS, mac);
88 r = sd_netlink_message_append_u32(message, IFLA_MTU, mtu);
93 r = sd_netlink_call(*rtnl, message, 0, NULL);
165 return log_error_errno(r, "Failed to parse netlink message: %m");
169 return log_error_errno(r, "Failed to create netlink message: %m");