Searched refs:tcp_t (Results 1 - 24 of 24) sorted by relevance

/opensolaris-onvv-gate/usr/src/uts/common/inet/
H A Dtcp_impl.h131 * When a tcp_t enters TIME_WAIT state, a timer is started (timeout is
132 * tcps_time_wait_interval). When the tcp_t is detached (upper layer closes
136 * TIME_WAIT state can be extended (up to doubled) if the tcp_t doesn't
146 * The tcp_t's that are added to tcp_free_list are disassociated and
152 tcp_t *tcp_time_wait_head;
153 tcp_t *tcp_time_wait_tail;
154 tcp_t *tcp_free_list;
249 tcp_t *tcp;
267 * This is accomplished by adding a new tcp_t fields, tcp_squeue_bytes, to
274 extern void tcp_clrqfull(tcp_t *);
[all...]
H A Dtcp.h387 struct tcp_s *tcp_bind_hash_port; /* tcp_t's bound to the same lport */
482 } tcp_t; typedef in typeref:struct:tcp_s
492 extern void tcp_free(tcp_t *tcp);
502 * protected by the per-bucket tf_lock. Each tcp_t
505 * The bind and acceptor hash queues are lists of tcp_t.
509 tcp_t *tf_tcp;
H A Dipclassifier.h59 * respective data for event i.e. tcp_t if event was tcp_input_data) all in one
234 tcp_t *cp_tcp; /* Pointer to the tcp struct */
/opensolaris-onvv-gate/usr/src/stand/lib/tcpstubs/
H A Dtcpstubs.c68 tcp_send(int arg0, tcp_t *arg1, const void *arg2, int arg3)
76 tcp_opt_set(tcp_t *arg0, int arg1, int arg2, const void *arg3, socklen_t arg4)
/opensolaris-onvv-gate/usr/src/lib/libdtrace/common/
H A Dtcp.d.in109 * tcpsinfo contains stable TCP details from tcp_t.
147 * the non-NULL tcph_t * passed in or, if it is NULL, uses arg3 (tcp_t *)
148 * from the tcp:::send and tcp:::recieve probes and translates the tcp_t *
151 * consumer with header data based on tcp_t * content and hide TCP fusion
175 ntohs(((tcp_t *)arg3)->tcp_connp->u_port.connu_ports.connu_lport) :
177 ntohs(((tcp_t *)arg3)->tcp_connp->u_port.connu_ports.connu_fport) :
182 ntohs(((tcp_t *)arg3)->tcp_connp->u_port.connu_ports.connu_fport) :
184 ntohs(((tcp_t *)arg3)->tcp_connp->u_port.connu_ports.connu_lport) :
189 ((tcp_t *)arg3)->tcp_snxt - ((tcp_t *)arg
[all...]
H A Dip.d.in186 * non-NULL void_ip_t * passed in or, if it is NULL, uses arg3 (tcp_t *)
190 * data based on the tcp_t * content in order to hide the implementation
264 * or use arg3 (tcp_t *) to fabricate ip header info.
269 arg3 != NULL ? ((tcp_t *)arg3)->tcp_connp->conn_ipversion : 0;
278 ((tcp_t *)arg3)->tcp_last_sent_len + @TCP_MIN_HEADER_LENGTH@ :
280 ((tcp_t *)arg3)->tcp_last_recv_len + @TCP_MIN_HEADER_LENGTH@ :
289 inet_ntoa6(&((tcp_t *)arg3)->tcp_connp->connua_v6addr.connua_laddr):
291 inet_ntoa6(&((tcp_t *)arg3)->tcp_connp->connua_v6addr.connua_faddr):
300 inet_ntoa6(&((tcp_t *)arg3)->tcp_connp->connua_v6addr.connua_faddr):
302 inet_ntoa6(&((tcp_t *)arg
[all...]
/opensolaris-onvv-gate/usr/src/stand/lib/tcp/
H A Dtcp.c111 tcp_t *tcp;
280 static int tcp_accept_comm(tcp_t *, tcp_t *, mblk_t *, uint_t);
281 static mblk_t *tcp_ack_mp(tcp_t *);
284 static void tcp_clean_death(int, tcp_t *, int err);
285 static tcp_t *tcp_conn_request(tcp_t *, mblk_t *mp, uint_t, uint_t);
286 static char *tcp_display(tcp_t *, char *, char);
287 static int tcp_drain_input(tcp_t *, int, int);
288 static void tcp_drain_needed(int, tcp_t *);
[all...]
H A Dtcp_inet.h292 } tcp_t; typedef in typeref:struct:tcp_s
299 extern int tcp_send(int, tcp_t *, const void *, int);
300 extern int tcp_opt_set(tcp_t *, int, int, const void *, socklen_t);
/opensolaris-onvv-gate/usr/src/uts/common/inet/tcp/
H A Dtcp_bind.c54 static int tcp_bind_select_lport(tcp_t *, in_port_t *, boolean_t,
56 static in_port_t tcp_get_next_priv_port(const tcp_t *);
59 * Hash list insertion routine for tcp_t structures. Each hash bucket
60 * contains a list of tcp_t entries, and each entry is bound to a unique
61 * port. If there are multiple tcp_t's that are bound to the same port, then
67 tcp_bind_hash_insert(tf_t *tbf, tcp_t *tcp, int caller_holds_lock)
69 tcp_t **tcpp;
70 tcp_t *tcpnext;
71 tcp_t *tcphash;
151 * Hash list removal routine for tcp_t structure
[all...]
H A Dtcp_timers.c132 static void tcp_ip_notify(tcp_t *);
134 static void tcp_timer_free(tcp_t *, mblk_t *);
145 tcp_t *tcp = connp->conn_tcp;
198 tcp_t *tcp = connp->conn_tcp;
313 tcp_timermp_free(tcp_t *tcp)
330 tcp_timer_free(tcp_t *tcp, mblk_t *mp)
358 tcp_timers_stop(tcp_t *tcp)
399 tcp_t *tcp = connp->conn_tcp;
494 tcp_t *tcp = connp->conn_tcp;
514 tcp_t *tc
[all...]
H A Dtcp_tpi.c47 static void tcp_accept_swap(tcp_t *, tcp_t *, tcp_t *);
48 static int tcp_conprim_opt_process(tcp_t *, mblk_t *, int *, int *, int *);
51 tcp_use_pure_tpi(tcp_t *tcp)
72 tcp_err_ack(tcp_t *tcp, mblk_t *mp, int t_error, int sys_error)
80 tcp_err_ack_prim(tcp_t *tcp, mblk_t *mp, int primitive,
117 tcp_conprim_opt_process(tcp_t *tcp, mblk_t *mp, int *do_disconnectp,
192 tcp_tpi_bind(tcp_t *tcp, mblk_t *mp)
315 tcp_tpi_unbind(tcp_t *tc
[all...]
H A Dtcp.c108 * The entire tcp state is contained in tcp_t and conn_t structure
111 * the references on the tcp_t. The tcp_t structure is never compressed
113 * eager is created till the time tcp_t dies (as such the old mentat
200 * become acceptor and also avoid allocating a tcp_t for acceptor STREAM
264 tcp_t *tcpt_tcp; /* The parameter we are to pass in */
281 static int tcp_connect_ipv4(tcp_t *tcp, ipaddr_t *dstaddrp,
283 static int tcp_connect_ipv6(tcp_t *tcp, in6_addr_t *dstaddrp,
286 static void tcp_iss_init(tcp_t *tcp);
287 static void tcp_reinit(tcp_t *tc
[all...]
H A Dtcp_fusion.c82 tcp_fuse(tcp_t *tcp, uchar_t *iphdr, tcpha_t *tcpha)
85 tcp_t *peer_tcp;
273 tcp_unfuse(tcp_t *tcp)
275 tcp_t *peer_tcp = tcp->tcp_loopback_peer;
347 tcp_fuse_output_urg(tcp_t *tcp, mblk_t *mp)
351 tcp_t *peer_tcp = tcp->tcp_loopback_peer;
438 tcp_fuse_output(tcp_t *tcp, mblk_t *mp, uint32_t send_size)
441 tcp_t *peer_tcp = tcp->tcp_loopback_peer;
627 DTRACE_PROBE3(tcp__fuse__output__flowctl, tcp_t *, tcp,
658 __dtrace_tcp_void_ip_t *, NULL, tcp_t *, tc
[all...]
H A Dtcp_input.c86 * Steps to do when a tcp_t moves to TIME-WAIT state.
100 * the timer is handled within the context of this tcp_t. When the timer
103 * tcp_t to the global TIME-WAIT list. Note that this means that the
166 static boolean_t tcp_drop_q0(tcp_t *);
167 static void tcp_icmp_error_ipv6(tcp_t *, mblk_t *, ip_recv_attr_t *);
168 static mblk_t *tcp_input_add_ancillary(tcp_t *, mblk_t *, ip_pkt_t *,
172 static void tcp_process_options(tcp_t *, tcpha_t *);
173 static mblk_t *tcp_reass(tcp_t *, mblk_t *, uint32_t);
174 static void tcp_reass_elim_overlap(tcp_t *, mblk_t *);
176 static void tcp_set_rto(tcp_t *, time_
[all...]
H A Dtcp_socket.c132 tcp_t *listener, *eager;
237 tcp_t *tcp = connp->conn_tcp;
342 tcp_t *tcp = connp->conn_tcp;
480 tcp_t *tcp;
563 tcp_t *tcp = connp->conn_tcp;
601 tcp_t *tcp = connp->conn_tcp;
808 tcp_fallback_noneager(tcp_t *tcp, mblk_t *stropt_mp, queue_t *q,
910 tcp_fallback_eager(tcp_t *eager, boolean_t issocket,
914 tcp_t *listener = eager->tcp_listener;
989 tcp_t *tc
[all...]
H A Dtcp_misc.c62 static mblk_t *tcp_ioctl_abort_build_msg(tcp_ioc_abort_conn_t *, tcp_t *);
152 tcp_ioctl_abort_build_msg(tcp_ioc_abort_conn_t *acp, tcp_t *tp)
242 tcp_t *tcp = connp->conn_tcp;
284 tcp_t *tcp;
335 tcp = (tcp_t *)mp->b_prev;
432 tcp_t *tcp = connp->conn_tcp;
678 tcp_display(tcp_t *tcp, char *sup_buf, char format)
H A Dtcp_output.c54 static mblk_t *tcp_get_seg_mp(tcp_t *, uint32_t, int32_t *);
56 static void tcp_wput_flush(tcp_t *, mblk_t *);
57 static void tcp_wput_iocdata(tcp_t *tcp, mblk_t *mp);
58 static int tcp_xmit_end(tcp_t *);
59 static int tcp_send(tcp_t *, const int, const int, const int,
64 static void tcp_process_shrunk_swnd(tcp_t *, uint32_t);
65 static void tcp_fill_header(tcp_t *, uchar_t *, clock_t, int);
86 tcp_t *tcp;
204 tcp_wput_data(tcp_t *tcp, mblk_t *mp, boolean_t urgent)
578 tcp_t *tc
[all...]
H A Dtcp_time_wait.c58 tcp_time_wait_remove(tcp_t *tcp, tcp_squeue_priv_t *tcp_time_wait)
71 /* 0 means that the tcp_t has not been added to the time wait list. */
118 tcp_time_wait_append(tcp_t *tcp)
143 * tcp_t is not in the TIME_WAIT list.
161 * running since a tcp_t can be removed from the list
194 * tcp_t. Used in tcp_time_wait_collector().
201 tcp_t *tcp = connp->conn_tcp;
234 tcp_t *tcp;
434 * the tcp_t is in the TIME_WAIT state.
436 * A TIME_WAIT tcp_t tha
[all...]
H A Dtcp_cluster.c65 * The callback is invoked for each tcp_t structure from all netstacks,
66 * if 'stack_id' is less than 0. Otherwise, only for tcp_t structures
102 tcp_t *tcp;
H A Dtcp_opt_data.c358 tcp_t *tcp = connp->conn_tcp;
471 tcp_t *tcp = connp->conn_tcp;
H A Dtcp_stats.c52 tcp_snmp_state(tcp_t *tcp)
177 tcp_t *tcp;
538 tcp_t *tcp;
/opensolaris-onvv-gate/usr/src/uts/common/inet/ip/
H A Dipclassifier.c308 * wrapper structure to ensure that conn and what follows it (tcp_t, etc)
323 extern void tcp_timermp_free(tcp_t *);
353 sizeof (itc_t) + sizeof (tcp_t), CACHE_ALIGN_SIZE,
683 tcp_t *tcp = connp->conn_tcp;
709 bzero(tcp, sizeof (tcp_t));
1930 tcp_t *tcp = (tcp_t *)&itc[1];
1933 bzero(tcp, sizeof (tcp_t));
1964 tcp_t *tcp = (tcp_t *)
[all...]
/opensolaris-onvv-gate/usr/src/cmd/mdb/common/modules/genunix/
H A Dnet.c170 net_tcp_active(const tcp_t *tcp)
176 net_tcp_ipv4(const tcp_t *tcp)
184 net_tcp_ipv6(const tcp_t *tcp)
579 netstat_tcp_verbose_pr(const tcp_t *tcp)
595 tcp_t tcps, *tcp;
603 if (mdb_vread(&tcps, sizeof (tcp_t), tcp_kaddr) == -1) {
604 mdb_warn("failed to read tcp_t at %p", tcp_kaddr);
/opensolaris-onvv-gate/usr/src/cmd/dtrace/demo/ip/
H A Dtcprst.d72 self->tcpp = (tcp_t *)arg1;

Completed in 211 milliseconds