Lines Matching refs:nat_ptr
55 static UINT _nx_nat_process_inbound_packet(NX_NAT_DEVICE *nat_ptr, NX_PACKET *packet_ptr);
56 static UINT _nx_nat_process_inbound_TCP_packet(NX_NAT_DEVICE *nat_ptr, NX_PACKET *packet_ptr, NX…
57 static UINT _nx_nat_process_inbound_UDP_packet(NX_NAT_DEVICE *nat_ptr, NX_PACKET *packet_ptr, NX…
58 static UINT _nx_nat_process_inbound_ICMP_packet(NX_NAT_DEVICE *nat_ptr, NX_PACKET *packet_ptr, N…
59 static UINT _nx_nat_process_outbound_packet(NX_NAT_DEVICE *nat_ptr, NX_PACKET *packet_ptr);
60 static UINT _nx_nat_process_outbound_TCP_packet(NX_NAT_DEVICE *nat_ptr, NX_PACKET *packet_ptr, N…
61 static UINT _nx_nat_process_outbound_UDP_packet(NX_NAT_DEVICE *nat_ptr, NX_PACKET *packet_ptr, N…
62 static UINT _nx_nat_process_outbound_ICMP_packet(NX_NAT_DEVICE *nat_ptr, NX_PACKET *packet_ptr, …
63 static VOID _nx_nat_ip_packet_send(NX_NAT_DEVICE *nat_ptr, NX_PACKET *packet_ptr, NX_NAT_TRANSLA…
64 static UINT _nx_nat_inbound_entry_find(NX_NAT_DEVICE *nat_ptr, NX_PACKET *packet_ptr, NX_NAT_TRA…
65 static UINT _nx_nat_outbound_entry_find(NX_NAT_DEVICE *nat_ptr, NX_PACKET *packet_ptr, NX_NAT_TR…
66 static UINT _nx_nat_entry_create(NX_NAT_DEVICE *nat_ptr, UCHAR protocol, ULONG local_ip_address,…
68 static UINT _nx_nat_entry_add(NX_NAT_DEVICE *nat_ptr, NX_NAT_TRANSLATION_ENTRY *entry_ptr);
69 static VOID _nx_nat_entry_find(NX_NAT_DEVICE *nat_ptr, NX_NAT_TRANSLATION_ENTRY *entry_to_match,…
70 static VOID _nx_nat_entry_timeout_check(NX_NAT_DEVICE *nat_ptr);
72 static UINT _nx_nat_find_available_port(NX_NAT_DEVICE *nat_ptr, UCHAR protocol, USHORT *port);
125 UINT _nxe_nat_create(NX_NAT_DEVICE *nat_ptr, NX_IP *ip_ptr, UINT global_interface_index, VOID *dyn… in _nxe_nat_create() argument
132 if ((!nat_ptr) || (!ip_ptr)) in _nxe_nat_create()
173 …status = _nx_nat_create(nat_ptr, ip_ptr, global_interface_index, dynamic_cache_memory, dynamic_cac… in _nxe_nat_create()
227 UINT _nx_nat_create(NX_NAT_DEVICE *nat_ptr, NX_IP *ip_ptr, UINT global_interface_index, VOID *dyna… in _nx_nat_create() argument
236 memset(nat_ptr, 0, sizeof(NX_NAT_DEVICE)); in _nx_nat_create()
239 nat_ptr -> nx_nat_ip_ptr = ip_ptr; in _nx_nat_create()
240 nat_ptr -> nx_nat_global_interface_index = (UCHAR)global_interface_index; in _nx_nat_create()
260 …nat_ptr -> nx_nat_dynamic_available_entry_head = (NX_NAT_TRANSLATION_ENTRY *) dynamic_cache_memory… in _nx_nat_create()
261 nat_ptr -> nx_nat_dynamic_active_entry_head = NX_NULL; in _nx_nat_create()
262 nat_ptr -> nx_nat_dynamic_available_entries = dynamic_entries; in _nx_nat_create()
263 nat_ptr -> nx_nat_dynamic_active_entries = 0; in _nx_nat_create()
264 nat_ptr -> nx_nat_static_active_entries = 0; in _nx_nat_create()
267 nat_ptr -> nx_nat_id = NX_NAT_ID; in _nx_nat_create()
273 nat_server_ptr = nat_ptr; in _nx_nat_create()
320 UINT _nxe_nat_delete(NX_NAT_DEVICE *nat_ptr) in _nxe_nat_delete() argument
327 if ((nat_ptr == NX_NULL) || (nat_ptr -> nx_nat_id != NX_NAT_ID)) in _nxe_nat_delete()
334 status = _nx_nat_delete(nat_ptr); in _nxe_nat_delete()
380 UINT _nx_nat_delete(NX_NAT_DEVICE *nat_ptr) in _nx_nat_delete() argument
384 nat_ptr -> nx_nat_id = 0; in _nx_nat_delete()
431 UINT _nxe_nat_enable(NX_NAT_DEVICE *nat_ptr) in _nxe_nat_enable() argument
437 if ((nat_ptr == NX_NULL) || (nat_ptr -> nx_nat_id != NX_NAT_ID)) in _nxe_nat_enable()
441 status = _nx_nat_enable(nat_ptr); in _nxe_nat_enable()
488 UINT _nx_nat_enable(NX_NAT_DEVICE *nat_ptr) in _nx_nat_enable() argument
493 tx_mutex_get(&(nat_ptr -> nx_nat_ip_ptr -> nx_ip_protection), TX_WAIT_FOREVER); in _nx_nat_enable()
496 nat_ptr -> nx_nat_ip_ptr -> nx_ip_nat_packet_process = _nx_nat_process_packet; in _nx_nat_enable()
499 nat_ptr -> nx_nat_ip_ptr -> nx_ip_nat_port_verify = _nx_nat_entry_port_verify; in _nx_nat_enable()
502 …tx_mutex_put(&(nat_ptr -> nx_nat_ip_ptr -> nx_ip_protection)); … in _nx_nat_enable()
548 UINT _nxe_nat_disable(NX_NAT_DEVICE *nat_ptr) in _nxe_nat_disable() argument
555 if ((nat_ptr == NX_NULL) || (nat_ptr -> nx_nat_id != NX_NAT_ID)) in _nxe_nat_disable()
559 status = _nx_nat_disable(nat_ptr); in _nxe_nat_disable()
606 UINT _nx_nat_disable(NX_NAT_DEVICE *nat_ptr) in _nx_nat_disable() argument
610 tx_mutex_get(&(nat_ptr -> nx_nat_ip_ptr -> nx_ip_protection), TX_WAIT_FOREVER); in _nx_nat_disable()
613 nat_ptr -> nx_nat_ip_ptr -> nx_ip_nat_packet_process = NX_NULL; in _nx_nat_disable()
616 tx_mutex_put(&(nat_ptr -> nx_nat_ip_ptr -> nx_ip_protection)); in _nx_nat_disable()
664 UINT _nxe_nat_cache_notify_set(NX_NAT_DEVICE *nat_ptr, VOID (*cache_full_notify_cb)(NX_NAT_DEVICE *… in _nxe_nat_cache_notify_set() argument
671 if (!nat_ptr) in _nxe_nat_cache_notify_set()
677 if (nat_ptr -> nx_nat_id != NX_NAT_ID) in _nxe_nat_cache_notify_set()
683 status = _nx_nat_cache_notify_set(nat_ptr, cache_full_notify_cb); in _nxe_nat_cache_notify_set()
731 UINT _nx_nat_cache_notify_set(NX_NAT_DEVICE *nat_ptr, VOID (*cache_full_notify_cb)(NX_NAT_DEVICE *n… in _nx_nat_cache_notify_set() argument
736 tx_mutex_get(&(nat_ptr -> nx_nat_ip_ptr -> nx_ip_protection), TX_WAIT_FOREVER); in _nx_nat_cache_notify_set()
739 nat_ptr -> nx_nat_cache_full_notify = cache_full_notify_cb; in _nx_nat_cache_notify_set()
742 tx_mutex_put(&(nat_ptr -> nx_nat_ip_ptr -> nx_ip_protection)); in _nx_nat_cache_notify_set()
794 UINT _nxe_nat_inbound_entry_create(NX_NAT_DEVICE *nat_ptr, NX_NAT_TRANSLATION_ENTRY *entry_ptr, in _nxe_nat_inbound_entry_create() argument
802 if ((nat_ptr == NX_NULL) || (nat_ptr -> nx_nat_id != NX_NAT_ID) || (!entry_ptr)) in _nxe_nat_inbound_entry_create()
816 …status = _nx_nat_inbound_entry_create(nat_ptr, entry_ptr, local_ip_address, external_port, local_p… in _nxe_nat_inbound_entry_create()
875 UINT _nx_nat_inbound_entry_create(NX_NAT_DEVICE *nat_ptr, NX_NAT_TRANSLATION_ENTRY *entry_ptr, in _nx_nat_inbound_entry_create() argument
882 tx_mutex_get(&(nat_ptr -> nx_nat_ip_ptr -> nx_ip_protection), TX_WAIT_FOREVER); in _nx_nat_inbound_entry_create()
885 bound = _nx_nat_entry_port_verify(nat_ptr -> nx_nat_ip_ptr, protocol, external_port); in _nx_nat_inbound_entry_create()
892 tx_mutex_put(&(nat_ptr -> nx_nat_ip_ptr -> nx_ip_protection)); in _nx_nat_inbound_entry_create()
899 bound = _nx_nat_socket_port_verify(nat_ptr -> nx_nat_ip_ptr, protocol, external_port); in _nx_nat_inbound_entry_create()
906 tx_mutex_put(&(nat_ptr -> nx_nat_ip_ptr -> nx_ip_protection)); in _nx_nat_inbound_entry_create()
925 _nx_nat_entry_add(nat_ptr, entry_ptr); in _nx_nat_inbound_entry_create()
928 tx_mutex_put(&(nat_ptr -> nx_nat_ip_ptr -> nx_ip_protection)); in _nx_nat_inbound_entry_create()
977 UINT _nxe_nat_inbound_entry_delete( NX_NAT_DEVICE *nat_ptr, NX_NAT_TRANSLATION_ENTRY *delete_entry… in _nxe_nat_inbound_entry_delete() argument
983 … if ((nat_ptr == NX_NULL) || (nat_ptr -> nx_nat_id != NX_NAT_ID) || (delete_entry_ptr == NX_NULL)) in _nxe_nat_inbound_entry_delete()
999 status = _nx_nat_inbound_entry_delete(nat_ptr, delete_entry_ptr); in _nxe_nat_inbound_entry_delete()
1047 UINT _nx_nat_inbound_entry_delete(NX_NAT_DEVICE *nat_ptr, NX_NAT_TRANSLATION_ENTRY *delete_entry_p… in _nx_nat_inbound_entry_delete() argument
1056 tx_mutex_get(&(nat_ptr -> nx_nat_ip_ptr -> nx_ip_protection), TX_WAIT_FOREVER); in _nx_nat_inbound_entry_delete()
1059 entry_ptr = nat_ptr -> nx_nat_dynamic_active_entry_head; in _nx_nat_inbound_entry_delete()
1088 nat_ptr -> nx_nat_dynamic_active_entry_head = next_entry_ptr; in _nx_nat_inbound_entry_delete()
1092 nat_ptr -> nx_nat_static_active_entries --; in _nx_nat_inbound_entry_delete()
1095 tx_mutex_put(&(nat_ptr -> nx_nat_ip_ptr -> nx_ip_protection)); in _nx_nat_inbound_entry_delete()
1109 tx_mutex_put(&(nat_ptr -> nx_nat_ip_ptr -> nx_ip_protection)); in _nx_nat_inbound_entry_delete()
1407 static UINT _nx_nat_process_inbound_packet(NX_NAT_DEVICE *nat_ptr, NX_PACKET *packet_ptr) in _nx_nat_process_inbound_packet() argument
1433 status = _nx_nat_process_inbound_TCP_packet(nat_ptr, packet_ptr, &translation_entry); in _nx_nat_process_inbound_packet()
1437 status = _nx_nat_process_inbound_UDP_packet(nat_ptr, packet_ptr, &translation_entry); in _nx_nat_process_inbound_packet()
1441 status = _nx_nat_process_inbound_ICMP_packet(nat_ptr, packet_ptr, &translation_entry); in _nx_nat_process_inbound_packet()
1501 static UINT _nx_nat_process_inbound_TCP_packet(NX_NAT_DEVICE *nat_ptr, NX_PACKET *packet_ptr, NX_N… in _nx_nat_process_inbound_TCP_packet() argument
1535 …status = _nx_nat_inbound_entry_find(nat_ptr, packet_ptr, entry_ptr, &record_entry, &next_hop_addre… in _nx_nat_process_inbound_TCP_packet()
1543 nat_ptr -> forwarded_packets_dropped++; in _nx_nat_process_inbound_TCP_packet()
1601 …old_address = nat_ptr -> nx_nat_ip_ptr -> nx_ip_interface[nat_ptr -> nx_nat_global_interface_index… 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()
1704 static UINT _nx_nat_process_inbound_UDP_packet(NX_NAT_DEVICE *nat_ptr, NX_PACKET *packet_ptr, NX_N… in _nx_nat_process_inbound_UDP_packet() argument
1735 …status = _nx_nat_inbound_entry_find(nat_ptr, packet_ptr, entry_ptr, &record_entry, &next_hop_addre… in _nx_nat_process_inbound_UDP_packet()
1743 nat_ptr -> forwarded_packets_dropped++; in _nx_nat_process_inbound_UDP_packet()
1807 …old_address = nat_ptr -> nx_nat_ip_ptr -> nx_ip_interface[nat_ptr -> nx_nat_global_interface_index… in _nx_nat_process_inbound_UDP_packet()
1850 …_nx_nat_ip_packet_send(nat_ptr, packet_ptr, record_entry, NX_NAT_INBOUND_PACKET, next_hop_address)… in _nx_nat_process_inbound_UDP_packet()
1908 static UINT _nx_nat_process_inbound_ICMP_packet(NX_NAT_DEVICE *nat_ptr, NX_PACKET *packet_ptr, NX_… in _nx_nat_process_inbound_ICMP_packet() argument
1941 …status = _nx_nat_inbound_entry_find(nat_ptr, packet_ptr, entry_ptr, &record_entry, &next_hop_addre… in _nx_nat_process_inbound_ICMP_packet()
1949 nat_ptr -> forwarded_packets_dropped++; in _nx_nat_process_inbound_ICMP_packet()
1979 nat_ptr -> forwarded_packets_dropped++; in _nx_nat_process_inbound_ICMP_packet()
2055 …_nx_nat_ip_packet_send(nat_ptr, packet_ptr, record_entry, NX_NAT_INBOUND_PACKET, next_hop_address)… in _nx_nat_process_inbound_ICMP_packet()
2115 static UINT _nx_nat_process_outbound_packet(NX_NAT_DEVICE *nat_ptr, NX_PACKET *packet_ptr) in _nx_nat_process_outbound_packet() argument
2141 _nx_nat_process_outbound_TCP_packet(nat_ptr, packet_ptr, &translation_entry); in _nx_nat_process_outbound_packet()
2146 _nx_nat_process_outbound_UDP_packet(nat_ptr, packet_ptr, &translation_entry); in _nx_nat_process_outbound_packet()
2151 _nx_nat_process_outbound_ICMP_packet(nat_ptr, packet_ptr, &translation_entry); in _nx_nat_process_outbound_packet()
2159 nat_ptr -> forwarded_packets_dropped++; in _nx_nat_process_outbound_packet()
2221 static UINT _nx_nat_process_outbound_TCP_packet(NX_NAT_DEVICE *nat_ptr, NX_PACKET *packet_ptr, NX_… in _nx_nat_process_outbound_TCP_packet() argument
2252 …status = _nx_nat_outbound_entry_find(nat_ptr, packet_ptr, entry_ptr, &record_entry, &next_hop_addr… in _nx_nat_process_outbound_TCP_packet()
2260 nat_ptr -> forwarded_packets_dropped++; in _nx_nat_process_outbound_TCP_packet()
2305 …new_address = nat_ptr -> nx_nat_ip_ptr -> nx_ip_interface[nat_ptr -> nx_nat_global_interface_index… in _nx_nat_process_outbound_TCP_packet()
2336 …_nx_nat_ip_packet_send(nat_ptr,packet_ptr, record_entry, NX_NAT_OUTBOUND_PACKET, next_hop_address)… in _nx_nat_process_outbound_TCP_packet()
2391 static UINT _nx_nat_process_outbound_UDP_packet(NX_NAT_DEVICE *nat_ptr, NX_PACKET *packet_ptr, NX_… in _nx_nat_process_outbound_UDP_packet() argument
2418 …status = _nx_nat_outbound_entry_find(nat_ptr, packet_ptr, entry_ptr, &record_entry, &next_hop_addr… in _nx_nat_process_outbound_UDP_packet()
2426 nat_ptr -> forwarded_packets_dropped++; in _nx_nat_process_outbound_UDP_packet()
2480 …new_address = nat_ptr -> nx_nat_ip_ptr -> nx_ip_interface[nat_ptr -> nx_nat_global_interface_index… in _nx_nat_process_outbound_UDP_packet()
2509 …_nx_nat_ip_packet_send(nat_ptr, packet_ptr, record_entry, NX_NAT_OUTBOUND_PACKET, next_hop_address… in _nx_nat_process_outbound_UDP_packet()
2565 static UINT _nx_nat_process_outbound_ICMP_packet(NX_NAT_DEVICE *nat_ptr, NX_PACKET *packet_ptr, NX… in _nx_nat_process_outbound_ICMP_packet() argument
2605 nat_ptr -> forwarded_packets_dropped++; in _nx_nat_process_outbound_ICMP_packet()
2616 …status = _nx_nat_outbound_entry_find(nat_ptr, packet_ptr, entry_ptr, &record_entry, &next_hop_addr… in _nx_nat_process_outbound_ICMP_packet()
2624 nat_ptr -> forwarded_packets_dropped++; in _nx_nat_process_outbound_ICMP_packet()
2690 …_nx_nat_ip_packet_send(nat_ptr, packet_ptr, record_entry, NX_NAT_OUTBOUND_PACKET, next_hop_address… in _nx_nat_process_outbound_ICMP_packet()
2755 static VOID _nx_nat_ip_packet_send(NX_NAT_DEVICE *nat_ptr, NX_PACKET *packet_ptr, NX_NAT_TRANSLATI… in _nx_nat_ip_packet_send() argument
2780 …ip_header_ptr -> nx_ip_header_source_ip = nat_ptr -> nx_nat_ip_ptr -> nx_ip_interface[nat_ptr -> n… in _nx_nat_ip_packet_send()
2784 …new_address = nat_ptr -> nx_nat_ip_ptr -> nx_ip_interface[nat_ptr -> nx_nat_global_interface_index… in _nx_nat_ip_packet_send()
2792 …old_address = nat_ptr -> nx_nat_ip_ptr -> nx_ip_interface[nat_ptr -> nx_nat_global_interface_index… in _nx_nat_ip_packet_send()
2873 nat_ptr -> forwarded_packets_dropped ++; in _nx_nat_ip_packet_send()
2883 nat_ptr -> forwarded_packets_sent++; in _nx_nat_ip_packet_send()
2887 …_nx_ip_driver_packet_send(nat_ptr -> nx_nat_ip_ptr, packet_ptr, destination_ip, fragment_bits, nex… in _nx_nat_ip_packet_send()
2944 static UINT _nx_nat_inbound_entry_find(NX_NAT_DEVICE *nat_ptr, NX_PACKET *packet_ptr, NX_NAT_TRANS… in _nx_nat_inbound_entry_find() argument
2965 _nx_nat_entry_timeout_check(nat_ptr); in _nx_nat_inbound_entry_find()
2968 _nx_nat_entry_find(nat_ptr, entry_ptr, &record_entry, NX_NAT_INBOUND_PACKET, NX_TRUE); in _nx_nat_inbound_entry_find()
2977 _nx_nat_entry_find(nat_ptr, entry_ptr, &record_entry, NX_NAT_INBOUND_PACKET, NX_FALSE); in _nx_nat_inbound_entry_find()
3018 status = _nx_nat_entry_create(nat_ptr, entry_ptr -> protocol, in _nx_nat_inbound_entry_find()
3047 if(_nx_ip_route_find(nat_ptr -> nx_nat_ip_ptr, record_entry -> local_ip_address, in _nx_nat_inbound_entry_find()
3117 static UINT _nx_nat_outbound_entry_find(NX_NAT_DEVICE *nat_ptr, NX_PACKET *packet_ptr, NX_NAT_TRAN… in _nx_nat_outbound_entry_find() argument
3138 _nx_nat_entry_timeout_check(nat_ptr); in _nx_nat_outbound_entry_find()
3141 _nx_nat_entry_find(nat_ptr, entry_ptr, &record_entry, NX_NAT_OUTBOUND_PACKET, NX_TRUE); in _nx_nat_outbound_entry_find()
3148 … status = _nx_nat_find_available_port(nat_ptr, entry_ptr -> protocol, &entry_ptr -> external_port); in _nx_nat_outbound_entry_find()
3172 status = _nx_nat_entry_create(nat_ptr, entry_ptr -> protocol, in _nx_nat_outbound_entry_find()
3191 …r -> nx_packet_address.nx_packet_interface_ptr = &(nat_ptr -> nx_nat_ip_ptr -> nx_ip_interface[nat… in _nx_nat_outbound_entry_find()
3194 …if(_nx_ip_route_find(nat_ptr -> nx_nat_ip_ptr, record_entry -> peer_ip_address, &packet_ptr -> nx_… in _nx_nat_outbound_entry_find()
3264 static UINT _nx_nat_entry_create(NX_NAT_DEVICE *nat_ptr, UCHAR protocol, in _nx_nat_entry_create() argument
3293 if (nat_ptr -> nx_nat_dynamic_available_entries) in _nx_nat_entry_create()
3297 insert_entry_ptr = nat_ptr -> nx_nat_dynamic_available_entry_head; in _nx_nat_entry_create()
3300 nat_ptr -> nx_nat_dynamic_available_entry_head = insert_entry_ptr -> next_entry_ptr; in _nx_nat_entry_create()
3307 entry_ptr = nat_ptr -> nx_nat_dynamic_active_entry_head; in _nx_nat_entry_create()
3367 nat_ptr -> nx_nat_dynamic_active_entry_head = insert_entry_ptr -> next_entry_ptr; in _nx_nat_entry_create()
3371 nat_ptr -> nx_nat_dynamic_active_entries --; in _nx_nat_entry_create()
3372 nat_ptr -> nx_nat_dynamic_available_entries ++; in _nx_nat_entry_create()
3380 if(nat_ptr -> nx_nat_cache_full_notify) in _nx_nat_entry_create()
3384 (nat_ptr -> nx_nat_cache_full_notify)(nat_ptr); in _nx_nat_entry_create()
3414 _nx_nat_entry_add(nat_ptr, insert_entry_ptr); in _nx_nat_entry_create()
3467 static UINT _nx_nat_entry_add(NX_NAT_DEVICE *nat_ptr, NX_NAT_TRANSLATION_ENTRY *entry_ptr) in _nx_nat_entry_add() argument
3472 entry_ptr -> next_entry_ptr = nat_ptr -> nx_nat_dynamic_active_entry_head; in _nx_nat_entry_add()
3473 …nat_ptr -> nx_nat_dynamic_active_entry_head = entry_ptr; … in _nx_nat_entry_add()
3480 nat_ptr -> nx_nat_dynamic_active_entries ++; in _nx_nat_entry_add()
3481 nat_ptr -> nx_nat_dynamic_available_entries --; in _nx_nat_entry_add()
3484 nat_ptr -> nx_nat_static_active_entries ++; in _nx_nat_entry_add()
3541 static VOID _nx_nat_entry_find(NX_NAT_DEVICE *nat_ptr, NX_NAT_TRANSLATION_ENTRY *entry_to_match, N… in _nx_nat_entry_find() argument
3574 entry_ptr = nat_ptr -> nx_nat_dynamic_active_entry_head; in _nx_nat_entry_find()
3699 entry_ptr -> next_entry_ptr = nat_ptr -> nx_nat_dynamic_active_entry_head; in _nx_nat_entry_find()
3700 nat_ptr -> nx_nat_dynamic_active_entry_head = entry_ptr; in _nx_nat_entry_find()
3749 static VOID _nx_nat_entry_timeout_check(NX_NAT_DEVICE *nat_ptr) in _nx_nat_entry_timeout_check() argument
3763 entry_ptr = nat_ptr -> nx_nat_dynamic_active_entry_head; in _nx_nat_entry_timeout_check()
3799 nat_ptr -> nx_nat_dynamic_active_entry_head = next_entry_ptr; in _nx_nat_entry_timeout_check()
3803 entry_ptr -> next_entry_ptr = nat_ptr -> nx_nat_dynamic_available_entry_head; in _nx_nat_entry_timeout_check()
3804 nat_ptr -> nx_nat_dynamic_available_entry_head = entry_ptr; in _nx_nat_entry_timeout_check()
3807 nat_ptr -> nx_nat_dynamic_active_entries --; in _nx_nat_entry_timeout_check()
3808 nat_ptr -> nx_nat_dynamic_available_entries ++; in _nx_nat_entry_timeout_check()
4091 static UINT _nx_nat_find_available_port(NX_NAT_DEVICE *nat_ptr, UCHAR protocol, USHORT *port) in _nx_nat_find_available_port() argument
4128 entry_ptr = nat_ptr -> nx_nat_dynamic_active_entry_head; in _nx_nat_find_available_port()
4158 bound = _nx_nat_socket_port_verify(nat_ptr -> nx_nat_ip_ptr, protocol, *port); in _nx_nat_find_available_port()