Lines Matching refs:item
208 mib_item_t *item; in free_itemlist() local
211 item = item_list; in free_itemlist()
212 item_list = item->next_item; in free_itemlist()
213 if (item->valp) in free_itemlist()
214 free(item->valp); in free_itemlist()
215 free(item); in free_itemlist()
233 mib_item_t *item; in get_ip_route() local
277 for (item = item_list; item; item = item->next_item) { in get_ip_route()
278 if ((item->group == MIB2_IP) && (item->mib_id == 0)) { in get_ip_route()
280 mip = (mib2_ip_t *)(void *)item->valp; in get_ip_route()
289 for (item = item_list, found = B_FALSE; item != NULL && !found; in get_ip_route()
290 item = item->next_item) { in get_ip_route()
291 if ((item->group == MIB2_IP) && (item->mib_id == MIB2_IP_20)) { in get_ip_route()
297 map = (mib2_ipAddrEntry_t *)(void *)item->valp; in get_ip_route()
298 while ((char *)map < item->valp + item->length) { in get_ip_route()
356 for (item = item_list; item; item = item->next_item) { in get_ip_route()
357 if ((item->group == MIB2_IP) && (item->mib_id == MIB2_IP_21)) { in get_ip_route()
360 item->length / in get_ip_route()
363 for (rp = (mib2_ipRouteEntry_t *)(void *)item->valp; in get_ip_route()
364 (char *)rp < item->valp + item->length; in get_ip_route()
433 mib_item_t *item; in find_best_server_int() local
469 for (item = item_list, found_client_int = B_FALSE; in find_best_server_int()
470 item != NULL && !found_client_int; item = item->next_item) { in find_best_server_int()
471 if ((item->group == MIB2_IP) && (item->mib_id == MIB2_IP_20)) { in find_best_server_int()
477 map = (mib2_ipAddrEntry_t *)(void *)item->valp; in find_best_server_int()
478 while ((char *)map < item->valp + item->length) { in find_best_server_int()