/titanic_44/usr/src/uts/common/inet/ |
H A D | tcp_impl.h | 166 tcp_t *tcp_time_wait_head; 167 tcp_t *tcp_time_wait_tail; 168 tcp_t *tcp_free_list; 290 tcp_t *tcp; 315 extern void tcp_clrqfull(tcp_t *); 316 extern void tcp_setqfull(tcp_t *); 555 extern void tcp_acceptor_hash_insert(t_uscalar_t, tcp_t *); 556 extern tcp_t *tcp_acceptor_hash_lookup(t_uscalar_t, tcp_stack_t *); 557 extern void tcp_acceptor_hash_remove(tcp_t *); 558 extern mblk_t *tcp_ack_mp(tcp_t *); [all …]
|
H A D | tcp.h | 499 } tcp_t; typedef 509 extern void tcp_free(tcp_t *tcp); 529 tcp_t *tf_tcp; 532 (sizeof (tcp_t *) + sizeof (kmutex_t))];
|
H A D | ipclassifier.h | 234 tcp_t *cp_tcp; /* Pointer to the tcp struct */
|
/titanic_44/usr/src/stand/lib/tcp/ |
H A D | tcp.c | 111 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 *); 289 static boolean_t tcp_drop_q0(tcp_t *); 290 static mblk_t *tcp_get_seg_mp(tcp_t *, uint32_t, int32_t *); [all …]
|
H A D | tcp_inet.h | 292 } tcp_t; typedef 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);
|
/titanic_44/usr/src/lib/libdtrace/common/ |
H A D | tcp.d.in | 109 * 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 *)arg3)->tcp_last_sent_len : 191 ((tcp_t *)arg3)->tcp_rnxt - ((tcp_t *)arg3)->tcp_last_recv_len : [all …]
|
H A D | ip.d.in | 186 * 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 *)arg3)->tcp_connp->connua_v6addr.connua_laddr):
|
/titanic_44/usr/src/uts/common/inet/tcp/ |
H A D | tcp_fusion.c | 82 tcp_fuse(tcp_t *tcp, uchar_t *iphdr, tcpha_t *tcpha) in tcp_fuse() 85 tcp_t *peer_tcp; in tcp_fuse() 273 tcp_unfuse(tcp_t *tcp) in tcp_unfuse() 275 tcp_t *peer_tcp = tcp->tcp_loopback_peer; in tcp_unfuse() 347 tcp_fuse_output_urg(tcp_t *tcp, mblk_t *mp) in tcp_fuse_output_urg() 351 tcp_t *peer_tcp = tcp->tcp_loopback_peer; in tcp_fuse_output_urg() 438 tcp_fuse_output(tcp_t *tcp, mblk_t *mp, uint32_t send_size) in tcp_fuse_output() 441 tcp_t *peer_tcp = tcp->tcp_loopback_peer; in tcp_fuse_output() 627 DTRACE_PROBE3(tcp__fuse__output__flowctl, tcp_t *, tcp, in tcp_fuse_output() 658 __dtrace_tcp_void_ip_t *, NULL, tcp_t *, tcp, in tcp_fuse_output() [all …]
|
H A D | tcp_bind.c | 55 static int tcp_bind_select_lport(tcp_t *, in_port_t *, boolean_t, 57 static in_port_t tcp_get_next_priv_port(const tcp_t *); 68 tcp_bind_hash_insert(tf_t *tbf, tcp_t *tcp, int caller_holds_lock) in tcp_bind_hash_insert() 70 tcp_t **tcpp; in tcp_bind_hash_insert() 71 tcp_t *tcpnext; in tcp_bind_hash_insert() 72 tcp_t *tcphash; in tcp_bind_hash_insert() 155 tcp_bind_hash_remove(tcp_t *tcp) in tcp_bind_hash_remove() 157 tcp_t *tcpnext; in tcp_bind_hash_remove() 213 tcp_update_next_port(in_port_t port, const tcp_t *tcp, boolean_t random) in tcp_update_next_port() 286 tcp_get_next_priv_port(const tcp_t *tcp) in tcp_get_next_priv_port() [all …]
|
H A D | tcp.c | 263 tcp_t *tcpt_tcp; /* The parameter we are to pass in */ 280 static int tcp_connect_ipv4(tcp_t *tcp, ipaddr_t *dstaddrp, 282 static int tcp_connect_ipv6(tcp_t *tcp, in6_addr_t *dstaddrp, 285 static void tcp_iss_init(tcp_t *tcp); 286 static void tcp_reinit(tcp_t *tcp); 287 static void tcp_reinit_values(tcp_t *tcp); 290 static void tcp_update_lso(tcp_t *tcp, ip_xmit_attr_t *ixa); 291 static void tcp_update_zcopy(tcp_t *tcp); 422 tcp_set_recv_threshold(tcp_t *tcp, uint32_t new_rcvthresh) in tcp_set_recv_threshold() 453 tcp_set_ws_value(tcp_t *tcp) in tcp_set_ws_value() [all …]
|
H A D | tcp_tpi.c | 47 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) in tcp_use_pure_tpi() 72 tcp_err_ack(tcp_t *tcp, mblk_t *mp, int t_error, int sys_error) in tcp_err_ack() 80 tcp_err_ack_prim(tcp_t *tcp, mblk_t *mp, int primitive, in tcp_err_ack_prim() 117 tcp_conprim_opt_process(tcp_t *tcp, mblk_t *mp, int *do_disconnectp, in tcp_conprim_opt_process() 192 tcp_tpi_bind(tcp_t *tcp, mblk_t *mp) in tcp_tpi_bind() 315 tcp_tpi_unbind(tcp_t *tcp, mblk_t *mp) in tcp_tpi_unbind() 409 tcp_conn_con(tcp_t *tcp, uchar_t *iphdr, mblk_t *idmp, in tcp_conn_con() 514 tcp_tpi_connect(tcp_t *tcp, mblk_t *mp) in tcp_tpi_connect() [all …]
|
H A D | tcp_timers.c | 127 static void tcp_ip_notify(tcp_t *); 129 static void tcp_timer_free(tcp_t *, mblk_t *); 140 tcp_t *tcp = connp->conn_tcp; in tcp_timeout() 194 tcp_t *tcp = connp->conn_tcp; in tcp_timer_handler() 331 tcp_timermp_free(tcp_t *tcp) in tcp_timermp_free() 348 tcp_timer_free(tcp_t *tcp, mblk_t *mp) in tcp_timer_free() 376 tcp_timers_stop(tcp_t *tcp) in tcp_timers_stop() 422 tcp_t *tcp = connp->conn_tcp; in tcp_keepalive_timer() 519 tcp_t *tcp = connp->conn_tcp; in tcp_reass_timer() 539 tcp_t *tcp = connp->conn_tcp; in tcp_push_timer() [all …]
|
H A D | tcp_input.c | 169 static boolean_t tcp_drop_q0(tcp_t *); 170 static void tcp_icmp_error_ipv6(tcp_t *, mblk_t *, ip_recv_attr_t *); 171 static mblk_t *tcp_input_add_ancillary(tcp_t *, mblk_t *, ip_pkt_t *, 175 static void tcp_process_options(tcp_t *, tcpha_t *); 176 static mblk_t *tcp_reass(tcp_t *, mblk_t *, uint32_t); 177 static void tcp_reass_elim_overlap(tcp_t *, mblk_t *); 179 static void tcp_set_rto(tcp_t *, time_t); 190 tcp_mss_set(tcp_t *tcp, uint32_t mss) in tcp_mss_set() 250 tcp_t *tcp; in tcp_parse_options() 401 tcp_process_options(tcp_t *tcp, tcpha_t *tcpha) in tcp_process_options() [all …]
|
H A D | tcp_output.c | 55 static mblk_t *tcp_get_seg_mp(tcp_t *, uint32_t, int32_t *); 57 static void tcp_wput_flush(tcp_t *, mblk_t *); 58 static void tcp_wput_iocdata(tcp_t *tcp, mblk_t *mp); 59 static int tcp_xmit_end(tcp_t *); 60 static int tcp_send(tcp_t *, const int, const int, const int, 65 static void tcp_process_shrunk_swnd(tcp_t *, uint32_t); 66 static void tcp_fill_header(tcp_t *, uchar_t *, clock_t, int); 87 tcp_t *tcp; in tcp_wput() 205 tcp_wput_data(tcp_t *tcp, mblk_t *mp, boolean_t urgent) in tcp_wput_data() 579 tcp_t *tcp = connp->conn_tcp; in tcp_wput_sock() [all …]
|
H A D | tcp_socket.c | 136 tcp_t *listener, *eager; in tcp_accept() 241 tcp_t *tcp = connp->conn_tcp; in tcp_listen() 346 tcp_t *tcp = connp->conn_tcp; in tcp_getpeername() 484 tcp_t *tcp; in tcp_sendmsg() 567 tcp_t *tcp = connp->conn_tcp; in tcp_shutdown() 605 tcp_t *tcp = connp->conn_tcp; in tcp_clr_flowctrl() 813 tcp_fallback_noneager(tcp_t *tcp, mblk_t *stropt_mp, queue_t *q, in tcp_fallback_noneager() 915 tcp_fallback_eager(tcp_t *eager, boolean_t issocket, in tcp_fallback_eager() 919 tcp_t *listener = eager->tcp_listener; in tcp_fallback_eager() 994 tcp_t *tcp; in tcp_fallback() [all …]
|
H A D | tcp_misc.c | 62 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) in tcp_ioctl_abort_build_msg() 242 tcp_t *tcp = connp->conn_tcp; in tcp_ioctl_abort_handler() 284 tcp_t *tcp; in tcp_ioctl_abort_bucket() 335 tcp = (tcp_t *)mp->b_prev; in tcp_ioctl_abort_bucket() 432 tcp_t *tcp = connp->conn_tcp; in tcp_ioctl_abort_conn() 678 tcp_display(tcp_t *tcp, char *sup_buf, char format) in tcp_display()
|
H A D | tcp_time_wait.c | 59 tcp_time_wait_remove(tcp_t *tcp, tcp_squeue_priv_t *tcp_time_wait) in tcp_time_wait_remove() 134 tcp_time_wait_append(tcp_t *tcp) in tcp_time_wait_append() 258 tcp_t *tcp = connp->conn_tcp; in tcp_timewait_close() 291 tcp_t *tcp; in tcp_time_wait_collector() 501 tcp_time_wait_processing(tcp_t *tcp, mblk_t *mp, uint32_t seg_seq, in tcp_time_wait_processing() 515 DTRACE_PROBE2(tcp__trace__recv, mblk_t *, mp, tcp_t *, tcp); in tcp_time_wait_processing()
|
H A D | tcp_cluster.c | 102 tcp_t *tcp; in cl_tcp_walk_list_stack()
|
H A D | tcp_opt_data.c | 364 tcp_t *tcp = connp->conn_tcp; in tcp_opt_get() 496 tcp_t *tcp = connp->conn_tcp; in tcp_opt_set()
|
H A D | tcp_stats.c | 54 tcp_snmp_state(tcp_t *tcp) in tcp_snmp_state() 179 tcp_t *tcp; in tcp_snmp_get() 547 tcp_t *tcp; in tcp_kstat_update()
|
/titanic_44/usr/src/stand/lib/tcpstubs/ |
H A D | tcpstubs.c | 68 tcp_send(int arg0, tcp_t *arg1, const void *arg2, int arg3) in tcp_send() 76 tcp_opt_set(tcp_t *arg0, int arg1, int arg2, const void *arg3, socklen_t arg4) in tcp_opt_set()
|
/titanic_44/usr/src/uts/common/inet/ip/ |
H A D | ipclassifier.c | 323 extern void tcp_timermp_free(tcp_t *); 353 sizeof (itc_t) + sizeof (tcp_t), CACHE_ALIGN_SIZE, in ipcl_g_init() 683 tcp_t *tcp = connp->conn_tcp; in ipcl_conn_destroy() 709 bzero(tcp, sizeof (tcp_t)); in ipcl_conn_destroy() 1930 tcp_t *tcp = (tcp_t *)&itc[1]; in tcp_conn_constructor() 1933 bzero(tcp, sizeof (tcp_t)); in tcp_conn_constructor() 1964 tcp_t *tcp = (tcp_t *)&itc[1]; in tcp_conn_destructor() 2523 tcp_t *tcp; in ipcl_tcp_lookup_reversed_ipv6() 2566 tcp_t *tcp; in ipcl_lookup_listener_v4() 2604 tcp_t *tcp; in ipcl_lookup_listener_v6()
|
/titanic_44/usr/src/cmd/mdb/common/modules/genunix/ |
H A D | net.c | 170 net_tcp_active(const tcp_t *tcp) in net_tcp_active() 176 net_tcp_ipv4(const tcp_t *tcp) in net_tcp_ipv4() 184 net_tcp_ipv6(const tcp_t *tcp) in net_tcp_ipv6() 579 netstat_tcp_verbose_pr(const tcp_t *tcp) in netstat_tcp_verbose_pr() 595 tcp_t tcps, *tcp; in netstat_tcp_cb() 603 if (mdb_vread(&tcps, sizeof (tcp_t), tcp_kaddr) == -1) { in netstat_tcp_cb()
|
/titanic_44/usr/src/cmd/dtrace/demo/ip/ |
H A D | tcprst.d | 72 self->tcpp = (tcp_t *)arg1;
|