Searched refs:tcphdr (Results 76 - 100 of 137) sorted by relevance

123456

/freebsd-13-stable/usr.sbin/traceroute6/
H A Dtraceroute6.c682 minlen = sizeof(struct tcphdr);
1095 struct tcphdr *tcp;
1194 tcp = (struct tcphdr *)outpacket;
1385 struct tcphdr *tcp;
1437 tcp = (struct tcphdr *)up;
/freebsd-13-stable/sys/netpfil/ipfw/
H A Dip_fw_nat.c418 struct tcphdr *th;
420 th = (struct tcphdr *)(ip + 1);
426 struct tcphdr *th;
436 th = (struct tcphdr *)(ip + 1);
444 offsetof(struct tcphdr, th_sum);
H A Dip_fw_dynamic.c553 const struct ipfw_flow_id *, const struct tcphdr *, int);
932 const struct tcphdr *tcp, int dir)
2373 struct tcphdr *tcp;
2390 tcp->th_off = sizeof(struct tcphdr) >> 2;
2395 htons(sizeof(struct tcphdr) + IPPROTO_TCP));
2397 m->m_pkthdr.csum_data = offsetof(struct tcphdr, th_sum);
2407 m = dyn_mgethdr(sizeof(struct ip) + sizeof(struct tcphdr),
2423 m = dyn_mgethdr(sizeof(struct ip) + sizeof(struct tcphdr),
2482 struct tcphdr *tcp;
2487 ip6->ip6_plen = htons(sizeof(struct tcphdr));
[all...]
H A Ddn_sched_fq_pie.c791 struct tcphdr *th;
811 th = (struct tcphdr *)(ip6 + 1);
838 th = (struct tcphdr *)(ip + 1);
/freebsd-13-stable/sys/netinet/tcp_stacks/
H A Drack.c423 rack_process_ack(struct mbuf *m, struct tcphdr *th,
427 rack_process_data(struct mbuf *m, struct tcphdr *th,
450 rack_do_segment(struct mbuf *m, struct tcphdr *th,
482 struct tcphdr *th, int entered_rec, int dup_ack_struck);
522 rack_do_close_wait(struct mbuf *m, struct tcphdr *th,
526 rack_do_closing(struct mbuf *m, struct tcphdr *th,
530 rack_do_established(struct mbuf *m, struct tcphdr *th,
534 rack_do_fastnewdata(struct mbuf *m, struct tcphdr *th,
538 rack_do_fin_wait_1(struct mbuf *m, struct tcphdr *th,
542 rack_do_fin_wait_2(struct mbuf *m, struct tcphdr *t
[all...]
H A Dbbr.c2245 bbr_log_ack_event(struct tcp_bbr *bbr, struct tcphdr *th, struct tcpopt *to, uint32_t tlen,
3513 seg_oh = (bbr->rc_last_options + sizeof(struct tcphdr));
3609 bbr_ack_received(struct tcpcb *tp, struct tcp_bbr *bbr, struct tcphdr *th, uint32_t bytes_this_ack,
3932 bbr_cong_signal(struct tcpcb *tp, struct tcphdr *th, uint32_t type, struct bbr_sendmap *rsm)
7338 bbr_log_ack(struct tcpcb *tp, struct tcpopt *to, struct tcphdr *th,
7736 bbr_process_ack(struct mbuf *m, struct tcphdr *th, struct socket *so,
8156 bbr_process_data(struct mbuf *m, struct tcphdr *th, struct socket *so,
8448 bbr_do_fastnewdata(struct mbuf *m, struct tcphdr *th, struct socket *so,
8464 struct tcphdr tcp_savetcp;
8598 bbr_fastack(struct mbuf *m, struct tcphdr *t
[all...]
/freebsd-13-stable/sys/dev/cxgbe/tom/
H A Dt4_listen.c721 struct tcphdr *th;
1021 struct in_conninfo *inc, struct tcphdr *th, uint8_t *iptos)
1027 const struct tcphdr *tcp;
1187 struct tcphdr th;
1430 struct tcphdr *th, struct tcpopt *to)
1465 struct tcphdr th;
H A Dt4_tom.c930 mtu = mss + sizeof(struct ip6_hdr) + sizeof(struct tcphdr);
932 mtu = mss + sizeof(struct ip) + sizeof(struct tcphdr);
1475 struct tcphdr *th;
1480 sizeof(struct tcphdr);
1517 ip6->ip6_plen = htons(sizeof(struct tcphdr));
1534 ip->ip_len = htons(sizeof(struct ip) + sizeof(struct tcphdr));
/freebsd-13-stable/sys/dev/qlxgb/
H A Dqla_hw.c717 struct tcphdr *th = NULL;
739 sizeof(struct tcphdr);
755 th = (struct tcphdr *)((caddr_t)ip + ip_hlen);
774 if (tcp_hlen > sizeof(struct tcphdr)) {
776 (tcp_hlen - sizeof(struct tcphdr)),
786 if ((tcp_hlen - sizeof(struct tcphdr)) != 10)
/freebsd-13-stable/sys/netpfil/pf/
H A Dpf.c237 struct tcphdr *, struct pf_state_peer *);
2393 struct tcphdr *th, struct pf_state_peer *dst)
2465 struct tcphdr *th;
2473 tlen = sizeof(struct tcphdr);
2539 th = (struct tcphdr *)((caddr_t)h + sizeof(struct ip));
2552 th = (struct tcphdr *)((caddr_t)h6 + sizeof(struct ip6_hdr));
2611 struct pf_state_key *sk, int off, struct mbuf *m, struct tcphdr *th,
3192 if (hlen <= sizeof(struct tcphdr))
3196 opt = hdr + sizeof(struct tcphdr);
3197 hlen -= sizeof(struct tcphdr);
[all...]
/freebsd-13-stable/sys/dev/xen/netback/
H A Dnetback_unit_tests.c2309 struct tcphdr *tcp;
2317 tcp = (struct tcphdr*)(iph + 1);
2358 sizeof(struct tcphdr) + tcp_options_len + payload_len;
2362 struct tcphdr *tcp;
2371 tcp = (struct tcphdr*)(iph + 1);
2399 sizeof(struct tcphdr) + tcp_options_len + payload_len;
2403 struct tcphdr *tcp;
2415 tcp = (struct tcphdr*)(iph + 1);
/freebsd-13-stable/sys/netgraph/netflow/
H A Dnetflow.c697 struct tcphdr *tcp;
699 tcp = (struct tcphdr *)((caddr_t )ip + hlen);
812 struct tcphdr *tcp;
814 tcp = (struct tcphdr *)upper_ptr;
/freebsd-13-stable/sys/contrib/ipfilter/netinet/
H A Dip_fil_freebsd.c340 struct tcphdr *tcp, *tcp2;
387 tcp2 = (struct tcphdr *)((char *)ip + hlen);
411 ip6->ip6_plen = htons(sizeof(struct tcphdr));
422 ip->ip_len = htons(sizeof(struct tcphdr));
/freebsd-13-stable/sys/netinet/
H A Dsiftr.c835 struct tcphdr *th;
870 * Create a tcphdr struct starting at the correct offset
875 th = (struct tcphdr *)((caddr_t)ip + ip_hl);
1015 struct tcphdr *th;
1057 * Create a tcphdr struct starting at the correct offset
1061 th = (struct tcphdr *)((caddr_t)ip6 + ip6_hl);
H A Dtcp_reass.c325 struct mbuf *m, struct tcphdr *th, int tlen,
350 tcp_reass_prepend(struct tcpcb *tp, struct tseg_qent *first, struct mbuf *m, struct tcphdr *th,
526 tcp_reass(struct tcpcb *tp, struct tcphdr *th, tcp_seq *seq_start,
/freebsd-13-stable/sys/netipsec/
H A Dipsec.c519 struct tcphdr th;
527 if (off + sizeof(struct tcphdr) > m->m_pkthdr.len)
680 struct tcphdr th;
703 if (off + sizeof(struct tcphdr) > m->m_pkthdr.len)
/freebsd-13-stable/sys/netgraph/
H A Dng_nat.c855 struct tcphdr *th = (struct tcphdr *)((caddr_t)ip +
889 m->m_pkthdr.csum_data = offsetof(struct tcphdr,
/freebsd-13-stable/contrib/traceroute/
H A Dtraceroute.c457 sizeof(struct tcphdr),
1545 struct tcphdr *const tcp = (struct tcphdr *) outp;
1562 struct tcphdr *const tcp = (struct tcphdr *) data;
/freebsd-13-stable/sys/dev/qlxgbe/
H A Dql_hw.c2264 struct tcphdr *th = NULL;
2287 sizeof(struct tcphdr);
2306 th = (struct tcphdr *)((caddr_t)ip + ip_hlen);
2313 sizeof (struct tcphdr);
2329 th = (struct tcphdr *)((caddr_t)ip6 + ip_hlen);
2346 if (tcp_hlen > sizeof(struct tcphdr)) {
2348 (tcp_hlen - sizeof(struct tcphdr)),
4236 struct tcphdr *th = NULL;
4266 th = (struct tcphdr *)(mp->m_data + hdrlen);
4269 th = (struct tcphdr *)bu
[all...]
/freebsd-13-stable/sys/net/
H A Dpfvar.h907 struct tcphdr *tcp;
1563 struct tcphdr *, struct pf_state_peer *, struct pf_state_peer *);
1565 u_short *, struct tcphdr *, struct pf_state *,
1683 const struct tcphdr *);
/freebsd-13-stable/sys/dev/sge/
H A Dif_sge.c1409 struct tcphdr *tcp;
1445 m = m_pullup(m, poff + sizeof(struct tcphdr));
1450 tcp = (struct tcphdr *)(mtod(m, char *) + poff);
1462 tcp = (struct tcphdr *)(mtod(m, char *) + poff);
/freebsd-13-stable/sys/netpfil/ipfw/nat64/
H A Dnat64_translate.c908 struct tcphdr *tcp;
1125 if (len < offsetof(struct tcphdr, th_sum))
1312 struct tcphdr *tcp = TCP(mtodo(m, hlen));
1694 struct tcphdr *tcp = TCP(mtodo(m, hlen));
/freebsd-13-stable/sys/dev/mlx4/mlx4_en/
H A Dmlx4_en_tx.c502 struct tcphdr *th;
544 th = (struct tcphdr *)(mb->m_data + eth_hdr_len);
/freebsd-13-stable/sys/dev/e1000/
H A Dem_txrx.c173 pi->ipi_ehdrlen + pi->ipi_ip_hlen + offsetof(struct tcphdr, th_sum);
275 tucso = hdr_len + offsetof(struct tcphdr, th_sum);
/freebsd-13-stable/sys/dev/ena/
H A Dena_datapath.c698 struct tcphdr *th;
739 th = (struct tcphdr *)(mtodo(mbuf_next, offset));

Completed in 339 milliseconds

123456