change the tcp struct