/freebsd-12-stable/sys/netpfil/pf/ |
H A D | pf_norm.c | 138 struct tcphdr *, int, sa_family_t); 1349 struct tcphdr *th = pd->hdr.tcp; 1421 if (th->th_off < (sizeof(struct tcphdr) >> 2)) 1465 struct tcphdr *th, struct pf_state_peer *src, struct pf_state_peer *dst) 1504 if (th->th_off > (sizeof(struct tcphdr) >> 2) && src->scrub && 1508 opt = hdr + sizeof(struct tcphdr); 1509 hlen = (th->th_off << 2) - sizeof(struct tcphdr); 1559 u_short *reason, struct tcphdr *th, struct pf_state *state, 1604 if (th->th_off > (sizeof(struct tcphdr) >> 2) && 1610 opt = hdr + sizeof(struct tcphdr); [all...] |
/freebsd-12-stable/sys/netinet/ |
H A D | tcp_input.c | 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_ [all...] |
H A D | tcp_output.c | 153 hhook_run_tcp_est_out(struct tcpcb *tp, struct tcphdr *th, 200 struct tcphdr *th; 766 hdrlen = sizeof (struct ip6_hdr) + sizeof (struct tcphdr); 979 panic("tcphdr too big"); 1106 th = (struct tcphdr *)(ip6 + 1); 1115 th = (struct tcphdr *)(ip + 1); 1199 th->th_off = (sizeof (struct tcphdr) + optlen) >> 2; 1261 m->m_pkthdr.csum_data = offsetof(struct tcphdr, th_sum); 1289 th->th_sum = in6_cksum_pseudo(ip6, sizeof(struct tcphdr) + 1300 htons(sizeof(struct tcphdr) [all...] |
H A D | ip_icmp.c | 246 struct tcphdr *th; 249 if (oiphlen + sizeof(struct tcphdr) > n->m_len && 252 if (n->m_len < oiphlen + sizeof(struct tcphdr) && 253 (n = m_pullup(n, oiphlen + sizeof(struct tcphdr))) == NULL) 258 if (tcphlen < sizeof(struct tcphdr))
|
H A D | tcp_timer.c | 367 tcp_trace(TA_USER, ostate, tp, (void *)0, (struct tcphdr *)0, 468 tcp_trace(TA_USER, ostate, tp, (void *)0, (struct tcphdr *)0, 487 tcp_trace(TA_USER, ostate, tp, (void *)0, (struct tcphdr *)0, 858 tcp_trace(TA_USER, ostate, tp, (void *)0, (struct tcphdr *)0,
|
/freebsd-12-stable/sys/netinet/tcp_stacks/ |
H A D | rack.c | 268 rack_process_ack(struct mbuf *m, struct tcphdr *th, 272 rack_process_data(struct mbuf *m, struct tcphdr *th, 277 struct tcphdr *th, uint16_t nsegs, uint16_t type, int32_t recovery); 285 rack_cong_signal(struct tcpcb *tp, struct tcphdr *th, 293 rack_do_segment(struct mbuf *m, struct tcphdr *th, 314 struct tcphdr *th); 325 rack_hpts_do_segment(struct mbuf *m, struct tcphdr *th, 333 static void rack_post_recovery(struct tcpcb *tp, struct tcphdr *th); 357 rack_challenge_ack(struct mbuf *m, struct tcphdr *th, 360 rack_do_close_wait(struct mbuf *m, struct tcphdr *t [all...] |
H A D | tcp_rack.h | 283 int32_t(*r_substate) (struct mbuf *, struct tcphdr *,
|
/freebsd-12-stable/sys/netpfil/ipfw/nat64/ |
H A D | nat64_translate.h | 80 #define TCP(p) ((struct tcphdr *)(p))
|
/freebsd-12-stable/sys/dev/sfxge/ |
H A D | sfxge_tx.c | 815 const struct tcphdr *th; 816 struct tcphdr th_copy; 851 if (mbuf->m_len < mbuf->m_pkthdr.l3hlen + offsetof(struct tcphdr, th_win)) { 856 th = (const struct tcphdr *)mtodo(mbuf, mbuf->m_pkthdr.l3hlen); 988 static const struct tcphdr *tso_tcph(const struct sfxge_tso_state *tso) 990 return (const struct tcphdr *)(tso->mbuf->m_data + tso->tcph_off); 1053 const struct tcphdr *th; 1054 struct tcphdr th_copy; 1107 if (mbuf->m_len < tso->tcph_off + offsetof(struct tcphdr, th_win)) { 1228 struct tcphdr *tsoh_t [all...] |
/freebsd-12-stable/sys/dev/mlx5/mlx5_en/ |
H A D | mlx5_en_rx.c | 135 struct tcphdr *th; 153 th = (struct tcphdr *)(ip4 + 1); 157 th = (struct tcphdr *)(ip6 + 1);
|
H A D | mlx5_en_tx.c | 229 const struct tcphdr *th; 289 th = (const struct tcphdr *)(m_th->m_data); 291 th = (const struct tcphdr *)(mb->m_data + eth_hdr_len);
|
/freebsd-12-stable/sys/netpfil/ipfw/ |
H A D | dn_sched_fq_codel.c | 215 struct tcphdr *th; 235 th = (struct tcphdr *)(ip6 + 1); 263 th = (struct tcphdr *)(ip + 1);
|
H A D | ip_fw_nat.c | 416 struct tcphdr *th; 418 th = (struct tcphdr *)(ip + 1); 424 struct tcphdr *th; 434 th = (struct tcphdr *)(ip + 1); 442 offsetof(struct tcphdr, th_sum);
|
/freebsd-12-stable/sbin/natd/ |
H A D | natd.c | 844 struct tcphdr* tcphdr; local 855 tcphdr = (struct tcphdr*) ((char*) ip + (ip->ip_hl << 2)); 858 ntohs (tcphdr->th_sport), 860 ntohs (tcphdr->th_dport));
|
/freebsd-12-stable/contrib/ipfilter/lib/ |
H A D | ipft_tx.c | 223 ip->ip_len += sizeof(struct tcphdr); 394 ip6->ip6_plen = sizeof(struct tcphdr);
|
/freebsd-12-stable/sys/net/ |
H A D | if_spppfr.c | 321 struct tcphdr *tcp = (struct tcphdr*) ((long*)ip + ip->ip_hl);
|
/freebsd-12-stable/sys/netgraph/ |
H A D | ng_vjc.c | 594 struct tcphdr *tcp; 608 tcp = (struct tcphdr *)((u_char *)ip + ihlen);
|
/freebsd-12-stable/sys/netinet/khelp/ |
H A D | h_ertt.c | 202 struct tcphdr *th; 437 struct tcphdr *th;
|
/freebsd-12-stable/sys/netipsec/ |
H A D | subr_ipsec.c | 291 struct tcphdr *th, u_char *buf), METHOD_ARGS(m, th, buf) 296 struct tcphdr *th, u_char *buf), METHOD_ARGS(m, th, buf)
|
H A D | ipsec.c | 522 struct tcphdr th; 530 if (off + sizeof(struct tcphdr) > m->m_pkthdr.len) 683 struct tcphdr th; 706 if (off + sizeof(struct tcphdr) > m->m_pkthdr.len)
|
H A D | ipsec.h | 313 struct tcphdr;
|
H A D | udpencap.c | 259 off = offsetof(struct tcphdr, th_sum);
|
/freebsd-12-stable/sys/dev/mxge/ |
H A D | if_mxge_var.h | 324 struct tcphdr *tcp;
|
/freebsd-12-stable/sys/dev/qlxge/ |
H A D | qls_def.h | 86 sizeof (struct ip6_hdr) + sizeof (struct tcphdr) + 16)
|
/freebsd-12-stable/usr.sbin/ppp/ |
H A D | ip.c | 304 const struct tcphdr *th; 364 th = (const struct tcphdr *)payload; 568 const struct tcphdr *th; 816 th = (const struct tcphdr *)payload;
|