Associate local ports with global ports

We specify the global port of each local port with the pok_ports_identifiers array. An example is given below:

   uint8_t pok_ports_identifiers[POK_CONFIG_NB_PORTS] =
            {node1_partition_secret_outgoing,
            node1_partition_topsecret_outgoing,
            node1_partition_unclassified_outgoing};

Here, the first local port of the current node corresponds to the node1_partition_secret_outgoing global port.

When you use code generation, this declaration is automatically created in the deployment.c file.



Copyright 2009 POK Team