Initialize a packet manager.
[R] = NL_I_PacketManagerInit(M)
Maximal quantity of packets supported by each network matrix.
Packet manager.
NL_I_PacketManagerInit initializes the packet manager R that can support M packets. A packet is stored into a single line composed by 10 columns. The first column provides the packet presence (0 for an empty line and 1 if a packet is already defined). The second column represents the connection source node. The third column corresponds to the connection target node. The fourth column provides the connection length (quantity of packets). The fifth column corresponds to the packet index inside the connection. The sixth column represents the packet acknowledgement (initialized to 0 and 1 if the packet reaches its destination). The seventh column gives the packet arrival time on the reception network matrix. The eighth column represents the packet presence on the reception network(0 if it is not present and 1 if it is present). The ninth column is the packet type (UDP:0 TCP:1 MPTCP:2). Finally the tenth column provides the route taken by the packet (1:route 1, 2:route 2, 3:route 3, 4:route 4, 5:route 5). The route is initialized to 1 (shortest path).