timeline is used to store small amount of sequence number. time_of_packets is used to store usec, it should be a 64bit unsigned type, so yes, I should change it to long long in case in a 32-bit system. seq_of_packets is used to store large amount of sequence number, so I need to change it to long long.