Home
last modified time | relevance | path

Searched refs:mss (Results 1 – 11 of 11) sorted by relevance

/NetX-Duo-v6.3.0/common/src/
Dnx_tcp_packet_send_syn.c101 ULONG mss = 0; in _nx_tcp_packet_send_syn() local
164mss = (ULONG)((socket_ptr -> nx_tcp_socket_connect_interface -> nx_interface_ip_mtu_size - sizeof(… in _nx_tcp_packet_send_syn()
175 mss = mss - sizeof(NX_IPSEC_ESP_HEADER) - in _nx_tcp_packet_send_syn()
185 mss = mss - sizeof(NX_IPSEC_AUTHENTICATION_HEADER) - in _nx_tcp_packet_send_syn()
193 mss -= (sizeof(NX_IPV4_HEADER)); in _nx_tcp_packet_send_syn()
204mss = (ULONG)((socket_ptr -> nx_tcp_socket_connect_interface -> nx_interface_ip_mtu_size - sizeof(… in _nx_tcp_packet_send_syn()
215 mss = mss - sizeof(NX_IPSEC_ESP_HEADER) - in _nx_tcp_packet_send_syn()
225 mss = mss - sizeof(NX_IPSEC_AUTHENTICATION_HEADER) - in _nx_tcp_packet_send_syn()
233 mss -= (sizeof(NX_IPV6_HEADER)); in _nx_tcp_packet_send_syn()
240 mss &= 0x0000FFFFUL; in _nx_tcp_packet_send_syn()
[all …]
Dnx_tcp_socket_mss_get.c74 UINT _nx_tcp_socket_mss_get(NX_TCP_SOCKET *socket_ptr, ULONG *mss) in _nx_tcp_socket_mss_get() argument
94 *mss = socket_ptr -> nx_tcp_socket_mss; in _nx_tcp_socket_mss_get()
100 *mss = NX_TCP_MSS_SIZE; in _nx_tcp_socket_mss_get()
107 *mss = socket_ptr -> nx_tcp_socket_connect_mss; in _nx_tcp_socket_mss_get()
114 …NX_TRACE_IN_LINE_INSERT(NX_TRACE_TCP_SOCKET_MSS_GET, ip_ptr, socket_ptr, *mss, socket_ptr -> nx_tc… in _nx_tcp_socket_mss_get()
Dnx_tcp_mss_option_get.c78 UINT _nx_tcp_mss_option_get(UCHAR *option_ptr, ULONG option_area_size, ULONG *mss) in _nx_tcp_mss_option_get() argument
84 *mss = 0; in _nx_tcp_mss_option_get()
106 *mss = (ULONG)*option_ptr++; in _nx_tcp_mss_option_get()
109 *mss = (*mss << 8) | (ULONG)*option_ptr; in _nx_tcp_mss_option_get()
Dnxe_tcp_socket_mss_get.c78 UINT _nxe_tcp_socket_mss_get(NX_TCP_SOCKET *socket_ptr, ULONG *mss) in _nxe_tcp_socket_mss_get() argument
85 … if ((socket_ptr == NX_NULL) || (socket_ptr -> nx_tcp_socket_id != NX_TCP_ID) || (mss == NX_NULL)) in _nxe_tcp_socket_mss_get()
100 status = _nx_tcp_socket_mss_get(socket_ptr, mss); in _nxe_tcp_socket_mss_get()
Dnx_tcp_socket_mss_set.c76 UINT _nx_tcp_socket_mss_set(NX_TCP_SOCKET *socket_ptr, ULONG mss) in _nx_tcp_socket_mss_set() argument
85 if (mss == 0) in _nx_tcp_socket_mss_set()
99 socket_ptr -> nx_tcp_socket_mss = mss; in _nx_tcp_socket_mss_set()
Dnx_tcp_packet_process.c113 ULONG mss = 0; in _nx_tcp_packet_process() local
152 mss = 536; in _nx_tcp_packet_process()
172 mss = 1220; in _nx_tcp_packet_process()
278 …_ptr -> nx_packet_prepend_ptr + sizeof(NX_TCP_HEADER)), option_words * (ULONG)sizeof(ULONG), &mss); in _nx_tcp_packet_process()
292 if (mss == 0) in _nx_tcp_packet_process()
297 mss = 536; in _nx_tcp_packet_process()
304 mss = 1220; in _nx_tcp_packet_process()
394 socket_ptr -> nx_tcp_socket_peer_mss = mss; in _nx_tcp_packet_process()
396 … if ((mss > socket_ptr -> nx_tcp_socket_mss) && socket_ptr -> nx_tcp_socket_mss) in _nx_tcp_packet_process()
401 (socket_ptr -> nx_tcp_socket_connect_mss > mss)) in _nx_tcp_packet_process()
[all …]
Dnxe_tcp_socket_mss_set.c78 UINT _nxe_tcp_socket_mss_set(NX_TCP_SOCKET *socket_ptr, ULONG mss) in _nxe_tcp_socket_mss_set() argument
100 status = _nx_tcp_socket_mss_set(socket_ptr, mss); in _nxe_tcp_socket_mss_set()
Dnx_tcp_server_socket_relisten.c97 ULONG mss = 0; in _nx_tcp_server_socket_relisten() local
234 …_ptr -> nx_packet_prepend_ptr + sizeof(NX_TCP_HEADER)), option_words * (ULONG)sizeof(ULONG), &mss); in _nx_tcp_server_socket_relisten()
244 if (mss == 0) in _nx_tcp_server_socket_relisten()
249 mss = 536; in _nx_tcp_server_socket_relisten()
256 mss = 1220; in _nx_tcp_server_socket_relisten()
343 socket_ptr -> nx_tcp_socket_peer_mss = mss; in _nx_tcp_server_socket_relisten()
Dnx_tcp_socket_packet_process.c116 ULONG mss = 0; in _nx_tcp_socket_packet_process() local
309 header_length - (ULONG)sizeof(NX_TCP_HEADER), &mss)) in _nx_tcp_socket_packet_process()
/NetX-Duo-v6.3.0/common/inc/
Dnx_tcp.h271 UINT _nx_tcp_socket_mss_get(NX_TCP_SOCKET *socket_ptr, ULONG *mss);
273 UINT _nx_tcp_socket_mss_set(NX_TCP_SOCKET *socket_ptr, ULONG mss);
307 UINT _nx_tcp_mss_option_get(UCHAR *option_ptr, ULONG option_area_size, ULONG *mss);
386 UINT _nxe_tcp_socket_mss_get(NX_TCP_SOCKET *socket_ptr, ULONG *mss);
388 UINT _nxe_tcp_socket_mss_set(NX_TCP_SOCKET *socket_ptr, ULONG mss);
Dnx_api.h3762 UINT nx_tcp_socket_mss_get(NX_TCP_SOCKET *socket_ptr, ULONG *mss);
3764 UINT nx_tcp_socket_mss_set(NX_TCP_SOCKET *socket_ptr, ULONG mss);