/titanic_50/usr/src/stand/lib/tcp/ |
H A D | tcp.c | 1265 tcph_t *tcph; in tcp_connect() local 1330 tcph = tcp->tcp_tcph; in tcp_connect() 1331 *(uint16_t *)tcph->th_fport = dstport; in tcp_connect() 1436 tcph_t *tcph; in tcp_accept_comm() local 1493 tcph = (tcph_t *)&cr_pkt->b_rptr[ip_hdr_len]; in tcp_accept_comm() 1497 bcopy(tcph->th_lport, acceptor->tcp_tcph->th_fport, sizeof (in_port_t)); in tcp_accept_comm() 1505 acceptor->tcp_lport = *(in_port_t *)tcph->th_fport; in tcp_accept_comm() 1506 bcopy(tcph->th_fport, acceptor->tcp_tcph->th_lport, in tcp_accept_comm() 1527 tcp_process_options(acceptor, tcph); in tcp_accept_comm() 1531 (tcph->th_flags[0] & (TH_ECE|TH_CWR)) == (TH_ECE|TH_CWR)) { in tcp_accept_comm() [all …]
|
H A D | tcp_inet.h | 82 #define TCP_HDR_LENGTH(tcph) (((tcph)->th_offset_and_rsrvd[0] >>2) &(0xF << 2)) argument
|
/titanic_50/usr/src/cmd/dtrace/demo/ip/ |
H A D | tcprst.d | 79 self->tcph = (tcpha_t *)((char *)self->iph + this->iph_length); 81 (((tcph_t *)self->tcph)->th_offset_and_rsrvd[0] >>2) &(0xF << 2); 133 seqno[self->conn_id, self->pcount] = ntohl(self->tcph->tha_seq); 134 ack[self->conn_id, self->pcount] = ntohl(self->tcph->tha_ack); 136 wnd[self->conn_id, self->pcount] = ntohs(self->tcph->tha_win); 140 flags[self->conn_id, self->pcount] = self->tcph->tha_flags; 141 self->flags = self->tcph->tha_flags;
|
/titanic_50/usr/src/cmd/mdb/common/modules/ip/ |
H A D | ip.c | 1147 tcphdr_print(struct tcphdr *tcph) in tcphdr_print() argument 1155 mdb_nhconvert(&sport, &tcph->th_sport, sizeof (sport)); in tcphdr_print() 1156 mdb_nhconvert(&dport, &tcph->th_dport, sizeof (dport)); in tcphdr_print() 1157 mdb_nhconvert(&seq, &tcph->th_seq, sizeof (seq)); in tcphdr_print() 1158 mdb_nhconvert(&ack, &tcph->th_ack, sizeof (ack)); in tcphdr_print() 1159 mdb_nhconvert(&win, &tcph->th_win, sizeof (win)); in tcphdr_print() 1160 mdb_nhconvert(&urp, &tcph->th_urp, sizeof (urp)); in tcphdr_print() 1166 sport, dport, seq, ack, tcph->th_off << 2, win, in tcphdr_print() 1167 tcph->th_sum, urp, tcph->th_flags, tcp_flags); in tcphdr_print() 1176 struct tcphdr tcph; in tcphdr() local [all …]
|
/titanic_50/usr/src/uts/common/inet/ipf/netinet/ |
H A D | ip_rcmd_pxy.c | 126 tcphdr_t *tcp, tcph, *tcp2 = &tcph; local
|
H A D | ip_irc_pxy.c | 277 tcphdr_t *tcp, tcph, *tcp2 = &tcph; local
|
H A D | ip_raudio_pxy.c | 210 tcphdr_t *tcp, tcph, *tcp2 = &tcph; local
|
H A D | ip_ftp_pxy.c | 193 tcphdr_t *tcp, tcph, *tcp2 = &tcph; local 649 tcphdr_t *tcp, tcph, *tcp2; local 663 tcp2 = &tcph;
|
/titanic_50/usr/src/uts/common/inet/ |
H A D | tcp.h | 105 #define TCP_HDR_LENGTH(tcph) \ argument 106 ((((tcph_t *)tcph)->th_offset_and_rsrvd[0] >>2) &(0xF << 2))
|
/titanic_50/usr/src/uts/common/inet/ilb/ |
H A D | ilb.c | 1670 tcpha_t *tcph; in ilb_check() local 1691 tcph = (tcpha_t *)tph; in ilb_check() 1692 sport = tcph->tha_lport; in ilb_check() 1693 dport = tcph->tha_fport; in ilb_check()
|
/titanic_50/usr/src/uts/common/io/mac/ |
H A D | mac_flow.c | 2329 struct tcphdr *tcph = (struct tcphdr *)l4_start; in flow_transport_accept() local 2331 if (PKT_TOO_SMALL(s, l4_start + sizeof (*tcph))) in flow_transport_accept() 2334 l4info->l4_src_port = tcph->th_sport; in flow_transport_accept() 2335 l4info->l4_dst_port = tcph->th_dport; in flow_transport_accept()
|