17 #ifdef POK_NEEDS_PORTS_VIRTUAL 
   27 extern uint8_t          pok_ports_nb_destinations[POK_CONFIG_NB_PORTS];              
 
   29 extern uint8_t          pok_ports_kind[POK_CONFIG_NB_PORTS];
 
   33    if (
id >= POK_CONFIG_NB_PORTS)
 
   38    if (! pok_own_port (POK_SCHED_CURRENT_PARTITION, 
id))
 
   43    if (pok_ports_kind[
id] != POK_PORT_KIND_VIRTUAL)
 
   48    *result = pok_ports_nb_destinations[id];