/illumos-gate/usr/src/stand/lib/tcp/ |
H A D | tcp.c | 1265 tcph_t *tcph; local 1330 tcph = tcp->tcp_tcph; 1331 *(uint16_t *)tcph->th_fport = dstport; 1436 tcph_t *tcph; local 1493 tcph = (tcph_t *)&cr_pkt->b_rptr[ip_hdr_len]; 1497 bcopy(tcph->th_lport, acceptor->tcp_tcph->th_fport, sizeof (in_port_t)); 1505 acceptor->tcp_lport = *(in_port_t *)tcph->th_fport; 1506 bcopy(tcph->th_fport, acceptor->tcp_tcph->th_lport, 1527 tcp_process_options(acceptor, tcph); 1531 (tcph 1802 tcpha_t *tcph; local 1829 tcp_lookup_ipv4(struct ip *iph, tcpha_t *tcph, int min_state, int *sock_id) argument 1886 tcp_lookup_eager_ipv4(tcp_t *listener, struct ip *iph, tcpha_t *tcph) argument 2021 tcp_parse_options(tcph_t *tcph, tcp_opt_t *tcpopt) argument 2231 tcp_process_options(tcp_t *tcp, tcph_t *tcph) argument 2364 tcp_paws_check(tcp_t *tcp, tcph_t *tcph, tcp_opt_t *tcpoptp) argument 2617 tcpha_t *tcph; local 4807 tcph_t *tcph; local 5202 tcp_time_wait_processing(tcp_t *tcp, mblk_t *mp, uint32_t seg_seq, uint32_t seg_ack, int seg_len, tcph_t *tcph, int sock_id) argument 5467 tcph_t *tcph; local 5519 tcph_t *tcph; local 5620 tcph_t *tcph; local 5737 tcph_t *tcph; local 6076 tcph_t *tcph; local 6126 tcph_t *tcph; local 6214 tcpha_t *tcph; local [all...] |
H A D | tcp_inet.h | 82 #define TCP_HDR_LENGTH(tcph) (((tcph)->th_offset_and_rsrvd[0] >>2) &(0xF << 2))
|
/illumos-gate/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;
|
/illumos-gate/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;
|
/illumos-gate/usr/src/uts/common/inet/ |
H A D | tcp.h | 105 #define TCP_HDR_LENGTH(tcph) \ 106 ((((tcph_t *)tcph)->th_offset_and_rsrvd[0] >>2) &(0xF << 2))
|
/illumos-gate/usr/src/cmd/mdb/common/modules/ip/ |
H A D | ip.c | 1147 tcphdr_print(struct tcphdr *tcph) argument 1155 mdb_nhconvert(&sport, &tcph->th_sport, sizeof (sport)); 1156 mdb_nhconvert(&dport, &tcph->th_dport, sizeof (dport)); 1157 mdb_nhconvert(&seq, &tcph->th_seq, sizeof (seq)); 1158 mdb_nhconvert(&ack, &tcph->th_ack, sizeof (ack)); 1159 mdb_nhconvert(&win, &tcph->th_win, sizeof (win)); 1160 mdb_nhconvert(&urp, &tcph->th_urp, sizeof (urp)); 1166 sport, dport, seq, ack, tcph->th_off << 2, win, 1167 tcph->th_sum, urp, tcph 1176 struct tcphdr tcph; local 1280 struct tcphdr tcph; local [all...] |
/illumos-gate/usr/src/uts/common/inet/ilb/ |
H A D | ilb.c | 1670 tcpha_t *tcph; local 1691 tcph = (tcpha_t *)tph; 1692 sport = tcph->tha_lport; 1693 dport = tcph->tha_fport;
|
/illumos-gate/usr/src/uts/common/io/mac/ |
H A D | mac_flow.c | 2329 struct tcphdr *tcph = (struct tcphdr *)l4_start; local 2331 if (PKT_TOO_SMALL(s, l4_start + sizeof (*tcph))) 2334 l4info->l4_src_port = tcph->th_sport; 2335 l4info->l4_dst_port = tcph->th_dport;
|