Searched refs:tcpcb (Results 1 - 25 of 27) sorted by relevance

12

/xnu-2422.115.4/bsd/netinet/
H A Dmptcp_opt.h44 extern int tcp_do_mptcp_options(struct tcpcb *, u_char *, struct tcphdr *,
47 extern unsigned mptcp_setup_join_ack_opts(struct tcpcb *, u_char*, unsigned);
49 extern void mptcp_send_addaddr_opt(struct tcpcb *, struct mptcp_addaddr_opt *);
50 extern void mptcp_send_remaddr_opt(struct tcpcb *, struct mptcp_remaddr_opt *);
51 extern unsigned int mptcp_setup_opts(struct tcpcb *, int, u_char *,
54 extern void mptcp_update_dss_rcv_state(struct mptcp_dsn_opt *, struct tcpcb *,
57 struct tcpcb *, uint16_t);
59 struct tcpcb *, uint16_t);
60 extern void mptcp_update_rcv_state_meat(struct mptcb *, struct tcpcb *,
62 extern void mptcp_data_ack_rcvd(struct mptcb *, struct tcpcb *, u_int64_
[all...]
H A Dtcp_cc.h85 int (*init) (struct tcpcb *tp);
88 int (*cleanup) (struct tcpcb *tp);
91 void (*cwnd_init) (struct tcpcb *tp);
94 void (*inseq_ack_rcvd) (struct tcpcb *tp, struct tcphdr *th);
97 void (*ack_rcvd) (struct tcpcb *tp, struct tcphdr *th);
100 void (*pre_fr) (struct tcpcb *tp);
103 void (*post_fr) (struct tcpcb *tp, struct tcphdr *th);
106 void (*after_idle) (struct tcpcb *tp);
109 void (*after_timeout) (struct tcpcb *tp);
112 int (*delay_ack)(struct tcpcb *t
[all...]
H A Dtcp_newreno.c86 int tcp_newreno_init(struct tcpcb *tp);
87 int tcp_newreno_cleanup(struct tcpcb *tp);
88 void tcp_newreno_cwnd_init_or_reset(struct tcpcb *tp);
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);
91 void tcp_newreno_pre_fr(struct tcpcb *tp);
92 void tcp_newreno_post_fr(struct tcpcb *tp, struct tcphdr *th);
93 void tcp_newreno_after_idle(struct tcpcb *tp);
94 void tcp_newreno_after_timeout(struct tcpcb *tp);
95 int tcp_newreno_delay_ack(struct tcpcb *t
[all...]
H A Dtcp_ledbat.c58 int tcp_ledbat_init(struct tcpcb *tp);
59 int tcp_ledbat_cleanup(struct tcpcb *tp);
60 void tcp_ledbat_cwnd_init(struct tcpcb *tp);
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);
63 void tcp_ledbat_pre_fr(struct tcpcb *tp);
64 void tcp_ledbat_post_fr(struct tcpcb *tp, struct tcphdr *th);
65 void tcp_ledbat_after_idle(struct tcpcb *tp);
66 void tcp_ledbat_after_timeout(struct tcpcb *tp);
67 int tcp_ledbat_delay_ack(struct tcpcb *t
[all...]
H A Dtcp_debug.h90 struct tcpcb td_cb;
H A Dtcp_var.h208 #define tcp6cb tcpcb /* for KAME src sync over BSD*'s */
214 struct tcpcb { struct
426 TAILQ_ENTRY(tcpcb) t_twentry; /* link for time wait queue */
531 * processing (in tcp_input), but not held in the tcpcb.
569 #define intotcpcb(ip) ((struct tcpcb *)(ip)->inp_ppcb)
617 struct tcpcb {
907 struct tcpcb xt_tp;
1130 extern struct inpcbhead tcb; /* head of queue of active tcpcb's */
1156 void tcp_canceltimers(struct tcpcb *);
1157 struct tcpcb *
[all...]
H A Dtcp_usrreq.c119 void tcp_fill_info(struct tcpcb *, struct tcp_info *);
130 static int tcp_connect(struct tcpcb *, struct sockaddr *, struct proc *);
132 static int tcp6_connect(struct tcpcb *, struct sockaddr *, struct proc *);
136 static struct tcpcb *
137 tcp_disconnect(struct tcpcb *);
138 static struct tcpcb *
139 tcp_usrclosed(struct tcpcb *);
143 extern void tcp_sbrcv_trim(struct tcpcb *tp, struct sockbuf *sb);
175 struct tcpcb *tp = 0;
208 struct tcpcb *t
[all...]
H A Dtcp_input.c310 static void tcp_dooptions(struct tcpcb *, u_char *, int, struct tcphdr *,
314 static int tcp_reass(struct tcpcb *, struct tcphdr *, int *, struct mbuf *,
316 static void tcp_xmit_timer(struct tcpcb *, int, u_int32_t, tcp_seq);
318 static inline int tcp_stretch_ack_enable(struct tcpcb *tp);
319 static inline void tcp_adaptive_rwtimo_check(struct tcpcb *, int);
322 static inline void update_iaj_state(struct tcpcb *tp, uint32_t tlen, int reset_size);
323 void compute_iaj(struct tcpcb *tp, int nlropkts, int lro_delay_factor);
324 static void compute_iaj_meat(struct tcpcb *tp, uint32_t cur_iaj);
331 static void tcp_sbrcv_grow(struct tcpcb *tp, struct sockbuf *sb,
334 void tcp_sbrcv_trim(struct tcpcb *t
[all...]
H A Dtcp_timer.c112 #define TIMERENTRY_TO_TP(te) ((struct tcpcb *)((uintptr_t)te - offsetof(struct tcpcb, tentry.le.le_next)))
263 static void tcp_remove_timer(struct tcpcb *tp);
265 static uint32_t tcp_run_conn_timer(struct tcpcb *tp, uint16_t *next_index);
266 static void tcp_sched_timers(struct tcpcb *tp);
267 static inline void tcp_set_lotimer_index(struct tcpcb *);
268 static void tcp_rexmt_save_state(struct tcpcb *tp);
288 static void add_to_time_wait_locked(struct tcpcb *tp, uint32_t delay);
289 void add_to_time_wait(struct tcpcb *tp, uint32_t delay) ;
297 add_to_time_wait_locked(struct tcpcb *t
[all...]
H A Dtcp_sack.c130 tcp_update_sack_list(struct tcpcb *tp, tcp_seq rcv_start, tcp_seq rcv_end)
224 tcp_clean_sackreport( struct tcpcb *tp)
235 tcp_sackhole_alloc(struct tcpcb *tp, tcp_seq start, tcp_seq end)
263 tcp_sackhole_free(struct tcpcb *tp, struct sackhole *hole)
275 tcp_sackhole_insert(struct tcpcb *tp, tcp_seq start, tcp_seq end,
302 tcp_sackhole_remove(struct tcpcb *tp, struct sackhole *hole)
321 tcp_sack_doack(struct tcpcb *tp, struct tcpopt *to, tcp_seq th_ack,
525 tcp_free_sackholes(struct tcpcb *tp)
549 struct tcpcb *tp;
573 tcp_sack_output_debug(struct tcpcb *t
[all...]
H A Dtcp_subr.c263 static void tcp_sbrcv_grow_rwin(struct tcpcb *tp, struct sockbuf *sb);
295 struct tcpcb tcb __attribute__((aligned(ALIGNMENT)));
302 static void tcpcb_to_otcpcb(struct tcpcb *, struct otcpcb *);
318 return sizeof(struct tcpcb);
321 int tcp_freeq(struct tcpcb *tp);
395 tcbinfo.ipi_zone = zinit(str_size, 120000*str_size, 8192, "tcpcb");
476 * Fill in the IP and TCP headers for an outgoing packet, given the tcpcb.
478 * of the tcpcb each time to conserve mbufs.
482 struct tcpcb *tp;
541 struct tcpcb *t
[all...]
H A Dmptcp.c465 mptcp_data_ack_rcvd(struct mptcb *mp_tp, struct tcpcb *tp, u_int64_t full_dack)
483 mptcp_update_dss_rcv_state(struct mptcp_dsn_opt *dss_info, struct tcpcb *tp,
504 mptcp_update_rcv_state_meat(struct mptcb *mp_tp, struct tcpcb *tp,
542 mptcp_update_rcv_state_f(struct mptcp_dss_ack_opt *dss_info, struct tcpcb *tp,
563 struct tcpcb *tp, uint16_t csum)
586 mptcp_input_csum(struct tcpcb *tp, struct mbuf *m, int off)
623 DTRACE_MPTCP3(checksum__result, struct tcpcb *, tp, struct mbuf *, m,
630 mptcp_output_csum(struct tcpcb *tp, struct mbuf *m, int32_t len,
661 DTRACE_MPTCP3(checksum__result, struct tcpcb *, tp, struct mbuf *, m,
H A Dmptcp_opt.c56 static int mptcp_validate_join_hmac(struct tcpcb *, u_char*, int);
57 static int mptcp_snd_mpprio(struct tcpcb *tp, u_char *cp, int optlen);
67 struct tcpcb *tp = sototcpcb(so);
149 struct tcpcb *tp = NULL;
200 mptcp_setup_join_ack_opts(struct tcpcb *tp, u_char *opt, unsigned optlen)
247 mptcp_send_mpfail(struct tcpcb *tp, u_char *opt, unsigned int optlen)
286 mptcp_send_infinite_mapping(struct tcpcb *tp, u_char *opt, unsigned int optlen)
360 mptcp_ok_to_fin(struct tcpcb *tp, u_int64_t dsn, u_int32_t datalen)
378 mptcp_send_fastclose(struct tcpcb *tp, u_char *opt, unsigned int optlen,
407 mptcp_setup_opts(struct tcpcb *t
[all...]
H A Dtcp_timer.h272 TAILQ_HEAD(tcptailq, tcpcb);
H A Dtcp_output.c227 static int tcp_ip_output(struct socket *, struct tcpcb *, struct mbuf *, int,
230 extern uint32_t get_base_rtt(struct tcpcb *tp);
231 static struct mbuf* tcp_send_lroacks(struct tcpcb *tp, struct mbuf *m, struct tcphdr *th);
232 static int tcp_recv_throttle(struct tcpcb *tp);
261 tcp_output(struct tcpcb *tp)
327 struct tcpcb *, tp, struct tcphdr *, NULL,
1977 struct ip6 *, ip6, struct tcpcb *, tp, struct tcphdr *,
1983 struct ip *, ip, struct tcpcb *, tp, struct tcphdr *, th);
2124 struct tcpcb *, tp, struct tcphdr *, NULL,
2181 tcp_ip_output(struct socket *so, struct tcpcb *t
[all...]
H A Din_pcblist.c102 static void tcpcb_to_xtcpcb_n(struct tcpcb *, struct xtcpcb_n *);
196 tcpcb_to_xtcpcb_n(struct tcpcb *tp, struct xtcpcb_n *xt)
366 tcpcb_to_xtcpcb_n((struct tcpcb *)
H A Dmptcp_subr.c1626 struct tcpcb *tp = intotcpcb(sotoinpcb(so));
2117 struct tcpcb *tp = NULL;
2754 struct tcpcb *tp = NULL;
3268 struct tcpcb *tp = NULL;
3657 struct tcpcb *tp = sototcpcb(so);
3691 struct tcpcb *tp = sototcpcb(so);
4004 struct tcpcb *tp = NULL;
4198 mptcp_adj_rcvnxt(struct tcpcb *tp, struct mbuf *m)
4225 mptcp_insert_rmap(struct tcpcb *tp, struct mbuf *m)
4245 struct tcpcb *t
[all...]
H A Dtcp_debug.c112 struct tcpcb *tp;
H A Din_tclass.c785 struct tcpcb *tp = intotcpcb(inp);
1137 struct tcpcb *tp = NULL;
H A Dmptcp_usrreq.c576 struct tcpcb *tp = NULL;
/xnu-2422.115.4/bsd/dev/dtrace/scripts/
H A Dtcp.d166 struct tcpcb* tcpcb; /* Pointer to tcp control block */
170 translator tcpsinfo_t < struct tcpcb *T> {
202 tcpcb = T;
/xnu-2422.115.4/bsd/netinet6/
H A Dipsec.h345 struct tcpcb;
350 extern size_t ipsec_hdrsiz_tcp(struct tcpcb *);
/xnu-2422.115.4/bsd/kern/
H A Dsocket_info.c147 struct tcpcb *tp = (struct tcpcb *)inp->inp_ppcb;
/xnu-2422.115.4/bsd/net/
H A Dntstat.c888 struct tcpcb *tp;
918 struct tcpcb *tp = intotcpcb(inp);
1091 struct tcpcb *tp = intotcpcb(inp);
/xnu-2422.115.4/tools/lldbmacros/
H A Dnet.py345 def GetTcpState(tcpcb):
347 tp = Cast(tcpcb, 'tcpcb *')

Completed in 198 milliseconds

12