| /NetX-Duo-v6.2.1/common/src/ |
| D | nx_ipv6_process_hop_by_hop_option.c | 86 NX_IPV6_HOP_BY_HOP_OPTION *option; in _nx_ipv6_process_hop_by_hop_option() local 122 option = (NX_IPV6_HOP_BY_HOP_OPTION *)(packet_ptr -> nx_packet_prepend_ptr + offset); in _nx_ipv6_process_hop_by_hop_option() 124 …_nx_ipv6_option_error(ip_ptr, packet_ptr, option -> nx_ipv6_hop_by_hop_option_type, offset_base + … in _nx_ipv6_process_hop_by_hop_option() 133 option = (NX_IPV6_HOP_BY_HOP_OPTION *)(packet_ptr -> nx_packet_prepend_ptr + offset); in _nx_ipv6_process_hop_by_hop_option() 135 switch (option -> nx_ipv6_hop_by_hop_option_type) in _nx_ipv6_process_hop_by_hop_option() 149 offset += ((UINT)(option -> nx_ipv6_hop_by_hop_length) + 2); in _nx_ipv6_process_hop_by_hop_option() 150 header_length -= ((INT)(option -> nx_ipv6_hop_by_hop_length) + 2); in _nx_ipv6_process_hop_by_hop_option() 159 offset += ((UINT)(option -> nx_ipv6_hop_by_hop_length) + 2); in _nx_ipv6_process_hop_by_hop_option() 160 header_length -= ((INT)(option -> nx_ipv6_hop_by_hop_length) + 2); in _nx_ipv6_process_hop_by_hop_option() 167 …rv = _nx_ipv6_option_error(ip_ptr, packet_ptr, option -> nx_ipv6_hop_by_hop_option_type, offset_ba… in _nx_ipv6_process_hop_by_hop_option() [all …]
|
| D | nx_icmpv6_validate_options.c | 77 UINT _nx_icmpv6_validate_options(NX_ICMPV6_OPTION *option, INT length, INT additional_check) in _nx_icmpv6_validate_options() argument 86 if (option -> nx_icmpv6_option_length == 0) in _nx_icmpv6_validate_options() 93 (option -> nx_icmpv6_option_type == 1)) in _nx_icmpv6_validate_options() 100 option_len = ((UINT)option -> nx_icmpv6_option_length) << 3; in _nx_icmpv6_validate_options() 104 option = (NX_ICMPV6_OPTION *)NX_UCHAR_POINTER_ADD(option, option_len); in _nx_icmpv6_validate_options()
|
| D | nx_ipv6_process_routing_option.c | 80 NX_IPV6_HEADER_ROUTING_OPTION *option; in _nx_ipv6_process_routing_option() local 97 option = (NX_IPV6_HEADER_ROUTING_OPTION *)(packet_ptr -> nx_packet_prepend_ptr); in _nx_ipv6_process_routing_option() 99 if (option -> nx_ipv6_header_routing_option_segments_left == 0) in _nx_ipv6_process_routing_option()
|
| D | nx_ip_dispatch_process.c | 635 NX_IPV6_HEADER_OPTION *option; in _nx_ip_dispatch_process() local 657 option = (NX_IPV6_HEADER_OPTION *)packet_ptr -> nx_packet_prepend_ptr; in _nx_ip_dispatch_process() 671 option_hdr_len = (ULONG)((option -> nx_ipv6_header_option_ext_length + 1) << 3); in _nx_ip_dispatch_process() 675 protocol = option -> nx_ipv6_header_option_next_header; in _nx_ip_dispatch_process()
|
| /NetX-Duo-v6.2.1/test/regression/dhcp_test/ |
| D | netx_dhcp_clone_function.c | 7 UINT dhcp_get_option_value(UCHAR *bootp_message, UINT option, ULONG *value, UINT length) in dhcp_get_option_value() argument 14 if ((option != NX_DHCP_OPTION_PAD) && (option != NX_DHCP_OPTION_END)) in dhcp_get_option_value() 18 data = dhcp_search_buffer(bootp_message, option, length); in dhcp_get_option_value() 29 if (option == NX_DHCP_OPTION_GATEWAYS) in dhcp_get_option_value() 58 UCHAR *dhcp_search_buffer(UCHAR *bootp_message, UINT option, UINT length) in dhcp_search_buffer() argument 82 else if (*data == option) in dhcp_search_buffer()
|
| D | netx_dhcp_clone_function.h | 4 UINT dhcp_get_option_value(UCHAR *bootp_message, UINT option, ULONG *value, UINT length); 5 UCHAR *dhcp_search_buffer(UCHAR *bootp_message, UINT option, UINT length);
|
| D | netx_dhcpv6_client_process_server_duid_test.c | 37 extern UINT _nx_dhcpv6_utility_get_block_option_length(UCHAR *buffer_ptr, ULONG *option, ULONG *len…
|
| /NetX-Duo-v6.2.1/test/regression/bsd_test/ |
| D | netx_bsd_raw_basic_rx_nohdr_blocking_test.c | 128 int option; in test_raw_server_ipv4() local 135 option = 1; in test_raw_server_ipv4() 137 ret = setsockopt(sockfd, IPPROTO_IP, IP_RAW_RX_NO_HEADER, (void*)&option, sizeof(option)); in test_raw_server_ipv4() 184 int option; in test_raw_server_ipv6() local 191 option = 1; in test_raw_server_ipv6() 193 ret = setsockopt(sockfd, IPPROTO_IP, IP_RAW_RX_NO_HEADER, (void*)&option, sizeof(option)); in test_raw_server_ipv6()
|
| D | netx_bsd_raw_rx_nohdr_basic_blocking_test.c | 128 int option; in test_raw_server_ipv4() local 135 option = 1; in test_raw_server_ipv4() 137 status = setsockopt(sockfd, IPPROTO_IP, IP_RAW_RX_NO_HEADER, (void*)&option, sizeof(option)); in test_raw_server_ipv4() 184 int option; in test_raw_server_ipv6() local 191 option = 1; in test_raw_server_ipv6() 193 status = setsockopt(sockfd, IPPROTO_IP, IP_RAW_RX_NO_HEADER, (void*)&option, sizeof(option)); in test_raw_server_ipv6()
|
| D | netx_bsd_raw_ping_test.c | 132 int option; in ntest_0_entry() local 152 option = 1; in ntest_0_entry() 153 ret = setsockopt(sockfd, IPPROTO_IP, IP_RAW_RX_NO_HEADER, (void*)&option, sizeof(option)); in ntest_0_entry()
|
| D | netx_bsd_raw_basic_rx_nohdr_nonblocking_test.c | 137 int option; in test_raw_server4() local 145 option = 1; in test_raw_server4() 147 ret = setsockopt(sockfd, IPPROTO_IP, IP_RAW_RX_NO_HEADER, (void*)&option, sizeof(option)); in test_raw_server4() 226 int option; in test_raw_server_ipv6() local 238 option = 1; in test_raw_server_ipv6() 240 ret = setsockopt(sockfd, IPPROTO_IP, IP_RAW_RX_NO_HEADER, (void*)&option, sizeof(option)); in test_raw_server_ipv6()
|
| D | netx_bsd_tcp_rcvbuf_test.c | 276 struct sock_winsize option; in test_tcp_client4() local 297 option.winsize = 0x10000; in test_tcp_client4() 298 if(setsockopt(sockfd, SOL_SOCKET, SO_RCVBUF, &option, sizeof(option)) < 0) in test_tcp_client4() 356 struct sock_winsize option; in test_tcp_server4() local 389 option.winsize = 0x10000; in test_tcp_server4() 390 if(setsockopt(newsock, SOL_SOCKET, SO_RCVBUF, &option, sizeof(option)) < 0) in test_tcp_server4() 452 struct sock_winsize option; in test_tcp_client6() local 469 option.winsize = 0x10000; in test_tcp_client6() 470 if(setsockopt(sockfd, SOL_SOCKET, SO_RCVBUF, &option, sizeof(option)) < 0) in test_tcp_client6() 496 struct sock_winsize option; in test_tcp_server6() local [all …]
|
| /NetX-Duo-v6.2.1/test/regression/netxduo_test/ |
| D | netx_12_02_test.c | 293 UCHAR *option; in my_packet_process_12_02() local 312 option = packet_ptr -> nx_packet_prepend_ptr + 40; in my_packet_process_12_02() 315 *(ULONG*)option = NX_TCP_OPTION_END; in my_packet_process_12_02() 372 UCHAR *option; in my_tcp_packet_receive_12_02() local 381 option = packet_ptr -> nx_packet_prepend_ptr + 20; in my_tcp_packet_receive_12_02() 383 if(*(ULONG*)option == NX_TCP_OPTION_END) in my_tcp_packet_receive_12_02()
|
| /NetX-Duo-v6.2.1/addons/dhcp/ |
| D | nxd_dhcp_server.c | 58 static UINT _nx_dhcp_add_option(UCHAR *bootp_message, UINT option, UINT size, ULONG value, U… 59 …uested_option(NX_DHCP_SERVER *dhcp_ptr, UINT iface_index, UCHAR *buffer, UINT option, UINT *index); 2601 static UINT _nx_dhcp_parse_next_option(CHAR **option_list, UINT *option, UINT length) in _nx_dhcp_parse_next_option() argument 2612 if ((option_list == 0x0) || (option == 0) || (length == 0)) in _nx_dhcp_parse_next_option() 2622 *option = 999; in _nx_dhcp_parse_next_option() 2662 return(_nx_utility_string_to_uint(num_string, buffer_index, option)); in _nx_dhcp_parse_next_option() 5161 …process_option_data(NX_DHCP_CLIENT *dhcp_client_ptr, CHAR *buffer, UCHAR option, UINT get_option_d… in _nx_dhcp_process_option_data() argument 5179 switch (option) in _nx_dhcp_process_option_data() 5184 … dhcp_client_ptr -> nx_dhcp_user_options[dhcp_client_ptr -> nx_dhcp_client_option_count] = option; in _nx_dhcp_process_option_data() 5194 … dhcp_client_ptr -> nx_dhcp_user_options[dhcp_client_ptr -> nx_dhcp_client_option_count] = option; in _nx_dhcp_process_option_data() [all …]
|
| D | nxd_dhcp_client.c | 45 static UINT _nx_dhcp_get_option_value(UCHAR *bootp_message, UINT option, ULONG *value, UINT … 46 static UINT _nx_dhcp_add_option_value(UCHAR *bootp_message, UINT option, UINT size, ULONG va… 47 static UINT _nx_dhcp_add_option_string(UCHAR *bootp_message, UINT option, UINT size, UCHAR *… 51 static UCHAR *_nx_dhcp_search_buffer(UCHAR *option_message, UINT option, UINT length); 7679 static UINT _nx_dhcp_get_option_value(UCHAR *bootp_message, UINT option, ULONG *value, UINT length) in _nx_dhcp_get_option_value() argument 7695 data = _nx_dhcp_search_buffer(option_message, option, option_length); in _nx_dhcp_get_option_value() 7706 if (option == NX_DHCP_OPTION_GATEWAYS) in _nx_dhcp_get_option_value() 7779 UINT _nx_dhcp_add_option_value(UCHAR *bootp_message, UINT option, UINT size, ULONG value, UINT *in… in _nx_dhcp_add_option_value() argument 7784 *(bootp_message + (*index)) = (UCHAR)option; in _nx_dhcp_add_option_value() 7844 static UINT _nx_dhcp_add_option_string(UCHAR *bootp_message, UINT option, UINT size, UCHAR *value,… in _nx_dhcp_add_option_string() argument [all …]
|
| /NetX-Duo-v6.2.1/ |
| D | CMakeLists.txt | 8 option(NXD_ENABLE_FILE_SERVERS "Includes a dependency on FileX to support 'server' protocol handler… 9 option(NXD_ENABLE_AZURE_IOT "Enable Azure IoT" OFF)
|
| /NetX-Duo-v6.2.1/test/regression/tahi_test/ |
| D | netx_tahi.h | 79 UINT option; member
|
| D | netx_tahi_run_test_case.c | 287 UCHAR protocol, ULONG src_port, ULONG dst_port, UINT option) in perform_decrypt_check() argument 406 &data_offset, &egress_sa_ptr, option); in perform_decrypt_check() 849 …perform_check_v6request(ip_ptr,test_case[steps].protocol, test_case[steps].option, test_case[steps… in netx_tahi_run_test_case() 873 …se[steps].protocol, test_case[steps].src_port, test_case[steps].dst_port, test_case[steps].option); in netx_tahi_run_test_case() 881 …se[steps].protocol, test_case[steps].src_port, test_case[steps].dst_port, test_case[steps].option); in netx_tahi_run_test_case() 885 …se[steps].protocol, test_case[steps].src_port, test_case[steps].dst_port, test_case[steps].option); in netx_tahi_run_test_case()
|
| /NetX-Duo-v6.2.1/test/cmake/azure_iot/configs/ |
| D | win32.cmake | 14 # this makes the test compiles use static library option so that we don't need to pre-set linker fl…
|
| D | linux.cmake | 30 # this makes the test compiles use static library option so that we don't need to pre-set linker fl…
|
| /NetX-Duo-v6.2.1/test/regression/mdns_test/ |
| D | netx_mdns_test.h | 104 UINT option; member
|
| /NetX-Duo-v6.2.1/addons/azure_iot/samples/ |
| D | README.md | 10 …ormat **HostName=<>;DeviceId=<>;SharedAccessKey=<>**. Add following macros to your compiler option. 33 …llowing format **HostName=<>;DeviceId=<>;x509=true**. Add following macros to your compiler option. 104 …he-portal) with Symmetric key. After completion, update following macros to your compiler option. 120 …-in-the-portal) with X509 cert. After completion, update following macros to your compiler option.
|
| /NetX-Duo-v6.2.1/cmake/ |
| D | arm-none-eabi.cmake | 15 # this makes the test compiles use static library option so that we don't need to pre-set linker fl…
|
| /NetX-Duo-v6.2.1/docs/ |
| D | revision_history.txt | 140 … Validated option after SEQ and ACK are checked. 141 … nx_tcp_socket_packet_process.c Validated option after SEQ and ACK are checked. 809 … nx_ipv6_fragment_process.c Cleared reserved field in fragment option. 818 …h Added NX_DISABLE_ICMPV4_ERROR_MESSAGE configuration option 965 Files are modified to return NX_NOT_SUPPORTED when related compiler option is not enabled: 1272 Files are modified to send TCP reset message when receive an illegal TCP option: 1986 … fixed a bug that NX_DISABLE_IP_TX_CHECKSUM option was ignored. 2046 nx_tcp_mss_option_get.c Fixed endless loop when option length is not set. 2452 Files changed to support per-socket keepalive option: 2527 …nx_icmpv6_perform_DAD.c Added an option that allows caller to specify an IPv6 addres… [all …]
|
| /NetX-Duo-v6.2.1/common/inc/ |
| D | nx_icmpv6.h | 394 UINT _nx_icmpv6_validate_options(NX_ICMPV6_OPTION *option, INT length, INT additional_check);
|