twitu / sdn-vanet

Implementing SDN based VANET simulated on Mininet-Wifi nodes - Socket programming to implement functionality as an application
9 stars 5 forks source link

Change message content for logging #1

Closed twitu closed 5 years ago

twitu commented 5 years ago

log line will be of the format destination_id packet_index HH:MM:SS each node will write logging information to a file indexed by its id e.g. node.[id].log

twitu commented 5 years ago

These lines will have to be changed to accomodate packet_index https://github.com/twitu/sdn-vanet/blob/b396bf10cdd551ef438a6c1de910641fc6e6171b/local_server.c#L140 https://github.com/twitu/sdn-vanet/blob/b396bf10cdd551ef438a6c1de910641fc6e6171b/local_server.c#L160

twitu commented 5 years ago

logging for packet data was added in 1bc79d7f2e8ad1e2f615610785e7497cc556a0fc. It prints information like sender destination sender packet index timestamp