Lines Matching full:ifi
1236 struct ifinfomsg *ifi; in host_to_target_data_route() local
1245 if (nlh->nlmsg_len >= NLMSG_LENGTH(sizeof(*ifi))) { in host_to_target_data_route()
1246 ifi = NLMSG_DATA(nlh); in host_to_target_data_route()
1247 ifi->ifi_type = tswap16(ifi->ifi_type); in host_to_target_data_route()
1248 ifi->ifi_index = tswap32(ifi->ifi_index); in host_to_target_data_route()
1249 ifi->ifi_flags = tswap32(ifi->ifi_flags); in host_to_target_data_route()
1250 ifi->ifi_change = tswap32(ifi->ifi_change); in host_to_target_data_route()
1251 host_to_target_link_rtattr(IFLA_RTA(ifi), in host_to_target_data_route()
1252 nlmsg_len - NLMSG_LENGTH(sizeof(*ifi))); in host_to_target_data_route()
1459 struct ifinfomsg *ifi; in target_to_host_data_route() local
1468 if (nlh->nlmsg_len >= NLMSG_LENGTH(sizeof(*ifi))) { in target_to_host_data_route()
1469 ifi = NLMSG_DATA(nlh); in target_to_host_data_route()
1470 ifi->ifi_type = tswap16(ifi->ifi_type); in target_to_host_data_route()
1471 ifi->ifi_index = tswap32(ifi->ifi_index); in target_to_host_data_route()
1472 ifi->ifi_flags = tswap32(ifi->ifi_flags); in target_to_host_data_route()
1473 ifi->ifi_change = tswap32(ifi->ifi_change); in target_to_host_data_route()
1474 target_to_host_link_rtattr(IFLA_RTA(ifi), nlh->nlmsg_len - in target_to_host_data_route()
1475 NLMSG_LENGTH(sizeof(*ifi))); in target_to_host_data_route()