/freebsd-12-stable/sys/dev/oce/ |
H A D | oce_if.c | 1317 struct tcphdr *th; 1346 th = (struct tcphdr *)((caddr_t)ip + (ip->ip_hl << 2)); 1356 th = (struct tcphdr *)((caddr_t)ip6 + sizeof(struct ip6_hdr)); 1533 struct tcphdr *tcp_hdr = NULL; 1544 tcp_hdr = (struct tcphdr *)((char*)ip4_hdr + sizeof(struct ip)); 1551 tcp_hdr = (struct tcphdr *)((char*)ip6 + sizeof(struct ip6_hdr)); 1562 p = (uint32_t *)((char*)tcp_hdr + sizeof(struct tcphdr) + 2);
|
/freebsd-12-stable/sys/dev/vnic/ |
H A D | nicvf_queues.c | 1753 struct tcphdr *th; 1822 if (mbuf->m_len < (poff + sizeof(struct tcphdr))) { 1823 mbuf = m_pullup(mbuf, poff + sizeof(struct tcphdr)); 1862 th = (struct tcphdr *)((caddr_t)(mbuf->m_data + poff));
|
/freebsd-12-stable/sys/dev/qlxgb/ |
H A D | qla_hw.h | 730 sizeof (struct ip) + sizeof (struct tcphdr) + 16)
|
/freebsd-12-stable/sys/dev/mxge/ |
H A D | if_mxge.c | 1811 sizeof(struct tcphdr))) { 1813 sizeof(struct tcphdr), ss->scratch); 1816 pi->tcp = (struct tcphdr *)((char *)pi->ip + pi->ip_hlen); 1839 sizeof(struct tcphdr))) { 1841 sizeof(struct tcphdr), ss->scratch); 1844 pi->tcp = (struct tcphdr *)((char *)pi->ip6 + pi->ip_hlen); 1886 m->m_pkthdr.csum_data = offsetof(struct tcphdr, th_sum); 1903 m_copyback(m, offsetof(struct tcphdr, th_sum) +
|
/freebsd-12-stable/sys/net/ |
H A D | iflib.c | 3192 struct tcphdr *th = NULL; 3207 th = (struct tcphdr *)((caddr_t)ip + (ip->ip_hl << 2)); 3220 th = (struct tcphdr *)((caddr_t)ip + (ip->ip_hl << 2)); 3225 th = (struct tcphdr *)((caddr_t)ip + (ip->ip_hl << 2)); 3238 th = (struct tcphdr *)((caddr_t)ip + pi->ipi_ip_hlen); 3270 struct tcphdr *th; 3278 th = (struct tcphdr *)((caddr_t)ip6 + pi->ipi_ip_hlen); 3287 if (__predict_false(m->m_len < pi->ipi_ehdrlen + sizeof(struct ip6_hdr) + sizeof(struct tcphdr))) { 3289 if (__predict_false((m = m_pullup(m, pi->ipi_ehdrlen + sizeof(struct ip6_hdr) + sizeof(struct tcphdr))) == NULL))
|
/freebsd-12-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-12-stable/sys/dev/xen/netback/ |
H A D | netback.c | 2171 struct tcphdr *th = (struct tcphdr*)(iph + 1);
|
/freebsd-12-stable/sys/netinet/ |
H A D | tcp_log_buf.c | 1333 tcp_log_event_(struct tcpcb *tp, struct tcphdr *th, struct sockbuf *rxbuf, 1519 optlen = (th->th_off << 2) - sizeof (struct tcphdr);
|
H A D | tcp_sack.c | 787 tcp_sack_partialack(struct tcpcb *tp, struct tcphdr *th)
|
/freebsd-12-stable/sys/netpfil/ipfw/nat64/ |
H A D | nat64lsn.c | 573 len += sizeof(struct tcphdr); 593 *port = ntohs(L3HDR(ip, struct tcphdr *)->th_dport);
|
/freebsd-12-stable/sys/dev/age/ |
H A D | if_age.c | 1497 struct tcphdr *tcp; 1562 m = m_pullup(m, poff + sizeof(struct tcphdr)); 1567 tcp = (struct tcphdr *)(mtod(m, char *) + poff); 1588 tcp = (struct tcphdr *)(mtod(m, char *) + poff);
|
/freebsd-12-stable/sys/contrib/ipfilter/netinet/ |
H A D | ip_compat.h | 664 typedef struct tcphdr tcphdr_t;
|
/freebsd-12-stable/sys/dev/hyperv/netvsc/ |
H A D | if_hn.c | 765 struct tcphdr *th; 897 const struct tcphdr *th; 4839 const struct tcphdr *th; 4884 if (iplen < iphlen + sizeof(struct tcphdr)) 4886 if (m->m_len < hoff + iphlen + sizeof(struct tcphdr)) 4888 th = (const struct tcphdr *)((const uint8_t *)ip + iphlen); 4890 if (thoff < sizeof(struct tcphdr) || thoff + iphlen > iplen)
|
/freebsd-12-stable/sys/dev/msk/ |
H A D | if_msk.c | 2651 struct tcphdr *tcp; 2689 m = m_pullup(m, offset + sizeof(struct tcphdr)); 2694 tcp = (struct tcphdr *)(mtod(m, char *) + offset); 2714 m = m_pullup(m, offset + sizeof(struct tcphdr)); 3151 if (pktlen < (hlen + sizeof(struct tcphdr)))
|
/freebsd-12-stable/sys/dev/cxgbe/tom/ |
H A D | t4_cpl_io.c | 335 tp->t_maxseg -= sizeof(struct ip6_hdr) + sizeof(struct tcphdr); 337 tp->t_maxseg -= sizeof(struct ip) + sizeof(struct tcphdr);
|
/freebsd-12-stable/sys/dev/qlxge/ |
H A D | qls_hw.c | 545 struct tcphdr *th; 587 th = (struct tcphdr *)(ip + 1);
|
/freebsd-12-stable/sys/dev/qlxgbe/ |
H A D | ql_hw.h | 1534 sizeof (struct ip6_hdr) + sizeof (struct tcphdr) + 16)
|
/freebsd-12-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-12-stable/sys/dev/jme/ |
H A D | if_jme.c | 1710 struct tcphdr *tcp; 1746 m = m_pullup(m, poff + sizeof(struct tcphdr)); 1756 tcp = (struct tcphdr *)(mtod(m, char *) + poff);
|
/freebsd-12-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);
|
/freebsd-12-stable/sys/dev/ale/ |
H A D | if_ale.c | 1613 struct tcphdr *tcp; 1704 m = m_pullup(m, poff + sizeof(struct tcphdr)); 1710 tcp = (struct tcphdr *)(mtod(m, char *) + poff);
|
/freebsd-12-stable/sys/dev/cxgb/ |
H A D | cxgb_sge.c | 1470 struct tcphdr *tcp; 1511 tcp = (struct tcphdr *)(ip + 1); 1521 tcp = (struct tcphdr *)(ip6 + 1);
|
/freebsd-12-stable/sys/dev/bce/ |
H A D | if_bce.c | 7256 struct tcphdr *th; 7302 sizeof(struct tcphdr)); 7310 th = (struct tcphdr *)((caddr_t)ip + ip_hlen); 7354 sizeof(struct tcphdr)) >> 2) << 8); 9731 struct tcphdr *th; 9765 th = (struct tcphdr *)((caddr_t)ip + (ip->ip_hl << 2));
|
/freebsd-12-stable/sys/dev/bge/ |
H A D | if_bge.c | 5150 struct tcphdr *tcp; 5168 m = m_pullup(m, poff + sizeof(struct tcphdr)); 5171 tcp = (struct tcphdr *)(mtod(m, char *) + poff); 5184 tcp = (struct tcphdr *)(mtod(m, char *) + poff);
|
/freebsd-12-stable/sys/dev/hme/ |
H A D | if_hme.c | 1251 if (pktlen < (hlen + sizeof(struct tcphdr)))
|