127 eo_common_ipv4addr_to_decimal(ipv4, NULL, NULL, NULL, &index);
130 if(index>=maxEthBoards)
136 if(NULL != LUT[index].resource)
141 LUT[index].resource = res;
142 LUT[index].ipv4 = ipv4;
143 LUT[index].boardnumber = index;
145 LUT[index].numberofinterfaces = 0;
148 LUT[index].interfaces[i] = NULL;
159 if((NULL == res) || (NULL == interface))
174 eo_common_ipv4addr_to_decimal(ipv4, NULL, NULL, NULL, &index);
176 if(index>=maxEthBoards)
181 if(res != LUT[index].resource)
186 if(NULL != LUT[index].interfaces[type])
192 LUT[index].interfaces[type] = interface;
193 LUT[index].numberofinterfaces ++;
241 eo_common_ipv4addr_to_decimal(ipv4, NULL, NULL, NULL, &index);
243 if(index>=maxEthBoards)
248 if(res != LUT[index].resource)
253 if(NULL != LUT[index].interfaces[type])
255 LUT[index].interfaces[type] = NULL;
256 LUT[index].numberofinterfaces --;
281 eo_common_ipv4addr_to_decimal(ipv4, NULL, NULL, NULL, &index);
323 eo_common_ipv4addr_to_decimal(ipv4, NULL, NULL, NULL, &index);
325 if(index>=maxEthBoards)
330 if(NULL == LUT[index].resource)
336 eOprotEndpoint_t ep = eoprot_ID2endpoint(id32);
339 case eoprot_endpoint_management:
344 case eoprot_endpoint_motioncontrol:
349 case eoprot_endpoint_skin:
354 case eoprot_endpoint_analogsensors:
356 eOprotEntity_t en = eoprot_ID2entity(id32);
357 if(eoprot_entity_as_strain == en)
359 else if(eoprot_entity_as_mais == en)
361 else if(eoprot_entity_as_inertial3 == en)
363 else if(eoprot_entity_as_temperature == en)
365 else if(eoprot_entity_as_psc == en)
367 else if(eoprot_entity_as_pos == en)
369 else if(eoprot_entity_as_ft == en)
371 else if(eoprot_entity_as_battery == en)
385 dev = LUT[index].interfaces[type];