Lines Matching full:tcp
186 * tcpHdr -- pointer to TCP header
188 * The computed TCP checksum
198 /* Count number of bytes in TCP header and data */
215 /* Checksum the TCP header and data */
240 * Clamps MSS option if TCP SYN flag is set.
283 /* 20 byte IP header; 20 byte TCP header; at least 1 or 2 byte PPP protocol */
297 /* Is it TCP? */
302 /* Get start of TCP header */
310 /* Compute and verify TCP checksum -- do not touch a packet with a bad
314 syslog(LOG_ERR, "Bad TCP checksum %x", (unsigned int) csum);
348 "Bogus TCP option length (%u) from %u.%u.%u.%u",
377 /* Recompute TCP checksum */