Seems this function only used for write logs, right? we have exist log lib in flibs -> flog. Btw from the api name "get_tcp_info", my intuition is we can get some tcp information and to do something, but from the api's define, there is no output arg and no return value, so the name is not very appropriate.

seq_arr[5000], the 5000 value is also a magic number, so why not 4000 or 6000, is there the risk of overflow?