/freebsd-13-stable/sys/netinet/ |
H A D | tcp_pcap.h | 33 void tcp_pcap_add(struct tcphdr *th, struct mbuf *m, struct mbufq *queue);
|
H A D | toecore.h | 41 struct tcphdr; 138 void toe_syncache_add(struct in_conninfo *, struct tcpopt *, struct tcphdr *, 140 int toe_syncache_expand(struct in_conninfo *, struct tcpopt *, struct tcphdr *, 143 int toe_4tuple_check(struct in_conninfo *, struct tcphdr *, struct ifnet *);
|
H A D | tcp_debug.h | 56 struct tcphdr th;
|
H A D | tcpip.h | 43 struct tcphdr ti_t; /* tcp header */
|
H A D | tcp_syncache.h | 45 struct tcphdr *, struct socket **, struct mbuf *, uint16_t); 47 struct tcphdr *, struct inpcb *, struct socket **, struct mbuf *, 49 void syncache_chkrst(struct in_conninfo *, struct tcphdr *, struct mbuf *,
|
H A D | tcp_var.h | 288 struct tcphdr tt_t; 343 void (*tfb_tcp_do_segment)(struct mbuf *, struct tcphdr *, 347 int (*tfb_do_segment_nounlock)(struct mbuf *, struct tcphdr *, 351 void (*tfb_tcp_hpts_do_segment)(struct mbuf *, struct tcphdr *, 746 struct tcphdr *th; 754 struct tcphdr *th, struct tcpopt *to, 963 char *tcp_log_addrs(struct in_conninfo *, struct tcphdr *, void *, 965 char *tcp_log_vain(struct in_conninfo *, struct tcphdr *, void *, 967 int tcp_reass(struct tcpcb *, struct tcphdr *, tcp_seq *, int *, 972 void tcp_dropwithreset(struct mbuf *, struct tcphdr *, [all...] |
H A D | tcp_timewait.c | 383 tcp_twcheck(struct inpcb *inp, struct tcpopt *to, struct tcphdr *th, 575 struct tcphdr *th = NULL; 604 hdrlen = sizeof(struct ip6_hdr) + sizeof(struct tcphdr); 612 th = (struct tcphdr *)(udp + 1); 614 th = (struct tcphdr *)(ip6 + 1); 631 th = (struct tcphdr *)(udp + 1); 633 th = (struct tcphdr *)(ip + 1); 661 th->th_off = (sizeof(struct tcphdr) + optlen) >> 2; 674 m->m_pkthdr.csum_data = offsetof(struct tcphdr, th_sum); 676 sizeof(struct tcphdr) [all...] |
H A D | tcp_debug.c | 100 struct tcphdr *th, int req) 186 len -= sizeof (struct tcphdr);
|
/freebsd-13-stable/usr.sbin/ppp/ |
H A D | tcpmss.c | 75 #define MAXMSS(mtu) ((mtu) - sizeof(struct ip) - sizeof(struct tcphdr) - 12) 101 MSSFixup(struct tcphdr *tc, size_t pktlen, u_int16_t maxmss) 111 if (hlen <= sizeof(struct tcphdr) || hlen > pktlen) 118 for (olen = hlen - sizeof(struct tcphdr), opt = (u_char *)(tc + 1); 165 plen >= sizeof(struct tcphdr) + hlen) 166 MSSFixup((struct tcphdr *)(MBUF_CTOP(bp) + hlen), plen - hlen,
|
H A D | slcompress.c | 167 register struct tcphdr *oth; 168 register struct tcphdr *th; 185 th = (struct tcphdr *) & ((int *) ip)[hlen]; 267 oth = (struct tcphdr *) & ((int *) &cs->cs_ip)[hlen]; 437 register struct tcphdr *th; 457 if ((int)(hlen + sizeof(struct tcphdr)) > len) 459 th = (struct tcphdr *) & ((char *) ip)[hlen]; 504 th = (struct tcphdr *) & ((u_char *) & cs->cs_ip)[hlen];
|
/freebsd-13-stable/sys/netinet/tcp_stacks/ |
H A D | rack_bbr_common.h | 101 _ctf_drop_checks(struct tcpopt *to, struct mbuf *m, struct tcphdr *th, 110 struct tcphdr *th, int32_t thflags, int32_t tlen, 117 struct tcphdr *th, int32_t rstreason, int32_t tlen); 122 ctf_process_rst(struct mbuf *m, struct tcphdr *th, 126 ctf_challenge_ack(struct mbuf *m, struct tcphdr *th, 130 ctf_ts_check(struct mbuf *m, struct tcphdr *th, 140 ctf_do_dropwithreset_conn(struct mbuf *m, struct tcpcb *tp, struct tcphdr *th,
|
H A D | rack_bbr_common.c | 169 struct tcphdr *th; 214 th = (struct tcphdr *)(ip6 + 1); 247 th = (struct tcphdr *)(ip + 1); 388 struct tcphdr *th; 436 th = (struct tcphdr *)(ip6 + 1); 445 th = (struct tcphdr *)(ip + 1); 457 if (off < sizeof (struct tcphdr) || off > tlen) { 460 sizeof(struct tcphdr), 564 ctf_do_dropwithreset(struct mbuf *m, struct tcpcb *tp, struct tcphdr *th, 611 _ctf_drop_checks(struct tcpopt *to, struct mbuf *m, struct tcphdr *t [all...] |
/freebsd-13-stable/sys/netgraph/ |
H A D | ng_tcpmss.c | 81 static int correct_mss(struct tcphdr *, int, uint16_t, int); 272 struct tcphdr *tcp; 319 M_CHECK(iphlen - sizeof(struct ip) + sizeof(struct tcphdr)); 321 tcp = (struct tcphdr *)((caddr_t )ip + iphlen); 325 if (tcphlen < sizeof(struct tcphdr) || tcphlen > pktlen - iphlen) 329 if (!(tcp->th_flags & TH_SYN) || tcphlen == sizeof(struct tcphdr)) 335 M_CHECK(tcphlen - sizeof(struct tcphdr)); 337 tcp = (struct tcphdr *)((caddr_t )ip + iphlen); 411 correct_mss(struct tcphdr *tc, int hlen, uint16_t maxmss, int flags) 419 for (olen = hlen - sizeof(struct tcphdr), op [all...] |
/freebsd-13-stable/sys/dev/virtio/network/ |
H A D | virtio_net.h | 296 case offsetof(struct tcphdr, th_sum): 343 if (__predict_false(m->m_len < offset + sizeof(struct tcphdr))) 467 struct tcphdr *tcp, tcphdr; local 469 if (__predict_false(m->m_len < offset + sizeof(struct tcphdr))) { 470 m_copydata(m, offset, sizeof(struct tcphdr), (caddr_t) &tcphdr); 471 tcp = &tcphdr; 473 tcp = (struct tcphdr *)(m->m_data + offset);
|
/freebsd-13-stable/sys/netpfil/ipfw/pmod/ |
H A D | tcpmod.c | 63 tcpmod_setmss(struct mbuf **mp, struct tcphdr *tcp, int tlen, uint16_t mss) 82 for (tlen -= sizeof(struct tcphdr), cp = (u_char *)(tcp + 1); 124 struct tcphdr *tcp; 146 if (hlen <= sizeof(struct tcphdr) || hlen > plen) 156 struct tcphdr *tcp; 166 if (hlen <= sizeof(struct tcphdr) || hlen > plen) 197 * IP+IP_options/IP_extensions+tcphdr length, because TCP header 199 * struct tcphdr.
|
/freebsd-13-stable/sys/netipsec/ |
H A D | ipsec_support.h | 36 struct tcphdr; 64 int (*input)(struct mbuf *, struct tcphdr *, u_char *); 65 int (*output)(struct mbuf *, struct tcphdr *, u_char *); 102 struct tcphdr *, u_char *); 104 struct tcphdr *, u_char *);
|
/freebsd-13-stable/sys/netinet/libalias/ |
H A D | alias_pptp.c | 300 struct tcphdr *tc; 339 tc = (struct tcphdr *)ip_next(pip); 372 struct tcphdr *tc; 411 tc = (struct tcphdr *)ip_next(pip); 435 struct tcphdr *tc; 438 tc = (struct tcphdr *)ip_next(pip);
|
H A D | alias_skinny.c | 210 struct tcphdr *tc, struct alias_link *lnk, 229 struct ip *pip, struct tcphdr *tc, 253 struct tcphdr *tc, struct alias_link *lnk, 271 struct ip *pip, struct tcphdr *tc, 305 struct tcphdr *tc; 312 tc = (struct tcphdr *)ip_next(pip);
|
H A D | alias_util.c | 111 struct tcphdr *tc; 118 tc = (struct tcphdr *)ip_next(pip);
|
H A D | alias_ftp.c | 227 struct tcphdr *tc; 231 tc = (struct tcphdr *)ip_next(pip); 287 struct tcphdr *tc; 290 tc = (struct tcphdr *)ip_next(pip); 657 struct tcphdr *tc; 665 tc = (struct tcphdr *)ip_next(pip); 735 tc = (struct tcphdr *)ip_next(pip);
|
H A D | alias_smedia.c | 239 struct tcphdr *tc; 251 tc = (struct tcphdr *)ip_next(pip); 396 tc = (struct tcphdr *)ip_next(pip); 426 struct tcphdr *tc; 447 tc = (struct tcphdr *)ip_next(pip); 470 struct tcphdr *tc; 479 tc = (struct tcphdr *)ip_next(pip);
|
/freebsd-13-stable/sys/net/ |
H A D | slcompress.c | 159 struct tcphdr *oth; 160 struct tcphdr *th; 175 th = (struct tcphdr *)&((int32_t *)ip)[hlen]; 254 oth = (struct tcphdr *)&((int32_t *)&cs->cs_ip)[hlen]; 458 struct tcphdr *th; 477 if (hlen + sizeof(struct tcphdr) > buflen) 479 hlen += ((struct tcphdr *)&((char *)ip)[hlen])->th_off << 2; 518 th = (struct tcphdr *)&((u_char *)&cs->cs_ip)[hlen];
|
/freebsd-13-stable/sys/dev/ixgbe/ |
H A D | if_fdir.c | 86 struct tcphdr *th; 113 th = (struct tcphdr *)((caddr_t)ip + ip_hlen);
|
/freebsd-13-stable/contrib/tcpdump/ |
H A D | print-sl.c | 181 ND_TCHECK(*((const struct tcphdr *)&((const int *)ip)[hlen])); 182 hlen += TH_OFF((const struct tcphdr *)&((const int *)ip)[hlen]); 283 ND_TCHECK(*((const struct tcphdr *)&((const int32_t *)ip)[hlen])); 284 hlen += TH_OFF((const struct tcphdr *)&((const int32_t *)ip)[hlen]);
|
H A D | tcp.h | 41 struct tcphdr { struct
|