Home
last modified time | relevance | path

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

12

/NetX-Duo-v6.2.1/common/src/
Dnx_ip_interface_address_set.c79 …ip_interface_address_set(NX_IP *ip_ptr, UINT interface_index, ULONG ip_address, ULONG network_mask) in _nx_ip_interface_address_set() argument
93 …NX_TRACE_IN_LINE_INSERT(NX_TRACE_IP_ADDRESS_SET, ip_ptr, ip_address, network_mask, 0, NX_TRACE_IP_… in _nx_ip_interface_address_set()
115 ip_ptr -> nx_ip_interface[interface_index].nx_interface_ip_network_mask = network_mask; in _nx_ip_interface_address_set()
116 …_ptr -> nx_ip_interface[interface_index].nx_interface_ip_network = ip_address & network_mask; in _nx_ip_interface_address_set()
131 ((ip_address != previous_ip_address) || (network_mask != previous_network_mask))) in _nx_ip_interface_address_set()
141 ((ip_address != previous_ip_address) || (network_mask != previous_network_mask))) in _nx_ip_interface_address_set()
157 NX_PARAMETER_NOT_USED(network_mask); in _nx_ip_interface_address_set()
Dnxe_ip_address_get.c77 UINT _nxe_ip_address_get(NX_IP *ip_ptr, ULONG *ip_address, ULONG *network_mask) in _nxe_ip_address_get() argument
85 …_NULL) || (ip_ptr -> nx_ip_id != NX_IP_ID) || (ip_address == NX_NULL) || (network_mask == NX_NULL)) in _nxe_ip_address_get()
94 status = _nx_ip_address_get(ip_ptr, ip_address, network_mask); in _nxe_ip_address_get()
101 NX_PARAMETER_NOT_USED(network_mask); in _nxe_ip_address_get()
Dnxe_ip_interface_address_get.c79 …_interface_address_get(NX_IP *ip_ptr, UINT interface_index, ULONG *ip_address, ULONG *network_mask) in _nxe_ip_interface_address_get() argument
87 …_NULL) || (ip_ptr -> nx_ip_id != NX_IP_ID) || (ip_address == NX_NULL) || (network_mask == NX_NULL)) in _nxe_ip_interface_address_get()
108 status = _nx_ip_interface_address_get(ip_ptr, interface_index, ip_address, network_mask); in _nxe_ip_interface_address_get()
116 NX_PARAMETER_NOT_USED(network_mask); in _nxe_ip_interface_address_get()
Dnx_ip_interface_info_get.c85 ULONG *ip_address, ULONG *network_mask, ULONG *mtu_size, in _nx_ip_interface_info_get() argument
92 NX_PARAMETER_NOT_USED(network_mask); in _nx_ip_interface_info_get()
113 if (network_mask) in _nx_ip_interface_info_get()
115 *network_mask = nx_interface -> nx_interface_ip_network_mask; in _nx_ip_interface_info_get()
Dnxe_ip_address_set.c77 UINT _nxe_ip_address_set(NX_IP *ip_ptr, ULONG ip_address, ULONG network_mask) in _nxe_ip_address_set() argument
102 status = _nx_ip_address_set(ip_ptr, ip_address, network_mask); in _nxe_ip_address_set()
109 NX_PARAMETER_NOT_USED(network_mask); in _nxe_ip_address_set()
Dnx_ip_address_get.c76 UINT _nx_ip_address_get(NX_IP *ip_ptr, ULONG *ip_address, ULONG *network_mask) in _nx_ip_address_get() argument
91 *network_mask = ip_ptr -> nx_ip_interface[0].nx_interface_ip_network_mask; in _nx_ip_address_get()
108 NX_PARAMETER_NOT_USED(network_mask); in _nx_ip_address_get()
Dnx_ip_interface_address_get.c77 …_interface_address_get(NX_IP *ip_ptr, UINT interface_index, ULONG *ip_address, ULONG *network_mask) in _nx_ip_interface_address_get() argument
98 *network_mask = ip_ptr -> nx_ip_interface[interface_index].nx_interface_ip_network_mask; in _nx_ip_interface_address_get()
112 NX_PARAMETER_NOT_USED(network_mask); in _nx_ip_interface_address_get()
Dnxe_ip_interface_address_set.c81 …p_interface_address_set(NX_IP *ip_ptr, UINT interface_index, ULONG ip_address, ULONG network_mask) in _nxe_ip_interface_address_set() argument
118 status = _nx_ip_interface_address_set(ip_ptr, interface_index, ip_address, network_mask); in _nxe_ip_interface_address_set()
126 NX_PARAMETER_NOT_USED(network_mask); in _nxe_ip_interface_address_set()
Dnx_ip_create.c89 UINT _nx_ip_create(NX_IP *ip_ptr, CHAR *name, ULONG ip_address, ULONG network_mask, in _nx_ip_create() argument
103 NX_PARAMETER_NOT_USED(network_mask); in _nx_ip_create()
126 ip_ptr -> nx_ip_interface[0].nx_interface_ip_network_mask = network_mask; in _nx_ip_create()
129 ip_ptr -> nx_ip_interface[0].nx_interface_ip_network = ip_address & network_mask; in _nx_ip_create()
247 …NX_TRACE_IN_LINE_INSERT(NX_TRACE_IP_CREATE, ip_ptr, ip_address, network_mask, default_pool, NX_TRA… in _nx_ip_create()
Dnx_ip_interface_attach.c95 …e_attach(NX_IP *ip_ptr, CHAR *interface_name, ULONG ip_address, ULONG network_mask, VOID (*ip_link… in _nx_ip_interface_attach() argument
109 NX_PARAMETER_NOT_USED(network_mask); in _nx_ip_interface_attach()
151 nx_interface -> nx_interface_ip_network_mask = network_mask; in _nx_ip_interface_attach()
152 nx_interface -> nx_interface_ip_network = ip_address & network_mask; in _nx_ip_interface_attach()
Dnx_ip_address_set.c77 UINT _nx_ip_address_set(NX_IP *ip_ptr, ULONG ip_address, ULONG network_mask) in _nx_ip_address_set() argument
79 return(_nx_ip_interface_address_set(ip_ptr, 0, ip_address, network_mask)); in _nx_ip_address_set()
Dnxe_ip_interface_info_get.c90 ULONG *ip_address, ULONG *network_mask, ULONG *mtu_size, in _nxe_ip_interface_info_get() argument
112 …atus = _nx_ip_interface_info_get(ip_ptr, interface_index, interface_name, ip_address, network_mask, in _nxe_ip_interface_info_get()
Dnxe_ip_interface_attach.c80 …e_attach(NX_IP *ip_ptr, CHAR *interface_name, ULONG ip_address, ULONG network_mask, VOID (*ip_link… in _nxe_ip_interface_attach() argument
106 …status = _nx_ip_interface_attach(ip_ptr, interface_name, ip_address, network_mask, ip_link_driver… in _nxe_ip_interface_attach()
Dnx_ip_driver_packet_send.c88 ULONG network_mask; in _nx_ip_driver_packet_send() local
111network_mask = packet_ptr -> nx_packet_address.nx_packet_interface_ptr -> nx_interface_ip_network_… in _nx_ip_driver_packet_send()
116 (((destination_ip & network_mask) == network) && in _nx_ip_driver_packet_send()
117 ((destination_ip & ~network_mask) == ~network_mask))) in _nx_ip_driver_packet_send()
Dnxe_ip_create.c88 UINT _nxe_ip_create(NX_IP *ip_ptr, CHAR *name, ULONG ip_address, ULONG network_mask, in _nxe_ip_create() argument
184 status = _nx_ip_create(ip_ptr, name, ip_address, network_mask, default_pool, ip_link_driver, in _nxe_ip_create()
/NetX-Duo-v6.2.1/test/regression/netxduo_test/
Dnetx_ip_static_route_add_test.c80 ULONG network_mask; in ntest_0_entry() local
118 network_mask = IP_ADDRESS(255, 255, 0, 0); in ntest_0_entry()
126 status = nx_ip_static_route_add(&ip_0, network_address, network_mask, next_hop_address); in ntest_0_entry()
140 network_mask = IP_ADDRESS(255, 254, 0, 0); in ntest_0_entry()
143 status = nx_ip_static_route_add(&ip_0, network_address, network_mask, next_hop_address); in ntest_0_entry()
153 network_mask = IP_ADDRESS(255, 255, 255, 0); in ntest_0_entry()
156 status = nx_ip_static_route_add(&ip_0, network_address, network_mask, next_hop_address); in ntest_0_entry()
Dnetx_ip_nxe_api_test.c116 ULONG network_mask; in thread_0_entry() local
187 status = nx_ip_address_get(NX_NULL, &ip_address, &network_mask); in thread_0_entry()
201 status = nx_ip_address_get(&invalid_ip, &ip_address, &network_mask); in thread_0_entry()
212 status = nx_ip_address_get(&ip_0, NX_NULL, &network_mask); in thread_0_entry()
798 status = nx_ip_interface_address_get(NX_NULL, 0, &ip_address, &network_mask); in thread_0_entry()
812 status = nx_ip_interface_address_get(&invalid_ip, 0, &ip_address, &network_mask); in thread_0_entry()
823 status = nx_ip_interface_address_get(&ip_0, 0, NX_NULL, &network_mask); in thread_0_entry()
845 …tatus = nx_ip_interface_address_get(&ip_0, NX_MAX_PHYSICAL_INTERFACES, &ip_address, &network_mask); in thread_0_entry()
856 status = nx_ip_interface_address_get(&ip_0, 1, &ip_address, &network_mask); in thread_0_entry()
1207 …status = nx_ip_interface_info_get(NX_NULL, 0, &interface_name, &ip_address, &network_mask, &mtu_si… in thread_0_entry()
[all …]
/NetX-Duo-v6.2.1/common/inc/
Dnx_ipv4.h172 UINT _nx_ip_address_get(NX_IP *ip_ptr, ULONG *ip_address, ULONG *network_mask);
173 UINT _nx_ip_address_set(NX_IP *ip_ptr, ULONG ip_address, ULONG network_mask);
177 …interface_address_get(NX_IP *ip_ptr, UINT interface_index, ULONG *ip_address, ULONG *network_mask);
178 …p_interface_address_set(NX_IP *ip_ptr, UINT interface_index, ULONG ip_address, ULONG network_mask);
193 UINT _nxe_ip_address_get(NX_IP *ip_ptr, ULONG *ip_address, ULONG *network_mask);
194 UINT _nxe_ip_address_set(NX_IP *ip_ptr, ULONG ip_address, ULONG network_mask);
195 …interface_address_get(NX_IP *ip_ptr, UINT interface_index, ULONG *ip_address, ULONG *network_mask);
196 …p_interface_address_set(NX_IP *ip_ptr, UINT interface_index, ULONG ip_address, ULONG network_mask);
/NetX-Duo-v6.2.1/samples/
Ddemo_netx_duo_ptp_client.c258 ULONG network_mask; in dhcp_wait() local
273 nx_ip_address_get(&ip_0, &ip_address, &network_mask); in dhcp_wait()
282 (INT)(network_mask >> 24), in dhcp_wait()
283 (INT)(network_mask >> 16 & 0xFF), in dhcp_wait()
284 (INT)(network_mask >> 8 & 0xFF), in dhcp_wait()
285 (INT)(network_mask & 0xFF), in dhcp_wait()
Dmain.c313 ULONG network_mask = 0; in sample_helper_thread_entry() local
354 nx_ip_address_get(&ip_0, &ip_address, &network_mask); in sample_helper_thread_entry()
364 (network_mask >> 24), in sample_helper_thread_entry()
365 (network_mask >> 16 & 0xFF), in sample_helper_thread_entry()
366 (network_mask >> 8 & 0xFF), in sample_helper_thread_entry()
367 (network_mask & 0xFF)); in sample_helper_thread_entry()
/NetX-Duo-v6.2.1/test/regression/azure_iot/
Dmain.c256 ULONG network_mask = 0; in test_entry() local
266 nx_ip_address_get(&ip_0, &ip_address, &network_mask); in test_entry()
276 (network_mask >> 24), in test_entry()
277 (network_mask >> 16 & 0xFF), in test_entry()
278 (network_mask >> 8 & 0xFF), in test_entry()
279 (network_mask & 0xFF)); in test_entry()
/NetX-Duo-v6.2.1/test/regression/auto_ip_test/
Dnetx_auto_ip_basic_test.c167 ULONG network_mask; in ntest_0_entry() local
185 nx_ip_address_get(&ip_0, &conn_ip_address, &network_mask); in ntest_0_entry()
267 ULONG network_mask; in ntest_1_entry() local
281 nx_ip_address_get(&ip_1, &ip_address, &network_mask); in ntest_1_entry()
366 ULONG network_mask; in ip_address_changed() local
374 nx_ip_address_get(ip_ptr, &ip_address, &network_mask); in ip_address_changed()
Dnetx_auto_ip_announce_num_test.c147 ULONG network_mask; in ntest_0_entry() local
168 nx_ip_address_get(&ip_0, &conn_ip_address, &network_mask); in ntest_0_entry()
209 ULONG network_mask; in ip_address_changed() local
217 nx_ip_address_get(ip_ptr, &ip_address, &network_mask); in ip_address_changed()
Dnetx_auto_ip_arp_dest_addr_test.c177 ULONG network_mask; in ntest_0_entry() local
197 nx_ip_address_get(&ip_0, &conn_ip_address, &network_mask); in ntest_0_entry()
282 ULONG network_mask; in ntest_1_entry() local
296 nx_ip_address_get(&ip_1, &ip_address, &network_mask); in ntest_1_entry()
382 ULONG network_mask; in ip_address_changed() local
390 nx_ip_address_get(ip_ptr, &ip_address, &network_mask); in ip_address_changed()
Dnetx_auto_ip_address_check_test.c146 ULONG network_mask; in ntest_0_entry() local
167 nx_ip_address_get(&ip_0, &conn_ip_address, &network_mask); in ntest_0_entry()
209 ULONG network_mask; in ip_address_changed() local
217 nx_ip_address_get(ip_ptr, &ip_address, &network_mask); in ip_address_changed()

12