Lines Matching refs:tcphdr

122 struct tcphdr tcp_savetcp;
290 static void tcp_dooptions(struct tcpcb *, u_char *, int, struct tcphdr *,
293 struct tcphdr *, struct mbuf *, int);
294 static int tcp_reass(struct tcpcb *, struct tcphdr *, int *,
360 static void tcp_newreno_partial_ack(struct tcpcb *tp, struct tcphdr *th);
514 register struct tcphdr *th;
768 IP6_EXTHDR_CHECK(m, *offp, sizeof(struct tcphdr), return IPPROTO_DONE);
1085 register struct tcphdr *th;
1163 th = (struct tcphdr *)(void *)((caddr_t)ip6 + off0);
1225 struct tcphdr *, th);
1254 th = (struct tcphdr *)(void *)((caddr_t)ip + off0);
1317 struct ip *, ip, struct tcpcb *, NULL, struct tcphdr *, th);
1330 if (off < sizeof (struct tcphdr) || off > tlen) {
1339 if (off > sizeof (struct tcphdr)) {
1344 th = (struct tcphdr *)(void *)((caddr_t)ip6 + off0);
1355 th = (struct tcphdr *)(void *)((caddr_t)ip + off0);
1358 optlen = off - sizeof (struct tcphdr);
2284 struct tcpcb *, tp, struct tcphdr *, th,
2315 struct tcpcb *, tp, struct tcphdr *, th,
3174 (void) tcp_reass(tp, (struct tcphdr *)0, &tlen,
3256 struct tcpcb *, tp, struct tcphdr *, th,
3304 struct tcpcb *, tp, struct tcphdr *, th,
3318 struct tcpcb *, tp, struct tcphdr *, th,
3338 struct tcpcb *, tp, struct tcphdr *, th,
3347 struct tcpcb *, tp, struct tcphdr *, th,
3408 struct tcpcb *, tp, struct tcphdr *, th,
3462 struct tcpcb *, tp, struct tcphdr *, th,
3480 struct tcpcb *, tp, struct tcphdr *, th,
4019 struct tcphdr *th;
4124 struct tcphdr *th;
4364 min_protoh = isipv6 ? sizeof (struct ip6_hdr) + sizeof (struct tcphdr)
4561 struct tcphdr *, NULL, int32_t, TCP_CC_CWND_INIT);
4583 min_protoh = isipv6 ? sizeof (struct ip6_hdr) + sizeof (struct tcphdr)
4632 struct tcphdr *th;
4852 struct tcpcb *, tp, struct tcphdr *, NULL,