Home
last modified time | relevance | path

Searched refs:destination_ip (Results 1 – 25 of 25) sorted by relevance

/NetX-Duo-v6.3.0/common/src/
Dnxde_ip_raw_packet_send.c92 NXD_ADDRESS *destination_ip, ULONG protocol, UINT ttl, ULONG tos) in _nxde_ip_raw_packet_send() argument
119 if (!destination_ip || ((destination_ip -> nxd_ip_version != NX_IP_VERSION_V6) && in _nxde_ip_raw_packet_send()
120 (destination_ip -> nxd_ip_version != NX_IP_VERSION_V4))) in _nxde_ip_raw_packet_send()
133 if (destination_ip -> nxd_ip_version == NX_IP_VERSION_V4) in _nxde_ip_raw_packet_send()
142 if (destination_ip -> nxd_ip_address.v4 == 0) in _nxde_ip_raw_packet_send()
150 if (destination_ip -> nxd_ip_version == NX_IP_VERSION_V6) in _nxde_ip_raw_packet_send()
159 if (CHECK_UNSPECIFIED_ADDRESS(&destination_ip -> nxd_ip_address.v6[0])) in _nxde_ip_raw_packet_send()
177 _nxd_ip_raw_packet_source_send(ip_ptr, packet_ptr, destination_ip, 0, protocol, ttl, tos); in _nxde_ip_raw_packet_send()
Dnxde_ip_raw_packet_source_send.c88 … NXD_ADDRESS *destination_ip, UINT address_index, ULONG protocol, UINT ttl, ULONG tos) in _nxde_ip_raw_packet_source_send() argument
94 if ((ip_ptr == NX_NULL) || (packet_ptr == NX_NULL) || (destination_ip == NX_NULL)) in _nxde_ip_raw_packet_source_send()
106 if ((destination_ip -> nxd_ip_version != NX_IP_VERSION_V4) && in _nxde_ip_raw_packet_source_send()
107 (destination_ip -> nxd_ip_version != NX_IP_VERSION_V6)) in _nxde_ip_raw_packet_source_send()
113 if (destination_ip -> nxd_ip_version == NX_IP_VERSION_V4) in _nxde_ip_raw_packet_source_send()
116 if (destination_ip -> nxd_ip_address.v4 == 0) in _nxde_ip_raw_packet_source_send()
137 if (destination_ip -> nxd_ip_version == NX_IP_VERSION_V6) in _nxde_ip_raw_packet_source_send()
142 if (CHECK_UNSPECIFIED_ADDRESS(&destination_ip -> nxd_ip_address.v6[0])) in _nxde_ip_raw_packet_source_send()
173 …status = _nxd_ip_raw_packet_source_send(ip_ptr, packet_ptr, destination_ip, address_index, protoco… in _nxde_ip_raw_packet_source_send()
Dnxd_ip_raw_packet_source_send.c88 NXD_ADDRESS *destination_ip, in _nxd_ip_raw_packet_source_send() argument
114 if (destination_ip -> nxd_ip_version == NX_IP_VERSION_V4) in _nxd_ip_raw_packet_source_send()
120 …_nx_ip_route_find(ip_ptr, destination_ip -> nxd_ip_address.v4, &packet_ptr -> nx_packet_address.nx… in _nxd_ip_raw_packet_source_send()
123 …NX_TRACE_IN_LINE_INSERT(NX_TRACE_IP_RAW_PACKET_SEND, ip_ptr, packet_ptr, destination_ip, 0, NX_TRA… in _nxd_ip_raw_packet_source_send()
127 …_nx_ip_packet_send(ip_ptr, packet_ptr, destination_ip -> nxd_ip_address.v4, (tos & 0xFF) << 16, (t… in _nxd_ip_raw_packet_source_send()
132 if (destination_ip -> nxd_ip_version == NX_IP_VERSION_V6) in _nxd_ip_raw_packet_source_send()
136 status = _nxd_ipv6_raw_packet_send_internal(ip_ptr, packet_ptr, destination_ip, protocol); in _nxd_ip_raw_packet_source_send()
Dnx_ip_driver_packet_send.c83 VOID _nx_ip_driver_packet_send(NX_IP *ip_ptr, NX_PACKET *packet_ptr, ULONG destination_ip, ULONG f… in _nx_ip_driver_packet_send() argument
116 if ((destination_ip == NX_IP_LIMITED_BROADCAST) || in _nx_ip_driver_packet_send()
117 (((destination_ip & network_mask) == network) && in _nx_ip_driver_packet_send()
118 ((destination_ip & ~network_mask) == ~network_mask))) in _nx_ip_driver_packet_send()
127 …else if (destination_ip == packet_ptr -> nx_packet_address.nx_packet_interface_ptr -> nx_interface… in _nx_ip_driver_packet_send()
133 else if ((destination_ip & NX_IP_CLASS_D_MASK) == NX_IP_CLASS_D_TYPE) in _nx_ip_driver_packet_send()
145 … if (ip_ptr -> nx_ipv4_multicast_entry[index].nx_ipv4_multicast_join_list == destination_ip) in _nx_ip_driver_packet_send()
170 …equest.nx_ip_driver_physical_address_lsw = NX_IP_MULTICAST_LOWER | (destination_ip & NX_IP_MULTIC… in _nx_ip_driver_packet_send()
179 destination_ip = next_hop_address; in _nx_ip_driver_packet_send()
182 index = (UINT)((destination_ip + (destination_ip >> 8)) & NX_ARP_TABLE_MASK); in _nx_ip_driver_packet_send()
[all …]
Dnx_ip_raw_packet_send.c82 ULONG destination_ip, ULONG type_of_service) in _nx_ip_raw_packet_send() argument
92 …NX_TRACE_IN_LINE_INSERT(NX_TRACE_IP_RAW_PACKET_SEND, ip_ptr, destination_ip, type_of_service, pack… in _nx_ip_raw_packet_send()
98 …if (_nx_ip_route_find(ip_ptr, destination_ip, &packet_ptr -> nx_packet_address.nx_packet_interface… in _nx_ip_raw_packet_send()
112 …_nx_ip_packet_send(ip_ptr, packet_ptr, destination_ip, type_of_service, NX_IP_TIME_TO_LIVE, NX_IP_… in _nx_ip_raw_packet_send()
123 NX_PARAMETER_NOT_USED(destination_ip); in _nx_ip_raw_packet_send()
Dnx_ip_raw_packet_source_send.c81 ULONG destination_ip, UINT address_index, ULONG type_of_service) in _nx_ip_raw_packet_source_send() argument
97 …_nx_ip_route_find(ip_ptr, destination_ip, &packet_ptr -> nx_packet_address.nx_packet_interface_ptr… in _nx_ip_raw_packet_source_send()
100 …NX_TRACE_IN_LINE_INSERT(NX_TRACE_IP_RAW_PACKET_SEND, ip_ptr, packet_ptr, destination_ip, type_of_s… in _nx_ip_raw_packet_source_send()
104 …_nx_ip_packet_send(ip_ptr, packet_ptr, destination_ip, type_of_service, NX_IP_TIME_TO_LIVE, NX_IP_… in _nx_ip_raw_packet_source_send()
114 NX_PARAMETER_NOT_USED(destination_ip); in _nx_ip_raw_packet_source_send()
Dnxe_ip_raw_packet_send.c83 ULONG destination_ip, ULONG type_of_service) in _nxe_ip_raw_packet_send() argument
109 if (!destination_ip) in _nxe_ip_raw_packet_send()
138 status = _nx_ip_raw_packet_send(ip_ptr, packet_ptr, destination_ip, type_of_service); in _nxe_ip_raw_packet_send()
155 NX_PARAMETER_NOT_USED(destination_ip); in _nxe_ip_raw_packet_send()
Dnx_ip_forward_packet_process.c89 ULONG destination_ip; in _nx_ip_forward_packet_process() local
143 destination_ip = ip_header_ptr -> nx_ip_header_destination_ip; in _nx_ip_forward_packet_process()
184 if (outgoing_interface -> nx_interface_ip_address == destination_ip) in _nx_ip_forward_packet_process()
244 if (outgoing_interface -> nx_interface_ip_address == destination_ip) in _nx_ip_forward_packet_process()
272 … _nx_ip_driver_packet_send(ip_ptr, packet_ptr, destination_ip, fragment_bit, next_hop_address); in _nx_ip_forward_packet_process()
283 …_nx_ip_fragment_forward_packet(ip_ptr, packet_ptr, destination_ip, NX_FRAGMENT_OKAY, next_hop_addr… in _nx_ip_forward_packet_process()
Dnxe_ip_raw_packet_source_send.c85 … ULONG destination_ip, UINT address_index, ULONG type_of_service) in _nxe_ip_raw_packet_source_send() argument
110 if (!destination_ip) in _nxe_ip_raw_packet_source_send()
152 … _nx_ip_raw_packet_source_send(ip_ptr, packet_ptr, destination_ip, address_index, type_of_service); in _nxe_ip_raw_packet_source_send()
164 NX_PARAMETER_NOT_USED(destination_ip); in _nxe_ip_raw_packet_source_send()
Dnx_tcp_no_connection_reset.c92 NXD_ADDRESS destination_ip; in _nx_tcp_no_connection_reset() local
133 destination_ip.nxd_ip_version = NX_IP_VERSION_V4; in _nx_tcp_no_connection_reset()
134 destination_ip.nxd_ip_address.v4 = ip_header_ptr -> nx_ip_header_source_ip; in _nx_tcp_no_connection_reset()
164 destination_ip.nxd_ip_version = NX_IP_VERSION_V6; in _nx_tcp_no_connection_reset()
165 …COPY_IPV6_ADDRESS(&ipv6_header_ptr -> nx_ip_header_source_ip[0], destination_ip.nxd_ip_address.v6); in _nx_tcp_no_connection_reset()
201 … &destination_ip, /* dest_addr */ in _nx_tcp_no_connection_reset()
Dnxd_ipv6_raw_packet_send_internal.c82 NXD_ADDRESS *destination_ip, in _nxd_ipv6_raw_packet_send_internal() argument
93 ip_address_lsw = destination_ip -> nxd_ip_address.v6[3]; in _nxd_ipv6_raw_packet_send_internal()
110 destination_ip -> nxd_ip_address.v6); in _nxd_ipv6_raw_packet_send_internal()
Dnxd_ip_raw_packet_send.c81 NXD_ADDRESS *destination_ip, ULONG protocol, UINT ttl, ULONG tos) in _nxd_ip_raw_packet_send() argument
86 …status = _nxd_ip_raw_packet_source_send(ip_ptr, packet_ptr, destination_ip, 0, protocol, ttl, tos); in _nxd_ip_raw_packet_send()
Dnxd_ipv6_destination_table_find_next_hop.c77 UINT _nxd_ipv6_destination_table_find_next_hop(NX_IP *ip_ptr, ULONG *destination_ip, ULONG *next_ho… in _nxd_ipv6_destination_table_find_next_hop() argument
112 …ptr -> nx_ipv6_destination_table[i].nx_ipv6_destination_entry_destination_address, destination_ip)) in _nxd_ipv6_destination_table_find_next_hop()
Dnx_arp_packet_send.c77 VOID _nx_arp_packet_send(NX_IP *ip_ptr, ULONG destination_ip, NX_INTERFACE *nx_interface) in _nx_arp_packet_send() argument
125 …NX_TRACE_IN_LINE_INSERT(NX_TRACE_INTERNAL_ARP_REQUEST_SEND, ip_ptr, destination_ip, request_ptr, 0… in _nx_arp_packet_send()
151 *(message_ptr + 6) = (ULONG)destination_ip; in _nx_arp_packet_send()
Dnx_ip_packet_send.c93 ULONG destination_ip, ULONG type_of_service, ULONG time_to_live, in _nx_ip_packet_send() argument
217 destination_ip, type_of_service, time_to_live, protocol, fragment); in _nx_ip_packet_send()
252 …NX_TRACE_IN_LINE_INSERT(NX_TRACE_INTERNAL_IP_SEND, ip_ptr, destination_ip, packet_ptr, packet_ptr … in _nx_ip_packet_send()
374 …_nx_ip_route_find(ip_ptr, destination_ip, &packet_ptr -> nx_packet_address.nx_packet_interface_ptr… in _nx_ip_packet_send()
397 _nx_ip_driver_packet_send(ip_ptr, packet_ptr, destination_ip, fragment, next_hop_address); in _nx_ip_packet_send()
Dnx_ip_header_add.c91 UINT _nx_ip_header_add(NX_IP *ip_ptr, NX_PACKET *packet_ptr, ULONG source_ip, ULONG destination_ip, in _nx_ip_header_add() argument
175 ip_header_ptr -> nx_ip_header_destination_ip = destination_ip; in _nx_ip_header_add()
Dnx_ip_fragment_forward_packet.c84 VOID _nx_ip_fragment_forward_packet(NX_IP *ip_ptr, NX_PACKET *source_packet, ULONG destination_ip,… in _nx_ip_fragment_forward_packet() argument
373 … _nx_ip_driver_packet_send(ip_ptr, fragment_packet, destination_ip, fragment, next_hop_address); in _nx_ip_fragment_forward_packet()
/NetX-Duo-v6.3.0/common/inc/
Dnx_ipv4.h160 VOID _nx_ip_fragment_forward_packet(NX_IP *ip_ptr, NX_PACKET *packet_ptr, ULONG destination_ip, UL…
161 void _nx_ip_packet_send(NX_IP *ip_ptr, NX_PACKET *packet_ptr, ULONG destination_ip, ULONG type_of_…
162 UINT _nx_ip_header_add(NX_IP *ip_ptr, NX_PACKET *packet_ptr, ULONG source_ip, ULONG destination_ip,
164 VOID _nx_ip_driver_packet_send(NX_IP *ip_ptr, NX_PACKET *packet_ptr, ULONG destination_ip, ULONG f…
181 ULONG destination_ip, ULONG type_of_service);
182 UINT _nx_ip_raw_packet_source_send(NX_IP *ip_ptr, NX_PACKET *packet_ptr, ULONG destination_ip, UINT…
202 ULONG destination_ip, ULONG type_of_service);
204 … ULONG destination_ip, UINT address_index, ULONG type_of_service);
Dnx_ip.h157 …acket_source_send(NX_IP *ip_ptr, NX_PACKET *packet_ptr, NXD_ADDRESS *destination_ip, UINT address_…
168 NXD_ADDRESS *destination_ip, ULONG protocol, UINT ttl, ULONG tos);
209 …acket_source_send(NX_IP *ip_ptr, NX_PACKET *packet_ptr, NXD_ADDRESS *destination_ip, UINT address_…
Dnx_ipv6.h254 …et_send_internal(NX_IP *ip_ptr, NX_PACKET *packet_ptr, NXD_ADDRESS *destination_ip, ULONG protoco…
320 NXD_ADDRESS *destination_ip, ULONG protocol, UINT ttl, ULONG tos);
Dnx_arp.h102 VOID _nx_arp_packet_send(NX_IP *ip_ptr, ULONG destination_ip, NX_INTERFACE *nx_interface);
Dnx_icmpv6.h396 UINT _nxd_ipv6_destination_table_find_next_hop(NX_IP *ip_ptr, ULONG *destination_ip, ULONG *next_ho…
Dnx_api.h2917 …void (*nx_ip_arp_packet_send)(struct NX_IP_STRUCT *, ULONG destination_ip, NX_INTERFACE *nx…
3651 ULONG destination_ip, ULONG type_of_service);
3653 … ULONG destination_ip, UINT address_index, ULONG type_of_service);
3656 ULONG destination_ip, ULONG type_of_service);
3658 ULONG destination_ip, UINT address_index, ULONG type_of_service);
3662 …NT _nxde_ip_raw_packet_send(NX_IP *ip_ptr, NX_PACKET **packet_ptr_ptr, NXD_ADDRESS *destination_ip,
3665 UINT _nxd_ip_raw_packet_send(NX_IP *ip_ptr, NX_PACKET *packet_ptr, NXD_ADDRESS *destination_ip,
3668 …NT nxd_ip_raw_packet_source_send(NX_IP *ip_ptr, NX_PACKET *packet_ptr, NXD_ADDRESS *destination_ip,
/NetX-Duo-v6.3.0/addons/BSD/
Dnxd_bsd.c11057 ULONG destination_ip; in _nxd_bsd_ipv4_packet_send() local
11070 destination_ip = ip_header_ptr -> nx_ip_header_destination_ip; in _nxd_bsd_ipv4_packet_send()
11073 NX_CHANGE_ULONG_ENDIAN(destination_ip); in _nxd_bsd_ipv4_packet_send()
11102 if (((destination_ip & network_mask) != network) || in _nxd_bsd_ipv4_packet_send()
11103 ((destination_ip & ~network_mask) == ~network_mask) || in _nxd_bsd_ipv4_packet_send()
11104 …(destination_ip == packet_ptr -> nx_packet_address.nx_packet_interface_ptr -> nx_interface_ip_addr… in _nxd_bsd_ipv4_packet_send()
11111 if ((destination_ip == NX_IP_LIMITED_BROADCAST) || in _nxd_bsd_ipv4_packet_send()
11112 (((destination_ip & network_mask) == network) && in _nxd_bsd_ipv4_packet_send()
11113 ((destination_ip & ~network_mask) == ~network_mask))) in _nxd_bsd_ipv4_packet_send()
11169 else if ((((destination_ip >= NX_IP_LOOPBACK_FIRST) && in _nxd_bsd_ipv4_packet_send()
[all …]
/NetX-Duo-v6.3.0/addons/nat/
Dnx_nat.c2766 ULONG destination_ip; in _nx_nat_ip_packet_send() local
2798 destination_ip = ip_header_ptr -> nx_ip_header_destination_ip; in _nx_nat_ip_packet_send()
2888 …_nx_ip_driver_packet_send(nat_ptr -> nx_nat_ip_ptr, packet_ptr, destination_ip, fragment_bits, nex… in _nx_nat_ip_packet_send()