/illumos-gate/usr/src/uts/common/inet/ |
H A D | tcp_sig.h | 71 extern bool tcpsig_signature(mblk_t *, tcp_t *, tcpha_t *, int, uint8_t *, 73 extern bool tcpsig_verify(mblk_t *, tcp_t *, tcpha_t *, ip_recv_attr_t *,
|
H A D | tcp.h | 113 #define TCP_MAX_TCP_OPTIONS_LENGTH (60 - sizeof (tcpha_t)) 123 (n) += TCP_HDR_LENGTH((tcpha_t *)&(mp)->b_rptr[(n)]) 136 } tcpha_t; typedef 370 tcpha_t *tcp_tcpha; /* TCP header in conn_ht_iphc */
|
H A D | ipclassifier.h | 717 conn_t *ipcl_tcp_lookup_reversed_ipv4(ipha_t *, tcpha_t *, int, ip_stack_t *); 718 conn_t *ipcl_tcp_lookup_reversed_ipv6(ip6_t *, tcpha_t *, int, uint_t, 730 conn_t *ipcl_conn_tcp_lookup_reversed_ipv4(conn_t *, ipha_t *, tcpha_t *, 732 conn_t *ipcl_conn_tcp_lookup_reversed_ipv6(conn_t *, ip6_t *, tcpha_t *,
|
H A D | tcp_impl.h | 707 extern void tcp_fuse(tcp_t *, uchar_t *, tcpha_t *); 749 extern int tcp_parse_options(tcpha_t *, tcp_opt_t *); 817 uint32_t, int, tcpha_t *, ip_recv_attr_t *);
|
/illumos-gate/usr/src/uts/common/inet/ilb/ |
H A D | ilb_nat.c | 427 orig_sport = &((tcpha_t *)tph)->tha_lport; in ilb_full_nat() 428 orig_dport = &((tcpha_t *)tph)->tha_fport; in ilb_full_nat() 429 tp_cksum = &((tcpha_t *)tph)->tha_sum; in ilb_full_nat() 499 orig_port = &((tcpha_t *)tph)->tha_fport; in ilb_half_nat() 501 orig_port = &((tcpha_t *)tph)->tha_lport; in ilb_half_nat() 502 tp_cksum = &((tcpha_t *)tph)->tha_sum; in ilb_half_nat()
|
H A D | ilb.c | 1670 tcpha_t *tcph; in ilb_check() 1693 tcph = (tcpha_t *)tph; in ilb_check()
|
H A D | ilb_conn.c | 698 update_conn_tcp(ilb_conn_t *connp, void *iph, tcpha_t *tcpha, int32_t pkt_len, in update_conn_tcp()
|
/illumos-gate/usr/src/uts/common/inet/tcp/ |
H A D | tcp_output.c | 1104 tcpha_t *tcpha; in tcp_output() 1370 tcpha = (tcpha_t *)(rptr + ixa->ixa_ip_hdr_length); in tcp_output() 1823 tcpha_t *tcpha; in tcp_send() 2187 tcpha = (tcpha_t *)(rptr + in tcp_send() 2372 tcpha_t *tcpha; in tcp_xmit_ctl() 2415 tcpha = (tcpha_t *)&rptr[ip_hdr_len]; in tcp_xmit_ctl() 2521 tcpha_t *tcpha; in tcp_xmit_early_reset() 2635 tcpha = (tcpha_t *)&mp->b_rptr[ip_hdr_len]; in tcp_xmit_early_reset() 2641 len = ip_hdr_len + sizeof (tcpha_t); in tcp_xmit_early_reset() 2678 tcpha->tha_sum = htons(sizeof (tcpha_t)); in tcp_xmit_early_reset() [all …]
|
H A D | tcp_fusion.c | 84 tcp_fuse(tcp_t *tcp, uchar_t *iphdr, tcpha_t *tcpha) in tcp_fuse() 556 tcpha_t *tcpha; in tcp_fuse_output() 562 tcpha = (tcpha_t *)&mp1->b_rptr[ip_hdr_len]; in tcp_fuse_output() 563 ASSERT((uchar_t *)tcpha + sizeof (tcpha_t) <= in tcp_fuse_output()
|
H A D | tcp_input.c | 168 static boolean_t tcp_process_options(mblk_t *mp, tcp_t *, tcpha_t *, 362 tcp_parse_options(tcpha_t *tcpha, tcp_opt_t *tcpopt) in tcp_parse_options() 546 tcp_process_options(mblk_t *mp, tcp_t *tcp, tcpha_t *tcpha, ip_recv_attr_t *ira, in tcp_process_options() 1440 tcpha_t *tcpha; in tcp_input_listener() 1458 tcpha = (tcpha_t *)&mp->b_rptr[ip_hdr_len]; in tcp_input_listener() 2252 tcpha_t *tcpha; in tcp_ack_mp() 2288 tcpha = (tcpha_t *)&rptr[ixa->ixa_ip_hdr_length]; in tcp_ack_mp() 2501 tcpha_t *tcpha; in tcp_input_data() 2558 tcpha = (tcpha_t *)&rptr[ip_hdr_len]; in tcp_input_data() 2625 tcpha = (tcpha_t *)&rptr[ip_hdr_len]; in tcp_input_data() [all …]
|
H A D | tcp_tunables.c | 36 #define TCP_MSS_MAX_IPV4 (IP_MAXPACKET - (sizeof (ipha_t) + sizeof (tcpha_t))) 37 #define TCP_MSS_MAX_IPV6 (IP_MAXPACKET - (sizeof (ip6_t) + sizeof (tcpha_t)))
|
H A D | tcp_sig.c | 1250 tcpsig_signature(mblk_t *mp, tcp_t *tcp, tcpha_t *tcpha, int tcplen, in tcpsig_signature() 1324 tcpsig_verify(mblk_t *mp, tcp_t *tcp, tcpha_t *tcpha, ip_recv_attr_t *ira, in tcpsig_verify()
|
H A D | tcp_time_wait.c | 599 uint32_t seg_ack, int seg_len, tcpha_t *tcpha, ip_recv_attr_t *ira) in tcp_time_wait_processing()
|
H A D | tcp.c | 2900 tcpha_t *tcpha; in tcp_build_hdrs() 2928 tcpha = (tcpha_t *)connp->conn_ht_ulp; in tcp_build_hdrs() 2949 cksum = sizeof (tcpha_t) + connp->conn_sum; in tcp_build_hdrs()
|
/illumos-gate/usr/src/stand/lib/tcp/ |
H A D | tcp_inet.h | 108 } tcpha_t; typedef
|
H A D | tcp.c | 294 static tcp_t *tcp_lookup_ipv4(struct ip *, tcpha_t *, int, int *); 1801 tcpha_t *tcph; in tcp_verify_cksum() 1806 tcph = (tcpha_t *)(iph + 1); in tcp_verify_cksum() 1828 tcp_lookup_ipv4(struct ip *iph, tcpha_t *tcph, int min_state, int *sock_id) in tcp_lookup_ipv4() 1885 tcp_lookup_eager_ipv4(tcp_t *listener, struct ip *iph, tcpha_t *tcph) in tcp_lookup_eager_ipv4() 2616 tcpha_t *tcph; in tcp_rput_data() 2657 tcph = (tcpha_t *)&rptr[ip_hdr_len]; in tcp_rput_data() 6213 tcpha_t *tcph; in tcp_set_cksum() 6217 tcph = (tcpha_t *)(iph + 1); in tcp_set_cksum()
|
/illumos-gate/usr/src/uts/common/inet/ip/ |
H A D | ipclassifier.c | 1686 tcpha_t *tcpha; in ipcl_classify_v6() 1697 tcpha = (tcpha_t *)&mp->b_rptr[hdr_len]; in ipcl_classify_v6() 2396 ipcl_conn_tcp_lookup_reversed_ipv4(conn_t *connp, ipha_t *ipha, tcpha_t *tcpha, in ipcl_conn_tcp_lookup_reversed_ipv4() 2446 ipcl_conn_tcp_lookup_reversed_ipv6(conn_t *connp, ip6_t *ip6h, tcpha_t *tcpha, in ipcl_conn_tcp_lookup_reversed_ipv6() 2499 ipcl_tcp_lookup_reversed_ipv4(ipha_t *ipha, tcpha_t *tcpha, int min_state, in ipcl_tcp_lookup_reversed_ipv4() 2538 ipcl_tcp_lookup_reversed_ipv6(ip6_t *ip6h, tcpha_t *tcpha, int min_state, in ipcl_tcp_lookup_reversed_ipv6()
|
H A D | ip6.c | 590 tcpha_t *tcpha; in icmp_inbound_verify_v6() 600 tcpha = (tcpha_t *)((uchar_t *)ip6h + hdr_length); in icmp_inbound_verify_v6() 764 tcpha_t *tcpha; in icmp_inbound_error_fanout_v6() 807 tcpha = (tcpha_t *)((uchar_t *)ip6h + hdr_length); in icmp_inbound_error_fanout_v6()
|
H A D | ipsecesp.c | 675 tcpha_t *tcpha; in esp_fix_natt_checksums() 682 tcpha = (tcpha_t *)(data_mp->b_rptr + in esp_fix_natt_checksums()
|
H A D | ip.c | 1791 tcpha_t *tcpha; in icmp_inbound_verify_v4() 1801 tcpha = (tcpha_t *)((uchar_t *)ipha + hdr_length); in icmp_inbound_verify_v4() 2076 tcpha_t *tcpha; in icmp_inbound_error_fanout_v4() 2126 tcpha = (tcpha_t *)((uchar_t *)ipha + hdr_length); in icmp_inbound_error_fanout_v4()
|
/illumos-gate/usr/src/cmd/mdb/common/modules/smbsrv/ |
H A D | smbsrv_pcap.c | 215 tcpha_t tcp_hdr; in smbsrv_pcap_dump()
|
/illumos-gate/usr/src/cmd/dtrace/demo/ip/ |
H A D | tcprst.d | 79 self->tcph = (tcpha_t *)((char *)self->iph + this->iph_length);
|
/illumos-gate/usr/src/uts/common/io/vioif/ |
H A D | vioif.c | 1319 tcpha_t *tcpha; in vioif_send() 1354 tcpha = (tcpha_t *)(pullmp->b_rptr + meo.meoi_l2hlen + in vioif_send() 1357 tcpha = (tcpha_t *)(mp->b_rptr + meo.meoi_l2hlen + in vioif_send()
|