An example is given below. Here, the first local port corresponds to the global port identifier node1_partition_secret_outgoing_global.
uint8_t pok_local_ports_to_global_ports[POK_CONFIG_NB_PORTS] = {node1_partition_secret_outgoing_global, node1_partition_topsecret_outgoing_global, node1_partition_unclassified_outgoing_global};
When you use code generation functionnalities, this declaration is automatically created in the deployment.c file.