Searched refs:max_attr (Results 1 – 2 of 2) sorted by relevance
23 uint16_t nlmsg_type, max_attr; in link_info_get() local110 r = sd_netlink_message_get_max_attribute(reply, &max_attr); in link_info_get()114 info.phys_port_id_supported = max_attr >= IFLA_PHYS_PORT_ID; in link_info_get()115 info.phys_switch_id_supported = max_attr >= IFLA_PHYS_SWITCH_ID; in link_info_get()116 info.phys_port_name_supported = max_attr >= IFLA_PHYS_PORT_NAME; in link_info_get()
1140 uint16_t max_attr = 0; in netlink_container_parse() local1150 max_attr = MAX(max_attr, attr); in netlink_container_parse()1152 if (!GREEDY_REALLOC0(attributes, (size_t) max_attr + 1)) in netlink_container_parse()1164 container->max_attribute = max_attr; in netlink_container_parse()