Lines Matching defs:tcp
159 * describe GRE but TCP instead.
276 * Try and build up the next PPTP message in the TCP stream and if we can
287 tcphdr_t *tcp;
292 tcp = fin->fin_dp;
293 dlen = fin->fin_dlen - (TCP_OFF(tcp) << 2);
294 start = ntohl(tcp->th_seq);
296 off = (char *)tcp - (char *)fin->fin_ip + (TCP_OFF(tcp) << 2) +
319 msg = (char *)fin->fin_dp + (TCP_OFF(tcp) << 2);
513 tcphdr_t *tcp;
523 tcp = (tcphdr_t *)fin->fin_dp;
524 if ((tcp->th_flags & TH_OPENING) == TH_OPENING) {
526 pptp->pptp_side[1 - rev].pptps_next = ntohl(tcp->th_ack);
527 pptp->pptp_side[1 - rev].pptps_nexthdr = ntohl(tcp->th_ack);
528 pptp->pptp_side[rev].pptps_next = ntohl(tcp->th_seq) + 1;
529 pptp->pptp_side[rev].pptps_nexthdr = ntohl(tcp->th_seq) + 1;