add some tcp header-related struct and functions