Lines Matching refs:socket_ptr

85 VOID  _nx_tcp_packet_send_syn(NX_TCP_SOCKET *socket_ptr, ULONG tx_sequence)  in _nx_tcp_packet_send_syn()  argument
105 if (socket_ptr -> nx_tcp_socket_connect_ip.nxd_ip_version == NX_IP_VERSION_V4) in _nx_tcp_packet_send_syn()
108 …src_addr.nxd_ip_address.v4 = socket_ptr -> nx_tcp_socket_connect_interface -> nx_interface_ip_addr… in _nx_tcp_packet_send_syn()
113 if (socket_ptr -> nx_tcp_socket_connect_ip.nxd_ip_version == NX_IP_VERSION_V6) in _nx_tcp_packet_send_syn()
117 …COPY_IPV6_ADDRESS(socket_ptr -> nx_tcp_socket_ipv6_addr -> nxd_ipv6_address, src_addr.nxd_ip_addre… in _nx_tcp_packet_send_syn()
122 …if (socket_ptr -> nx_tcp_socket_ip_ptr -> nx_ip_packet_egress_sa_lookup != NX_NULL) … in _nx_tcp_packet_send_syn()
126 …ret = socket_ptr -> nx_tcp_socket_ip_ptr -> nx_ip_packet_egress_sa_lookup(socket_ptr -> nx_tcp_soc… in _nx_tcp_packet_send_syn()
128 … &socket_ptr -> nx_tcp_socket_connect_ip, /* dest_addr */ in _nx_tcp_packet_send_syn()
130socket_ptr -> nx_tcp_socket_port, /* src_port */ in _nx_tcp_packet_send_syn()
131socket_ptr -> nx_tcp_socket_connect_port, /* dest_port */ in _nx_tcp_packet_send_syn()
137 socket_ptr -> nx_tcp_socket_egress_sa = cur_sa_ptr; in _nx_tcp_packet_send_syn()
138 socket_ptr -> nx_tcp_socket_egress_sa_data_offset = data_offset; in _nx_tcp_packet_send_syn()
149 socket_ptr -> nx_tcp_socket_egress_sa = NX_NULL; in _nx_tcp_packet_send_syn()
150 socket_ptr -> nx_tcp_socket_egress_sa_data_offset = 0; in _nx_tcp_packet_send_syn()
155 socket_ptr -> nx_tcp_socket_egress_sa = NX_NULL; in _nx_tcp_packet_send_syn()
161 if (socket_ptr -> nx_tcp_socket_connect_ip.nxd_ip_version == NX_IP_VERSION_V4) in _nx_tcp_packet_send_syn()
163 …mss = (ULONG)((socket_ptr -> nx_tcp_socket_connect_interface -> nx_interface_ip_mtu_size - sizeof(… in _nx_tcp_packet_send_syn()
201 if (socket_ptr -> nx_tcp_socket_connect_ip.nxd_ip_version == NX_IP_VERSION_V6) in _nx_tcp_packet_send_syn()
203 …mss = (ULONG)((socket_ptr -> nx_tcp_socket_connect_interface -> nx_interface_ip_mtu_size - sizeof(… in _nx_tcp_packet_send_syn()
241 if ((socket_ptr -> nx_tcp_socket_mss < mss) && socket_ptr -> nx_tcp_socket_mss) in _nx_tcp_packet_send_syn()
245 mss = socket_ptr -> nx_tcp_socket_mss; in _nx_tcp_packet_send_syn()
248 if (socket_ptr -> nx_tcp_socket_state == NX_TCP_SYN_RECEIVED) in _nx_tcp_packet_send_syn()
252 if (mss < socket_ptr -> nx_tcp_socket_peer_mss) in _nx_tcp_packet_send_syn()
254 socket_ptr -> nx_tcp_socket_connect_mss = mss; in _nx_tcp_packet_send_syn()
258 socket_ptr -> nx_tcp_socket_connect_mss = socket_ptr -> nx_tcp_socket_peer_mss; in _nx_tcp_packet_send_syn()
262 socket_ptr -> nx_tcp_socket_connect_mss2 = in _nx_tcp_packet_send_syn()
263 socket_ptr -> nx_tcp_socket_connect_mss * socket_ptr -> nx_tcp_socket_connect_mss; in _nx_tcp_packet_send_syn()
269 socket_ptr -> nx_tcp_socket_connect_mss = mss; in _nx_tcp_packet_send_syn()
280 if (socket_ptr -> nx_tcp_socket_state == NX_TCP_SYN_SENT) in _nx_tcp_packet_send_syn()
284 else if (socket_ptr -> nx_tcp_snd_win_scale_value != 0xFF) in _nx_tcp_packet_send_syn()
299 if ((socket_ptr -> nx_tcp_socket_rx_window_current >> scale_factor) < 65536) in _nx_tcp_packet_send_syn()
309 socket_ptr -> nx_tcp_socket_rx_window_default = (1 << 30) - 1; in _nx_tcp_packet_send_syn()
310 socket_ptr -> nx_tcp_socket_rx_window_current = (1 << 30) - 1; in _nx_tcp_packet_send_syn()
316 socket_ptr -> nx_tcp_rcv_win_scale_value = scale_factor; in _nx_tcp_packet_send_syn()
321 if (socket_ptr -> nx_tcp_socket_state == NX_TCP_SYN_SENT) in _nx_tcp_packet_send_syn()
323 _nx_tcp_packet_send_control(socket_ptr, NX_TCP_SYN_BIT, tx_sequence, in _nx_tcp_packet_send_syn()
328 _nx_tcp_packet_send_control(socket_ptr, (NX_TCP_SYN_BIT | NX_TCP_ACK_BIT), tx_sequence, in _nx_tcp_packet_send_syn()
329socket_ptr -> nx_tcp_socket_rx_sequence, option_word_1, option_word_2, NX_NULL); in _nx_tcp_packet_send_syn()
333 socket_ptr -> nx_tcp_socket_tx_sequence_recover = tx_sequence; in _nx_tcp_packet_send_syn()
334 socket_ptr -> nx_tcp_socket_previous_highest_ack = tx_sequence; in _nx_tcp_packet_send_syn()