/freebsd-13-stable/sys/netgraph/netflow/ |
H A D | ng_netflow.c | 800 M_CHECK(sizeof(struct tcphdr)); 846 M_CHECK(sizeof(struct tcphdr));
|
/freebsd-13-stable/sys/dev/qlxgbe/ |
H A D | ql_isr.c | 213 struct tcphdr *th; 296 th = (struct tcphdr *)(mpf->m_data + sgc->l4_offset);
|
H A D | ql_hw.h | 1523 sizeof (struct ip6_hdr) + sizeof (struct tcphdr) + 16)
|
/freebsd-13-stable/sys/dev/oce/ |
H A D | oce_if.c | 1284 struct tcphdr *th; 1313 th = (struct tcphdr *)((caddr_t)ip + (ip->ip_hl << 2)); 1323 th = (struct tcphdr *)((caddr_t)ip6 + sizeof(struct ip6_hdr)); 1477 struct tcphdr *tcp_hdr = NULL; 1488 tcp_hdr = (struct tcphdr *)((char*)ip4_hdr + sizeof(struct ip)); 1495 tcp_hdr = (struct tcphdr *)((char*)ip6 + sizeof(struct ip6_hdr)); 1506 p = (uint32_t *)((char*)tcp_hdr + sizeof(struct tcphdr) + 2);
|
/freebsd-13-stable/sys/dev/virtio/network/ |
H A D | if_vtnet.c | 2398 struct tcphdr *tcp, tcphdr; local 2402 if (__predict_false(m->m_len < offset + sizeof(struct tcphdr))) { 2403 m_copydata(m, offset, sizeof(struct tcphdr), (caddr_t) &tcphdr); 2404 tcp = &tcphdr; 2406 tcp = (struct tcphdr *)(m->m_data + offset);
|
/freebsd-13-stable/sys/dev/vnic/ |
H A D | nicvf_queues.c | 1751 struct tcphdr *th; 1820 if (mbuf->m_len < (poff + sizeof(struct tcphdr))) { 1821 mbuf = m_pullup(mbuf, poff + sizeof(struct tcphdr)); 1860 th = (struct tcphdr *)((caddr_t)(mbuf->m_data + poff));
|
/freebsd-13-stable/sys/dev/qlxgb/ |
H A D | qla_hw.h | 724 sizeof (struct ip) + sizeof (struct tcphdr) + 16)
|
/freebsd-13-stable/sys/netinet/tcp_stacks/ |
H A D | tcp_bbr.h | 738 int32_t(*r_substate) (struct mbuf *, struct tcphdr *,
|
/freebsd-13-stable/sys/dev/mxge/ |
H A D | if_mxge.c | 1768 sizeof(struct tcphdr))) { 1770 sizeof(struct tcphdr), ss->scratch); 1773 pi->tcp = (struct tcphdr *)((char *)pi->ip + pi->ip_hlen); 1796 sizeof(struct tcphdr))) { 1798 sizeof(struct tcphdr), ss->scratch); 1801 pi->tcp = (struct tcphdr *)((char *)pi->ip6 + pi->ip_hlen); 1843 m->m_pkthdr.csum_data = offsetof(struct tcphdr, th_sum); 1860 m_copyback(m, offsetof(struct tcphdr, th_sum) +
|
/freebsd-13-stable/sys/net/ |
H A D | iflib.c | 3191 struct tcphdr *th = NULL; 3206 th = (struct tcphdr *)((caddr_t)ip + (ip->ip_hl << 2)); 3219 th = (struct tcphdr *)((caddr_t)ip + (ip->ip_hl << 2)); 3224 th = (struct tcphdr *)((caddr_t)ip + (ip->ip_hl << 2)); 3237 th = (struct tcphdr *)((caddr_t)ip + pi->ipi_ip_hlen); 3269 struct tcphdr *th; 3277 th = (struct tcphdr *)((caddr_t)ip6 + pi->ipi_ip_hlen); 3286 if (__predict_false(m->m_len < pi->ipi_ehdrlen + sizeof(struct ip6_hdr) + sizeof(struct tcphdr))) { 3288 if (__predict_false((m = m_pullup(m, pi->ipi_ehdrlen + sizeof(struct ip6_hdr) + sizeof(struct tcphdr))) == NULL))
|
/freebsd-13-stable/sys/dev/fxp/ |
H A D | if_fxp.c | 1415 struct tcphdr *tcp; 1489 m = m_pullup(m, poff + sizeof(struct tcphdr)); 1494 tcp = (struct tcphdr *)(mtod(m, char *) + poff); 1506 tcp = (struct tcphdr *)(mtod(m, char *) + poff); 1839 if (pktlen < (hlen + sizeof(struct tcphdr)))
|
/freebsd-13-stable/sys/dev/xen/netback/ |
H A D | netback.c | 2164 struct tcphdr *th = (struct tcphdr*)(iph + 1);
|
/freebsd-13-stable/sys/netinet/ |
H A D | tcp_log_buf.c | 1520 tcp_log_event_(struct tcpcb *tp, struct tcphdr *th, struct sockbuf *rxbuf, 1718 optlen = (th->th_off << 2) - sizeof (struct tcphdr);
|
H A D | tcp_sack.c | 834 tcp_sack_partialack(struct tcpcb *tp, struct tcphdr *th)
|
/freebsd-13-stable/sys/netpfil/ipfw/nat64/ |
H A D | nat64lsn.c | 572 len += sizeof(struct tcphdr); 592 *port = ntohs(L3HDR(ip, struct tcphdr *)->th_dport);
|
/freebsd-13-stable/sys/dev/mlx5/mlx5_en/ |
H A D | mlx5_en_hw_tls.c | 680 const struct tcphdr *th;
|
H A D | en.h | 1102 int mlx5e_get_full_header_size(const struct mbuf *, const struct tcphdr **);
|
/freebsd-13-stable/sys/dev/age/ |
H A D | if_age.c | 1495 struct tcphdr *tcp; 1560 m = m_pullup(m, poff + sizeof(struct tcphdr)); 1565 tcp = (struct tcphdr *)(mtod(m, char *) + poff); 1586 tcp = (struct tcphdr *)(mtod(m, char *) + poff);
|
/freebsd-13-stable/sys/contrib/ipfilter/netinet/ |
H A D | ip_compat.h | 664 typedef struct tcphdr tcphdr_t;
|
/freebsd-13-stable/sys/dev/hyperv/netvsc/ |
H A D | if_hn.c | 769 struct tcphdr *th; 901 const struct tcphdr *th; 4843 const struct tcphdr *th; 4888 if (iplen < iphlen + sizeof(struct tcphdr)) 4890 if (m->m_len < hoff + iphlen + sizeof(struct tcphdr)) 4892 th = (const struct tcphdr *)((const uint8_t *)ip + iphlen); 4894 if (thoff < sizeof(struct tcphdr) || thoff + iphlen > iplen)
|
/freebsd-13-stable/sys/dev/msk/ |
H A D | if_msk.c | 2654 struct tcphdr *tcp; 2692 m = m_pullup(m, offset + sizeof(struct tcphdr)); 2697 tcp = (struct tcphdr *)(mtod(m, char *) + offset); 2717 m = m_pullup(m, offset + sizeof(struct tcphdr)); 3154 if (pktlen < (hlen + sizeof(struct tcphdr)))
|
/freebsd-13-stable/sys/dev/cxgbe/tom/ |
H A D | t4_cpl_io.c | 315 tp->t_maxseg -= sizeof(struct ip6_hdr) + sizeof(struct tcphdr); 317 tp->t_maxseg -= sizeof(struct ip) + sizeof(struct tcphdr);
|
/freebsd-13-stable/sys/dev/qlxge/ |
H A D | qls_hw.c | 537 struct tcphdr *th; 579 th = (struct tcphdr *)(ip + 1);
|
/freebsd-13-stable/sys/dev/alc/ |
H A D | if_alc.c | 2710 struct tcphdr *tcp; 2774 m = m_pullup(m, poff + sizeof(struct tcphdr)); 2779 tcp = (struct tcphdr *)(mtod(m, char *) + poff); 2799 tcp = (struct tcphdr *)(mtod(m, char *) + poff);
|
/freebsd-13-stable/sys/dev/al_eth/ |
H A D | al_eth.c | 1211 struct tcphdr *th = NULL; 1256 th = (struct tcphdr *)((caddr_t)ip + ip_hlen); 1270 th = (struct tcphdr *)((caddr_t)ip6 + ip_hlen);
|