/darwin-on-arm/xnu/bsd/netinet/ |
H A D | tcp_cc.h | 94 void (*inseq_ack_rcvd) (struct tcpcb *tp, struct tcphdr *th); 97 void (*ack_rcvd) (struct tcpcb *tp, struct tcphdr *th); 103 void (*post_fr) (struct tcpcb *tp, struct tcphdr *th); 112 int (*delay_ack)(struct tcpcb *tp, struct tcphdr *th);
|
H A D | lro_ext.h | 52 int tcp_start_coalescing(struct ip *, struct tcphdr *, int tlen);
|
H A D | tcpip.h | 73 struct tcphdr ti_t; /* tcp header */ 81 struct tcphdr ti_t; /* tcp header */
|
H A D | tcp_debug.h | 86 struct tcphdr th;
|
H A D | tcp_lro.h | 40 struct tcphdr *lr_tcphdr; /* ptr to TCP hdr in frame */
|
H A D | tcp_newreno.c | 89 void tcp_newreno_inseq_ack_rcvd(struct tcpcb *tp, struct tcphdr *th); 90 void tcp_newreno_ack_rcvd(struct tcpcb *tp, struct tcphdr *th); 92 void tcp_newreno_post_fr(struct tcpcb *tp, struct tcphdr *th); 95 int tcp_newreno_delay_ack(struct tcpcb *tp, struct tcphdr *th); 200 tcp_newreno_inseq_ack_rcvd(struct tcpcb *tp, struct tcphdr *th) { 218 tcp_newreno_ack_rcvd(struct tcpcb *tp, struct tcphdr *th) { 292 tcp_newreno_post_fr(struct tcpcb *tp, struct tcphdr *th) { 375 tcp_newreno_delay_ack(struct tcpcb *tp, struct tcphdr *th) {
|
H A D | tcp_ledbat.c | 61 void tcp_ledbat_inseq_ack_rcvd(struct tcpcb *tp, struct tcphdr *th); 62 void tcp_ledbat_ack_rcvd(struct tcpcb *tp, struct tcphdr *th); 64 void tcp_ledbat_post_fr(struct tcpcb *tp, struct tcphdr *th); 67 int tcp_ledbat_delay_ack(struct tcpcb *tp, struct tcphdr *th); 227 tcp_ledbat_inseq_ack_rcvd(struct tcpcb *tp, struct tcphdr *th) { 245 tcp_ledbat_ack_rcvd(struct tcpcb *tp, struct tcphdr *th) { 308 tcp_ledbat_post_fr(struct tcpcb *tp, struct tcphdr *th) { 403 tcp_ledbat_delay_ack(struct tcpcb *tp, struct tcphdr *th) {
|
H A D | tcp.h | 75 #define tcp6hdr tcphdr /* for KAME src sync over BSD*'s */ 81 struct tcphdr { struct 189 #define TCP_MAXOLEN (TCP_MAXHLEN - sizeof(struct tcphdr))
|
H A D | tcp_lro.c | 97 struct tcphdr*); 98 static struct mbuf *tcp_lro_process_pkt(struct mbuf*, struct ip*, struct tcphdr*, 128 tcp_lro_matching_tuple(struct ip* ip_hdr, struct tcphdr *tcp_hdr, int *hash, 203 tcp_lro_init_flow(int flow_id, struct ip* ip_hdr, struct tcphdr *tcp_hdr, 223 tcp_lro_coalesce(int flow_id, struct mbuf *lro_mb, struct tcphdr *tcphdr, argument 291 flow->lr_tcphdr->th_win = tcphdr->th_win; 296 flow->lr_tcphdr = tcphdr; 307 flow->lr_seq = ntohl(tcphdr->th_seq) + payload_len; 341 struct tcphdr *tcp_hd [all...] |
H A D | tcp_subr.c | 409 #define TCP_MINPROTOHDR (sizeof(struct ip6_hdr) + sizeof(struct tcphdr)) 485 struct tcphdr *tcp_hdr = (struct tcphdr *)tcp_ptr; 497 ip6->ip6_plen = sizeof(struct tcphdr); 501 &inp->in6p_faddr, htonl(sizeof(struct tcphdr)), 519 htons(sizeof(struct tcphdr) + IPPROTO_TCP)); 573 register struct tcphdr *th, 587 struct tcphdr *nth; 637 nth = (struct tcphdr *)(void *)(ip6 + 1); 643 nth = (struct tcphdr *)(voi [all...] |
H A D | tcp_input.c | 122 struct tcphdr tcp_savetcp; 290 static void tcp_dooptions(struct tcpcb *, u_char *, int, struct tcphdr *, 293 struct tcphdr *, struct mbuf *, int); 294 static int tcp_reass(struct tcpcb *, struct tcphdr *, int *, 360 static void tcp_newreno_partial_ack(struct tcpcb *tp, struct tcphdr *th); 514 register struct tcphdr *th; 768 IP6_EXTHDR_CHECK(m, *offp, sizeof(struct tcphdr), return IPPROTO_DONE); 1085 register struct tcphdr *th; 1163 th = (struct tcphdr *)(void *)((caddr_t)ip6 + off0); 1225 struct tcphdr *, t [all...] |
H A D | tcp_debug.c | 114 struct tcphdr *th; 219 len -= sizeof (struct tcphdr);
|
H A D | tcp_output.c | 222 static struct mbuf* tcp_send_lroacks(struct tcpcb *tp, struct mbuf *m, struct tcphdr *th); 277 register struct tcphdr *th; 323 struct tcpcb *, tp, struct tcphdr *, NULL, 1011 hdrlen = sizeof (struct ip6_hdr) + sizeof (struct tcphdr); 1282 panic("tcphdr too big"); 1462 th = (struct tcphdr *)(void *)(ip6 + 1); 1474 th = (struct tcphdr *)(void *)(ip + 1); 1519 th->th_off = (sizeof (struct tcphdr) + optlen) >> 2; 1589 m->m_pkthdr.csum_data = offsetof(struct tcphdr, th_sum); 1598 m->m_pkthdr.csum_data = offsetof(struct tcphdr, th_su [all...] |
H A D | ip_fw2.c | 917 struct tcphdr *tcp = L3HDR(struct tcphdr,ip); 919 int x = (tcp->th_off << 2) - sizeof(struct tcphdr); 1157 struct tcphdr *const tcp = (struct tcphdr *)icmp; 1372 struct tcphdr *tcp) 1739 struct tcphdr *tcp; 1745 m->m_pkthdr.len = m->m_len = sizeof(struct ip) + sizeof(struct tcphdr); 1750 tcp = (struct tcphdr *)(ip + 1); /* no IP options */ 1798 ip->ip_len = htons(sizeof(struct tcphdr)); [all...] |
H A D | tcp_var.h | 141 struct tcphdr *tqe_th; /* a pointer to tcp header */ 170 struct tcphdr tt_t; 1030 struct tcphdr *, struct mbuf *, tcp_seq, tcp_seq, int, 1043 void tcp_trace(int, int, struct tcpcb *, void *, struct tcphdr *, int); 1050 void tcp_sack_partialack(struct tcpcb *, struct tcphdr *);
|
H A D | tcp_sack.c | 536 struct tcphdr *th;
|
H A D | tcp_timer.c | 768 struct tcpcb *, tp, struct tcphdr *, NULL, 887 tcp_trace(TA_USER, ostate, tp, (void *)0, (struct tcphdr *)0,
|
H A D | ip_compat.h | 702 typedef struct tcphdr tcphdr_t;
|
/darwin-on-arm/xnu/bsd/netinet6/ |
H A D | ip6_fw.c | 191 static int tcp6flg_match __P((struct tcphdr *tcp6, struct ip6_fw *f)); 231 tcp6flg_match(struct tcphdr *tcp6, struct ip6_fw *f) 421 struct tcphdr *const tcp6 = (struct tcphdr *) ((caddr_t) ip6+ off); 674 struct tcphdr *tcp6; 693 tcp6 = (struct tcphdr *) ((caddr_t)ip6 + off); 837 struct tcphdr *const tcp = 838 (struct tcphdr *) ((caddr_t)ip6 + off); 841 struct tcphdr th; 875 tcp_respond(NULL, ip6, (struct tcphdr *)(ip [all...] |
H A D | ipsec.c | 1022 struct tcphdr th; 1053 if (off + sizeof(struct tcphdr) > m->m_pkthdr.len) 1130 struct tcphdr th; 1155 if (off + sizeof(struct tcphdr) > m->m_pkthdr.len)
|
/darwin-on-arm/xnu/bsd/net/ |
H A D | pf_osfp.c | 90 const struct tcphdr *tcp) 112 return (pf_osfp_fingerprint_hdr(ip, ip6, (struct tcphdr *)(void *)hdr)); 117 const struct tcphdr *tcp) 452 #define MTUOFF (sizeof (struct ip) + sizeof (struct tcphdr))
|
H A D | pf_norm.c | 172 struct pf_pdesc *, struct mbuf *, struct tcphdr *, int, int *); 2090 struct tcphdr *th = pd->hdr.tcp; 2176 if (th->th_off < (sizeof (struct tcphdr) >> 2)) 2234 struct tcphdr *th, struct pf_state_peer *src, struct pf_state_peer *dst) 2274 if (th->th_off > (sizeof (struct tcphdr) >> 2) && src->scrub && 2278 opt = hdr + sizeof (struct tcphdr); 2279 hlen = (th->th_off << 2) - sizeof (struct tcphdr); 2329 u_short *reason, struct tcphdr *th, struct pf_state *state, 2372 if (th->th_off > (sizeof (struct tcphdr) >> 2) && 2378 opt = hdr + sizeof (struct tcphdr); [all...] |
H A D | pfvar.h | 148 struct tcphdr; 1405 struct tcphdr *tcp; 2246 struct pf_pdesc *, struct tcphdr *, struct pf_state_peer *, 2249 struct pf_pdesc *, u_short *, struct tcphdr *, struct pf_state *, 2390 struct mbuf *, int, const struct tcphdr *); 2392 const struct ip *, const struct ip6_hdr *, const struct tcphdr *);
|
H A D | pf.c | 216 struct tcphdr *, struct pf_state_peer *); 2292 struct tcphdr *th, struct pf_state_peer *dst) 2363 struct tcphdr *th = NULL; 2368 tlen = sizeof (struct tcphdr); 2445 th = (struct tcphdr *)(void *)((caddr_t)h + sizeof (struct ip)); 2458 th = (struct tcphdr *)(void *) 3757 if (hlen <= (int)sizeof (struct tcphdr)) 3761 opt = hdr + sizeof (struct tcphdr); 3762 hlen -= sizeof (struct tcphdr); 3797 if (hlen <= (int)sizeof (struct tcphdr)) [all...] |
H A D | if_bridge.c | 3329 amt += sizeof (struct tcphdr *);
|