Home
last modified time | relevance | path

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

12

/NetX-Duo-v6.3.0/common/src/
Dnx_ip_dispatch_process.c107 UINT _nx_ip_dispatch_process(NX_IP *ip_ptr, NX_PACKET *packet_ptr, UINT protocol) in _nx_ip_dispatch_process() argument
153 switch (protocol) in _nx_ip_dispatch_process()
422 if (_nx_ipsec_sa_ingress_lookup(ip_ptr, &src_addr, &dest_addr, 0, (UCHAR)protocol, in _nx_ip_dispatch_process()
427 if (protocol == NX_PROTOCOL_ICMPV6) in _nx_ip_dispatch_process()
450 (UCHAR)protocol, in _nx_ip_dispatch_process()
464 … if ((ip_ptr -> nx_ip_raw_ip_processing)(ip_ptr, protocol << 16, packet_ptr) == NX_SUCCESS) in _nx_ip_dispatch_process()
472 if (protocol == NX_PROTOCOL_TCP) in _nx_ip_dispatch_process()
501 (protocol == NX_PROTOCOL_ICMPV6)) in _nx_ip_dispatch_process()
522 (protocol == NX_PROTOCOL_ICMP)) in _nx_ip_dispatch_process()
539 (protocol == NX_PROTOCOL_IGMP)) in _nx_ip_dispatch_process()
[all …]
Dnxe_ip_max_payload_size_find.c101 ULONG protocol, in _nxe_ip_max_payload_size_find() argument
124 if ((protocol != NX_PROTOCOL_UDP) && in _nxe_ip_max_payload_size_find()
125 (protocol != NX_PROTOCOL_TCP)) in _nxe_ip_max_payload_size_find()
134 protocol, start_offset_ptr, payload_length_ptr)); in _nxe_ip_max_payload_size_find()
Dnxde_ip_raw_packet_send.c92 NXD_ADDRESS *destination_ip, ULONG protocol, UINT ttl, ULONG tos) in _nxde_ip_raw_packet_send() argument
127 if ((protocol & 0x000000FF) != protocol) 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()
Dnxe_udp_packet_info_extract.c87 UINT *protocol, UINT *port, UINT *interface_index) in _nxe_udp_packet_info_extract() argument
101 status = _nx_udp_packet_info_extract(packet_ptr, ip_address, protocol, port, interface_index); in _nxe_udp_packet_info_extract()
108 NX_PARAMETER_NOT_USED(protocol); in _nxe_udp_packet_info_extract()
Dnx_udp_packet_info_extract.c81 UINT *protocol, UINT *port, UINT *interface_index) in _nx_udp_packet_info_extract() argument
90 …status = _nxd_udp_packet_info_extract(packet_ptr, &nxd_ip_address, protocol, port, interface_index… in _nx_udp_packet_info_extract()
113 NX_PARAMETER_NOT_USED(protocol); in _nx_udp_packet_info_extract()
Dnxd_ipv6_raw_packet_send_internal.c83 ULONG protocol) in _nxd_ipv6_raw_packet_send_internal() argument
96 …NX_TRACE_IN_LINE_INSERT(NXD_TRACE_IPV6_RAW_PACKET_SEND, ip_ptr, ip_address_lsw, protocol, packet_p… in _nxd_ipv6_raw_packet_send_internal()
108 …_nx_ipv6_packet_send(ip_ptr, packet_ptr, protocol, packet_ptr -> nx_packet_length, ip_ptr -> nx_ip… in _nxd_ipv6_raw_packet_send_internal()
Dnx_ip_checksum_compute.c80 USHORT _nx_ip_checksum_compute(NX_PACKET *packet_ptr, ULONG protocol, in _nx_ip_checksum_compute() argument
100 if ((protocol == NX_PROTOCOL_UDP) || in _nx_ip_checksum_compute()
102 (protocol == NX_PROTOCOL_ICMPV6) || in _nx_ip_checksum_compute()
104 (protocol == NX_PROTOCOL_TCP)) in _nx_ip_checksum_compute()
109 checksum = protocol; in _nx_ip_checksum_compute()
Dnx_ipv6_header_add.c93 ULONG protocol, ULONG payload_size, ULONG hop_limit, in _nx_ipv6_header_add() argument
150 …status = _nx_ipsec_ip_output_packet_process(ip_ptr, &packet_ptr, protocol, payload_size, (&payload… in _nx_ipv6_header_add()
169 protocol = (((NX_IPSEC_SA *)packet_ptr -> nx_packet_ipsec_sa_ptr) -> nx_ipsec_sa_protocol); in _nx_ipv6_header_add()
210 if (!((protocol == NX_PROTOCOL_ICMPV6) && in _nx_ipv6_header_add()
244 ip_header_ptr -> nx_ip_header_word_1 = (payload_size << 16) | (protocol << 8) | (hop_limit); in _nx_ipv6_header_add()
308 … status = ip_ptr -> nx_ip_ipsec_authentication_header_transmit(ip_ptr, &packet_ptr, protocol, 1); in _nx_ipv6_header_add()
Dnxd_ip_raw_packet_source_send.c90 ULONG protocol, in _nxd_ip_raw_packet_source_send() argument
127 … destination_ip -> nxd_ip_address.v4, (tos & 0xFF) << 16, (ttl & 0xFF), protocol << 16, NX_FRAGMEN… 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()
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()
Dnxde_udp_packet_info_extract.c86 UINT *protocol, UINT *port, UINT *interface_index) in _nxde_udp_packet_info_extract() argument
98 status = _nxd_udp_packet_info_extract(packet_ptr, ip_address, protocol, port, interface_index); in _nxde_udp_packet_info_extract()
Dnx_ip_raw_packet_processing.c79 UINT _nx_ip_raw_packet_processing(NX_IP *ip_ptr, ULONG protocol, NX_PACKET *packet_ptr) in _nx_ip_raw_packet_processing() argument
92 …if ((ip_ptr -> nx_ip_raw_packet_filter)(ip_ptr, (protocol >> 16) & 0xFF, packet_ptr) != NX_SUCCESS) in _nx_ip_raw_packet_processing()
102 NX_PARAMETER_NOT_USED(protocol); in _nx_ip_raw_packet_processing()
Dnx_ip_max_payload_size_find.c106 ULONG protocol, in _nx_ip_max_payload_size_find() argument
183 if (protocol == NX_PROTOCOL_TCP) in _nx_ip_max_payload_size_find()
188 else if (protocol == NX_PROTOCOL_UDP) in _nx_ip_max_payload_size_find()
207 (UCHAR)protocol, src_port, dest_port, in _nx_ip_max_payload_size_find()
214 (UCHAR)protocol, src_port, dest_port, in _nx_ip_max_payload_size_find()
Dnxd_udp_packet_info_extract.c84 UINT *protocol, UINT *port, UINT *interface_index) in _nxd_udp_packet_info_extract() argument
159 if (protocol != NX_NULL) in _nxd_udp_packet_info_extract()
161 *protocol = 0x11; in _nxd_udp_packet_info_extract()
Dnx_ip_packet_send.c94 ULONG protocol, ULONG fragment, ULONG next_hop_address) in _nx_ip_packet_send() argument
179 …status = _nx_ipsec_ip_output_packet_process(ip_ptr, &packet_ptr, (protocol >> 16), payload_size, &… in _nx_ip_packet_send()
200protocol = (ULONG)((((NX_IPSEC_SA *)packet_ptr -> nx_packet_ipsec_sa_ptr) -> nx_ipsec_sa_protocol)… in _nx_ip_packet_send()
217 destination_ip, type_of_service, time_to_live, protocol, fragment); in _nx_ip_packet_send()
336 … status = ip_ptr -> nx_ip_ipsec_authentication_header_transmit(ip_ptr, &packet_ptr, protocol, 1); in _nx_ip_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
173 …d_ip_raw_packet_source_send(ip_ptr, packet_ptr, destination_ip, address_index, protocol, ttl, tos); in _nxde_ip_raw_packet_source_send()
Dnx_ip_header_add.c92 ULONG type_of_service, ULONG time_to_live, ULONG protocol, ULONG fragment) in _nx_ip_header_add() argument
108 if ((protocol == NX_IP_IGMP) && (ip_ptr -> nx_ip_igmp_router_version == NX_IGMP_HOST_VERSION_2)) in _nx_ip_header_add()
169 ip_header_ptr -> nx_ip_header_word_2 = ((time_to_live << NX_IP_TIME_TO_LIVE_SHIFT) | protocol); in _nx_ip_header_add()
Dnx_ipv4_packet_receive.c99 ULONG protocol; in _nx_ipv4_packet_receive() local
648 protocol = (ip_header_ptr -> nx_ip_header_word_2 >> 16) & 0xFF; in _nx_ipv4_packet_receive()
664 if (_nx_ip_dispatch_process(ip_ptr, packet_ptr, (UINT)protocol)) in _nx_ipv4_packet_receive()
677 protocol = ip_header_ptr -> nx_ip_header_word_2 & NX_IP_PROTOCOL_MASK; in _nx_ipv4_packet_receive()
680 if (protocol == NX_IP_UDP) in _nx_ipv4_packet_receive()
/NetX-Duo-v6.3.0/addons/nat/
Dnx_nat.c67 static UINT _nx_nat_entry_create(NX_NAT_DEVICE *nat_ptr, UCHAR protocol, ULONG local_ip_address,…
73 static UINT _nx_nat_find_available_port(NX_NAT_DEVICE *nat_ptr, UCHAR protocol, USHORT *port);
74 static UINT _nx_nat_entry_port_verify(NX_IP *ip_ptr, UINT protocol, UINT port);
75 static UINT _nx_nat_socket_port_verify(NX_IP *ip_ptr, UINT protocol, UINT port);
76 static UINT _nx_nat_utility_get_source_port(NX_PACKET *packet_ptr, UCHAR protocol, USHORT *sourc…
77 static UINT _nx_nat_utility_get_destination_port(NX_PACKET *packet_ptr, UCHAR protocol, USHORT *…
796 … ULONG local_ip_address, USHORT external_port, USHORT local_port, UCHAR protocol) in _nxe_nat_inbound_entry_create() argument
809 if ((!local_ip_address) || (!protocol)) in _nxe_nat_inbound_entry_create()
817 …at_inbound_entry_create(nat_ptr, entry_ptr, local_ip_address, external_port, local_port, protocol); in _nxe_nat_inbound_entry_create()
877 … ULONG local_ip_address, USHORT external_port, USHORT local_port, UCHAR protocol) in _nx_nat_inbound_entry_create() argument
[all …]
Dnx_nat.h200 …UCHAR protocol; /* Packet's network sub pr… member
273 …N_ENTRY *entry_ptr, ULONG local_ip_address, UINT external_port, USHORT local_port, UCHAR protocol);
290 …ENTRY *entry_ptr, ULONG local_ip_address, USHORT external_port, USHORT local_port, UCHAR protocol);
291 …ENTRY *entry_ptr, ULONG local_ip_address, USHORT external_port, USHORT local_port, UCHAR protocol);
/NetX-Duo-v6.3.0/addons/azure_iot/azure_iot_security_module/iot-security-module-core/src/serializer/
Dprotocol_serialize_enum.h19 …atic inline AzureIoTSecurity_Protocol_enum_t protocol_serialize_enum(transport_protocol_t protocol) in protocol_serialize_enum() argument
21 switch (protocol) { in protocol_serialize_enum()
/NetX-Duo-v6.3.0/addons/azure_iot/azure_iot_security_module/iot-security-module-core/inc/asc_security_core/model/schema/
Dlistening_ports_builder.h26 { p->local_port = v0; p->protocol = v1; in AzureIoTSecurity_ListeningPortsCommon_assign()
29 { p->local_port = p2->local_port; p->protocol = p2->protocol; in AzureIoTSecurity_ListeningPortsCommon_copy()
32 { flatbuffers_uint16_assign_to_pe(&p->local_port, v0); p->protocol = v1; in AzureIoTSecurity_ListeningPortsCommon_assign_to_pe()
35 { flatbuffers_uint16_copy_to_pe(&p->local_port, &p2->local_port); p->protocol = p2->protocol; in AzureIoTSecurity_ListeningPortsCommon_copy_to_pe()
38 { flatbuffers_uint16_assign_from_pe(&p->local_port, v0); p->protocol = v1; in AzureIoTSecurity_ListeningPortsCommon_assign_from_pe()
41 { flatbuffers_uint16_copy_from_pe(&p->local_port, &p2->local_port); p->protocol = p2->protocol; in AzureIoTSecurity_ListeningPortsCommon_copy_from_pe()
/NetX-Duo-v6.3.0/addons/websocket/
Dnx_websocket_client.h268 UCHAR *protocol, UINT protocol_length,UINT wait_option);
273 UCHAR *protocol, UINT protocol_length,UINT wait_option);
294 UCHAR *protocol, UINT protocol_length,UINT wait_option);
298 UCHAR *protocol, UINT protocol_length,UINT wait_option);
303 UCHAR *protocol, UINT protocol_length,UINT wait_option);
307 UCHAR *protocol, UINT protocol_length,UINT wait_option);
326 UCHAR *protocol, UINT protocol_length,UINT wait_option);
/NetX-Duo-v6.3.0/common/inc/
Dnx_ip.h111 USHORT _nx_ip_checksum_compute(NX_PACKET *packet_ptr, ULONG protocol, UINT data_length,
150 … UINT src_port, UINT dest_port, ULONG protocol, ULONG *start_offset_ptr,
157 …KET *packet_ptr, NXD_ADDRESS *destination_ip, UINT address_index, ULONG protocol, UINT ttl, ULONG …
166 UINT _nx_ip_raw_packet_processing(NX_IP *ip_ptr, ULONG protocol, NX_PACKET *packet_ptr);
168 NXD_ADDRESS *destination_ip, ULONG protocol, UINT ttl, ULONG tos);
204 … UINT src_port, UINT dest_port, ULONG protocol, ULONG *start_offset_ptr,
209 …KET *packet_ptr, NXD_ADDRESS *destination_ip, UINT address_index, ULONG protocol, UINT ttl, ULONG …
234 UINT _nx_ip_dispatch_process(NX_IP *ip_ptr, NX_PACKET *packet_ptr, UINT protocol);
Dnx_udp.h125 UINT _nx_udp_packet_info_extract(NX_PACKET *packet_ptr, ULONG *ip_address, UINT *protocol, UINT *po…
171 UINT *protocol, UINT *port, UINT *interface_index);
173 UINT *protocol, UINT *port, UINT *interface_index);
174 UINT _nxe_udp_packet_info_extract(NX_PACKET *packet_ptr, ULONG *ip_address, UINT *protocol, UINT *p…

12