/NetX-Duo-v6.2.1/common/src/ |
D | nx_ip_route_find.c | 92 …NX_IP *ip_ptr, ULONG destination_address, NX_INTERFACE **ip_interface_ptr, ULONG *next_hop_address) in _nx_ip_route_find() argument 99 *next_hop_address = 0; in _nx_ip_route_find() 106 *next_hop_address = destination_address; in _nx_ip_route_find() 152 *next_hop_address = destination_address; in _nx_ip_route_find() 195 *next_hop_address = ip_ptr -> nx_ip_routing_table[i].nx_ip_routing_next_hop_address; in _nx_ip_route_find() 235 *next_hop_address = destination_address; in _nx_ip_route_find() 256 *next_hop_address = destination_address; in _nx_ip_route_find() 275 *next_hop_address = destination_address; in _nx_ip_route_find() 310 *next_hop_address = ip_ptr -> nx_ip_gateway_address; in _nx_ip_route_find() 326 *next_hop_address = destination_address; in _nx_ip_route_find() [all …]
|
D | nx_ipv6_packet_send.c | 292 ULONG next_hop_address[4]; in _nx_ipv6_packet_send() local 294 SET_UNSPECIFIED_ADDRESS(next_hop_address); in _nx_ipv6_packet_send() 308 COPY_IPV6_ADDRESS(dest_address, next_hop_address); in _nx_ipv6_packet_send() 312 … next_hop_address, if_ptr -> nx_interface_ip_mtu_size, in _nx_ipv6_packet_send() 323 …else if (_nxd_ipv6_router_lookup(ip_ptr, if_ptr, next_hop_address, /*lint -e{929}*/ (void **)&NDCa… in _nx_ipv6_packet_send() 327 … next_hop_address, if_ptr -> nx_interface_ip_mtu_size, in _nx_ipv6_packet_send() 355 … COPY_IPV6_ADDRESS(dest_entry_ptr -> nx_ipv6_destination_entry_next_hop, next_hop_address); in _nx_ipv6_packet_send() 389 … status = _nx_icmpv6_dest_table_find(ip_ptr, next_hop_address, &next_hop_dest_entry_ptr, 0, 0); in _nx_ipv6_packet_send() 454 _nx_icmpv6_send_ns(ip_ptr, next_hop_address, in _nx_ipv6_packet_send()
|
D | nx_icmp_ping.c | 83 ULONG next_hop_address; in _nx_icmp_ping() local 88 if (_nx_ip_route_find(ip_ptr, ip_address, &interface_ptr, &next_hop_address) != NX_SUCCESS) in _nx_icmp_ping() 101 return(_nx_icmp_interface_ping(ip_ptr, ip_address, interface_ptr, next_hop_address, in _nx_icmp_ping()
|
D | nx_arp_dynamic_entry_set.c | 95 ULONG next_hop_address; in _nx_arp_dynamic_entry_set() local 101 next_hop_address = 0; in _nx_arp_dynamic_entry_set() 104 if (_nx_ip_route_find(ip_ptr, ip_address, &nx_interface, &next_hop_address) != NX_SUCCESS) in _nx_arp_dynamic_entry_set() 111 if (next_hop_address != ip_address) in _nx_arp_dynamic_entry_set()
|
D | nx_ip_raw_packet_send.c | 85 ULONG next_hop_address = NX_NULL; in _nx_ip_raw_packet_send() local 97 …tion_ip, &packet_ptr -> nx_packet_address.nx_packet_interface_ptr, &next_hop_address) != NX_SUCCES… in _nx_ip_raw_packet_send() 111 …estination_ip, type_of_service, NX_IP_TIME_TO_LIVE, NX_IP_RAW, NX_FRAGMENT_OKAY, next_hop_address); in _nx_ip_raw_packet_send()
|
D | nxd_icmp_source_ping.c | 92 ULONG next_hop_address; in _nxd_icmp_source_ping() local 104 … _nx_ip_route_find(ip_ptr, ip_address -> nxd_ip_address.v4, &interface_ptr, &next_hop_address); in _nxd_icmp_source_ping() 107 …= _nx_icmp_interface_ping(ip_ptr, ip_address -> nxd_ip_address.v4, interface_ptr, next_hop_address, in _nxd_icmp_source_ping()
|
D | nx_ip_raw_packet_source_send.c | 84 ULONG next_hop_address; in _nx_ip_raw_packet_source_send() local 96 …_ptr, destination_ip, &packet_ptr -> nx_packet_address.nx_packet_interface_ptr, &next_hop_address); in _nx_ip_raw_packet_source_send() 103 …estination_ip, type_of_service, NX_IP_TIME_TO_LIVE, NX_IP_RAW, NX_FRAGMENT_OKAY, next_hop_address); in _nx_ip_raw_packet_source_send()
|
D | nx_ip_forward_packet_process.c | 87 ULONG next_hop_address = 0; in _nx_ip_forward_packet_process() local 130 …ip_header_ptr -> nx_ip_header_destination_ip, &outgoing_interface, &next_hop_address) == NX_SUCCES… in _nx_ip_forward_packet_process() 271 … _nx_ip_driver_packet_send(ip_ptr, packet_ptr, destination_ip, fragment_bit, next_hop_address); in _nx_ip_forward_packet_process() 282 …ip_fragment_forward_packet(ip_ptr, packet_ptr, destination_ip, NX_FRAGMENT_OKAY, next_hop_address); in _nx_ip_forward_packet_process()
|
D | nx_icmpv6_send_queued_packets.c | 150 ULONG next_hop_address[4]; in _nx_icmpv6_send_queued_packets() local 159 … COPY_IPV6_ADDRESS(dest_entry_ptr -> nx_ipv6_destination_entry_next_hop, next_hop_address); in _nx_icmpv6_send_queued_packets() 162 if (!CHECK_UNSPECIFIED_ADDRESS(&(next_hop_address[0]))) in _nx_icmpv6_send_queued_packets() 166 … status = _nx_icmpv6_dest_table_find(ip_ptr, next_hop_address, &next_hop_dest_entry_ptr, 0, 0); in _nx_icmpv6_send_queued_packets()
|
D | nxd_ip_raw_packet_source_send.c | 95 ULONG next_hop_address = NX_NULL; in _nxd_ip_raw_packet_source_send() local 119 …-> nxd_ip_address.v4, &packet_ptr -> nx_packet_address.nx_packet_interface_ptr, &next_hop_address); in _nxd_ip_raw_packet_source_send() 126 …_address.v4, (tos & 0xFF) << 16, (ttl & 0xFF), protocol << 16, NX_FRAGMENT_OKAY, next_hop_address); in _nxd_ip_raw_packet_source_send()
|
D | nx_ip_packet_send.c | 93 ULONG protocol, ULONG fragment, ULONG next_hop_address) in _nx_ip_packet_send() argument 362 if (next_hop_address == 0) in _nx_ip_packet_send() 373 …_ptr, destination_ip, &packet_ptr -> nx_packet_address.nx_packet_interface_ptr, &next_hop_address); in _nx_ip_packet_send() 378 …f ((packet_ptr -> nx_packet_address.nx_packet_interface_ptr == NX_NULL) || (next_hop_address == 0)) in _nx_ip_packet_send() 396 _nx_ip_driver_packet_send(ip_ptr, packet_ptr, destination_ip, fragment, next_hop_address); in _nx_ip_packet_send()
|
D | nx_arp_static_entry_create.c | 92 ULONG next_hop_address; in _nx_arp_static_entry_create() local 98 if (_nx_ip_route_find(ip_ptr, ip_address, &nx_interface, &next_hop_address) != NX_SUCCESS) in _nx_arp_static_entry_create() 105 if (next_hop_address != ip_address) in _nx_arp_static_entry_create()
|
D | nx_icmpv4_process_echo_request.c | 92 ULONG next_hop_address = NX_NULL; in _nx_icmpv4_process_echo_request() local 251 &next_hop_address); in _nx_icmpv4_process_echo_request() 264 … NX_IP_NORMAL, NX_IP_TIME_TO_LIVE, NX_IP_ICMP, NX_FRAGMENT_OKAY, next_hop_address); in _nx_icmpv4_process_echo_request()
|
D | nx_icmpv4_send_error_message.c | 102 ULONG next_hop_address = NX_NULL; in _nx_icmpv4_send_error_message() local 246 &next_hop_address); in _nx_icmpv4_send_error_message() 332 NX_IP_NORMAL, 255, NX_IP_ICMP, NX_FRAGMENT_OKAY, next_hop_address); in _nx_icmpv4_send_error_message()
|
D | nxd_udp_socket_send.c | 296 ULONG next_hop_address = 0; in _nxd_udp_socket_send() local 384 &next_hop_address); in _nxd_udp_socket_send() 627 next_hop_address); in _nxd_udp_socket_send()
|
D | nx_icmp_interface_ping.c | 97 NX_INTERFACE *interface_ptr, ULONG next_hop_address, in _nx_icmp_interface_ping() argument 361 … NX_IP_NORMAL, NX_IP_TIME_TO_LIVE, NX_IP_ICMP, NX_FRAGMENT_OKAY, next_hop_address); in _nx_icmp_interface_ping()
|
D | nx_ip_fragment_forward_packet.c | 83 …IP *ip_ptr, NX_PACKET *source_packet, ULONG destination_ip, ULONG fragment, ULONG next_hop_address) in _nx_ip_fragment_forward_packet() argument 372 … _nx_ip_driver_packet_send(ip_ptr, fragment_packet, destination_ip, fragment, next_hop_address); in _nx_ip_fragment_forward_packet()
|
D | nx_ip_driver_packet_send.c | 82 …NX_IP *ip_ptr, NX_PACKET *packet_ptr, ULONG destination_ip, ULONG fragment, ULONG next_hop_address) in _nx_ip_driver_packet_send() argument 178 destination_ip = next_hop_address; in _nx_ip_driver_packet_send()
|
/NetX-Duo-v6.2.1/test/regression/netxduo_test/ |
D | netx_ip_static_route_add_test.c | 81 ULONG next_hop_address; in ntest_0_entry() local 119 next_hop_address = IP_ADDRESS(1, 2, 3, 4); in ntest_0_entry() 126 status = nx_ip_static_route_add(&ip_0, network_address, network_mask, next_hop_address); in ntest_0_entry() 143 status = nx_ip_static_route_add(&ip_0, network_address, network_mask, next_hop_address); in ntest_0_entry() 156 status = nx_ip_static_route_add(&ip_0, network_address, network_mask, next_hop_address); in ntest_0_entry()
|
D | netx_ip_basic_test.c | 122 ULONG next_hop_address; in ntest_0_entry() local 134 _nx_ip_route_find(&ip_0, IP_ADDRESS(1, 2, 3, 2), &if_ptr, &next_hop_address); in ntest_0_entry() 138 (next_hop_address != IP_ADDRESS(1, 2, 3, 1))) in ntest_0_entry()
|
D | netx_ip_branch_test.c | 377 ULONG next_hop_address; in thread_0_entry() local 482 _nx_ip_route_find(&ip_0, IP_ADDRESS(224, 2, 3, 2), &if_ptr, &next_hop_address); in thread_0_entry() 487 _nx_ip_route_find(&ip_0, IP_ADDRESS(1, 2, 3, 4), &if_ptr, &next_hop_address); in thread_0_entry() 492 _nx_ip_route_find(&ip_0, IP_ADDRESS(169, 254, 3, 2), &if_ptr, &next_hop_address); in thread_0_entry() 498 _nx_ip_route_find(&ip_0, IP_ADDRESS(169, 254, 3, 2), &if_ptr, &next_hop_address); in thread_0_entry() 506 _nx_ip_route_find(&ip_0, IP_ADDRESS(169, 254, 3, 2), &if_ptr, &next_hop_address); in thread_0_entry() 513 _nx_ip_route_find(&ip_0, IP_ADDRESS(2, 3, 4, 5), &if_ptr, &next_hop_address); in thread_0_entry() 516 _nx_ip_route_find(&ip_0, IP_ADDRESS(2, 3, 4, 5), &if_ptr, &next_hop_address); in thread_0_entry()
|
/NetX-Duo-v6.2.1/addons/nat/ |
D | nx_nat.c | 63 …KET *packet_ptr, NX_NAT_TRANSLATION_ENTRY *entry_ptr, UCHAR packet_type, ULONG next_hop_address); 64 …ANSLATION_ENTRY *entry_ptr, NX_NAT_TRANSLATION_ENTRY **matched_entry_ptr, ULONG *next_hop_address); 65 …LATION_ENTRY *entry_ptr, NX_NAT_TRANSLATION_ENTRY **matched_entry_ptr, ULONG *next_hop_address); 1178 ULONG next_hop_address; in _nx_nat_process_packet() local 1309 …ptr, ip_header_ptr -> nx_ip_header_destination_ip, &interface_ptr, &next_hop_address) != NX_SUCCES… in _nx_nat_process_packet() 1512 ULONG next_hop_address; in _nx_nat_process_inbound_TCP_packet() local 1535 …tus = _nx_nat_inbound_entry_find(nat_ptr, packet_ptr, entry_ptr, &record_entry, &next_hop_address); in _nx_nat_process_inbound_TCP_packet() 1646 …nx_nat_ip_packet_send(nat_ptr, packet_ptr, record_entry, NX_NAT_INBOUND_PACKET, next_hop_address); in _nx_nat_process_inbound_TCP_packet() 1715 ULONG next_hop_address; in _nx_nat_process_inbound_UDP_packet() local 1735 …tus = _nx_nat_inbound_entry_find(nat_ptr, packet_ptr, entry_ptr, &record_entry, &next_hop_address); in _nx_nat_process_inbound_UDP_packet() [all …]
|
/NetX-Duo-v6.2.1/common/inc/ |
D | nx_ipv4.h | 159 …X_IP *ip_ptr, NX_PACKET *packet_ptr, ULONG destination_ip, ULONG fragment, ULONG next_hop_address); 160 …ULONG type_of_service, ULONG time_to_live, ULONG protocol, ULONG fragment, ULONG next_hop_address); 163 …X_IP *ip_ptr, NX_PACKET *packet_ptr, ULONG destination_ip, ULONG fragment, ULONG next_hop_address); 164 …NX_IP *ip_ptr, ULONG destination_address, NX_INTERFACE **nx_ip_interface, ULONG *next_hop_address);
|
D | nx_icmpv4.h | 237 NX_INTERFACE *interface_ptr, ULONG next_hop_address,
|
/NetX-Duo-v6.2.1/addons/BSD/ |
D | nxd_bsd.c | 12441 ULONG next_hop_address[4]; in _nxd_bsd_ipv6_packet_send() local 12443 SET_UNSPECIFIED_ADDRESS(next_hop_address); in _nxd_bsd_ipv6_packet_send() 12457 COPY_IPV6_ADDRESS(dest_addr, next_hop_address); in _nxd_bsd_ipv6_packet_send() 12461 … next_hop_address, if_ptr -> nx_interface_ip_mtu_size, in _nxd_bsd_ipv6_packet_send() 12470 …else if(_nxd_ipv6_router_lookup(ip_ptr, if_ptr, next_hop_address, (VOID**)&NDCacheEntry) == NX_SUC… in _nxd_bsd_ipv6_packet_send() 12474 … next_hop_address, if_ptr -> nx_interface_ip_mtu_size, in _nxd_bsd_ipv6_packet_send() 12483 …if(status || ((next_hop_address[0] == 0) && (next_hop_address[1] == 0) && (next_hop_address[2] == … in _nxd_bsd_ipv6_packet_send() 12515 … COPY_IPV6_ADDRESS(dest_entry_ptr -> nx_ipv6_destination_entry_next_hop, next_hop_address); in _nxd_bsd_ipv6_packet_send() 12556 … status = _nx_icmpv6_dest_table_find(ip_ptr, next_hop_address, &next_hop_dest_entry_ptr, 0, 0); in _nxd_bsd_ipv6_packet_send() 12661 _nx_icmpv6_send_ns(ip_ptr, next_hop_address, in _nxd_bsd_ipv6_packet_send()
|