Lines Matching refs:tcphdr
279 hhook_run_tcp_est_in(struct tcpcb *tp, struct tcphdr *th, struct tcpopt *to)
298 cc_ack_received(struct tcpcb *tp, struct tcphdr *th, uint16_t nsegs,
404 cc_cong_signal(struct tcpcb *tp, struct tcphdr *th, uint32_t type)
461 cc_post_recovery(struct tcpcb *tp, struct tcphdr *th)
491 cc_ecnpkt_handler(struct tcpcb *tp, struct tcphdr *th, uint8_t iptos)
541 if (m->m_len < *offp + sizeof(struct tcphdr)) {
542 m = m_pullup(m, *offp + sizeof(struct tcphdr));
576 struct tcphdr *th = NULL;
610 struct tcphdr tcp_savetcp;
628 th = (struct tcphdr *)((caddr_t)ip6 + off0);
680 th = (struct tcphdr *)((caddr_t)ip + off0);
726 if (off < sizeof (struct tcphdr) || off > tlen) {
731 if (off > sizeof (struct tcphdr)) {
742 th = (struct tcphdr *)((caddr_t)ip6 + off0);
757 th = (struct tcphdr *)((caddr_t)ip + off0);
761 optlen = off - sizeof (struct tcphdr);
1491 tcp_autorcvbuf(struct mbuf *m, struct tcphdr *th, struct socket *so,
1517 tcp_do_segment(struct mbuf *m, struct tcphdr *th, struct socket *so,
1536 struct tcphdr tcp_savetcp;
1635 (th->th_off << 2) - sizeof(struct tcphdr),
2489 (void) tcp_reass(tp, (struct tcphdr *)0, NULL, 0,
3300 tcp_dropwithreset(struct mbuf *m, struct tcphdr *th, struct tcpcb *tp,
3473 tcp_pulloutofband(struct socket *so, struct tcphdr *th, struct mbuf *m,
3614 sizeof (struct ip6_hdr) + sizeof (struct tcphdr) :
3841 min_protoh = sizeof(struct ip6_hdr) + sizeof(struct tcphdr);
3874 tcp_newreno_partial_ack(struct tcpcb *tp, struct tcphdr *th)