Lines Matching refs:tcphdr
423 rack_process_ack(struct mbuf *m, struct tcphdr *th,
427 rack_process_data(struct mbuf *m, struct tcphdr *th,
450 rack_do_segment(struct mbuf *m, struct tcphdr *th,
482 struct tcphdr *th, int entered_rec, int dup_ack_struck);
522 rack_do_close_wait(struct mbuf *m, struct tcphdr *th,
526 rack_do_closing(struct mbuf *m, struct tcphdr *th,
530 rack_do_established(struct mbuf *m, struct tcphdr *th,
534 rack_do_fastnewdata(struct mbuf *m, struct tcphdr *th,
538 rack_do_fin_wait_1(struct mbuf *m, struct tcphdr *th,
542 rack_do_fin_wait_2(struct mbuf *m, struct tcphdr *th,
546 rack_do_lastack(struct mbuf *m, struct tcphdr *th,
550 rack_do_syn_recv(struct mbuf *m, struct tcphdr *th,
554 rack_do_syn_sent(struct mbuf *m, struct tcphdr *th,
9064 rack_log_ack(struct tcpcb *tp, struct tcpopt *to, struct tcphdr *th, int entered_recovery, int dup_ack_struck)
9704 rack_process_ack(struct mbuf *m, struct tcphdr *th, struct socket *so,
10074 rack_process_data(struct mbuf *m, struct tcphdr *th, struct socket *so,
10366 rack_do_fastnewdata(struct mbuf *m, struct tcphdr *th, struct socket *so,
10382 struct tcphdr tcp_savetcp;
10511 rack_fastack(struct mbuf *m, struct tcphdr *th, struct socket *so,
10523 struct tcphdr tcp_savetcp;
10732 rack_do_syn_sent(struct mbuf *m, struct tcphdr *th, struct socket *so,
10938 rack_do_syn_recv(struct mbuf *m, struct tcphdr *th, struct socket *so,
11088 (void) tcp_reass(tp, (struct tcphdr *)0, NULL, 0,
11149 rack_do_established(struct mbuf *m, struct tcphdr *th, struct socket *so,
11280 rack_do_close_wait(struct mbuf *m, struct tcphdr *th, struct socket *so,
11375 struct tcpcb *tp, int32_t *tlen, struct tcphdr *th, struct socket *so)
11407 rack_do_fin_wait_1(struct mbuf *m, struct tcphdr *th, struct socket *so,
11534 rack_do_closing(struct mbuf *m, struct tcphdr *th, struct socket *so,
11647 rack_do_lastack(struct mbuf *m, struct tcphdr *th, struct socket *so,
11760 rack_do_fin_wait_2(struct mbuf *m, struct tcphdr *th, struct socket *so,
11963 rack->r_ctl.fsb.tcp_ip_hdr_len = sizeof(struct ip6_hdr) + sizeof(struct tcphdr);
11971 rack->r_ctl.fsb.th = (struct tcphdr *)(udp + 1);
11974 rack->r_ctl.fsb.th = (struct tcphdr *)(ip6 + 1);
11991 rack->r_ctl.fsb.th = (struct tcphdr *)(udp + 1);
11995 rack->r_ctl.fsb.th = (struct tcphdr *)(ip + 1);
12012 rack->r_ctl.fsb.tcp_ip_hdr_len = sizeof(struct ip6_hdr) + sizeof(struct tcphdr) + sizeof(struct udphdr);
12673 struct tcphdr *th;
12753 th = (struct tcphdr *)tcp_hdr_buf;
12766 th->th_off = ((sizeof(struct tcphdr) + TCPOLEN_TSTAMP_APPA) >> 2);
12783 th->th_off = (sizeof(struct tcphdr) >> 2);
13436 rack_do_segment_nounlock(struct mbuf *m, struct tcphdr *th, struct socket *so,
13497 (th->th_off << 2) - sizeof(struct tcphdr),
13631 (th->th_off << 2) - sizeof(struct tcphdr),
13983 rack_do_segment(struct mbuf *m, struct tcphdr *th, struct socket *so,
15077 struct tcphdr *th = NULL;
15100 hdrlen = sizeof(struct ip6_hdr) + sizeof(struct tcphdr);
15275 m->m_pkthdr.csum_data = offsetof(struct tcphdr, th_sum);
15277 sizeof(struct tcphdr) + optlen + len, IPPROTO_TCP,
15296 m->m_pkthdr.csum_data = offsetof(struct tcphdr, th_sum);
15298 ip->ip_dst.s_addr, htons(sizeof(struct tcphdr) +
15342 th = (struct tcphdr *)(cpto + ((uint8_t *)rack->r_ctl.fsb.th - rack->r_ctl.fsb.tcp_ip_hdr));
15345 th->th_off = (sizeof(struct tcphdr) + optlen) >> 2;
15347 th->th_off = sizeof(struct tcphdr) >> 2;
15553 struct tcphdr *th = NULL;
15575 hdrlen = sizeof(struct ip6_hdr) + sizeof(struct tcphdr);
15752 m->m_pkthdr.csum_data = offsetof(struct tcphdr, th_sum);
15754 sizeof(struct tcphdr) + optlen + len, IPPROTO_TCP,
15773 m->m_pkthdr.csum_data = offsetof(struct tcphdr, th_sum);
15775 ip->ip_dst.s_addr, htons(sizeof(struct tcphdr) +
15819 th = (struct tcphdr *)(cpto + ((uint8_t *)rack->r_ctl.fsb.th - rack->r_ctl.fsb.tcp_ip_hdr));
15822 th->th_off = (sizeof(struct tcphdr) + optlen) >> 2;
15824 th->th_off = sizeof(struct tcphdr) >> 2;
15983 struct tcphdr *th;
17280 hdrlen = sizeof(struct ip6_hdr) + sizeof(struct tcphdr);
17504 panic("tcphdr too big");
17700 th = (struct tcphdr *)(udp + 1);
17702 th = (struct tcphdr *)(ip6 + 1);
17717 th = (struct tcphdr *)(udp + 1);
17719 th = (struct tcphdr *)(ip + 1);
17856 * tcphdr (no options)
17869 th = (struct tcphdr *)(cpto + ((uint8_t *)rack->r_ctl.fsb.th - rack->r_ctl.fsb.tcp_ip_hdr));
17894 th->th_off = (sizeof(struct tcphdr) + optlen) >> 2;
17915 m->m_pkthdr.csum_data = offsetof(struct tcphdr, th_sum);
17917 sizeof(struct tcphdr) + optlen + len, IPPROTO_TCP,
17936 m->m_pkthdr.csum_data = offsetof(struct tcphdr, th_sum);
17938 ip->ip_dst.s_addr, htons(sizeof(struct tcphdr) +