Home
last modified time | relevance | path

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

12345

/NetX-Duo-v6.2.1/test/regression/bsd_test/
Dnetx_bsd_pton_test.c45 ULONG ipv6_addr_num1[] = {htonl(0xfe800000), htonl(0), htonl(0x74ac2217), htonl(0x05305d7f)}; in ntest_0_entry()
48 ULONG ipv6_addr_num2[] = {htonl(0xfe800000), htonl(0), htonl(0x74ac0000), htonl(0x05305d7f)}; in ntest_0_entry()
51 ULONG ipv6_addr_num3[] = {htonl(0), htonl(0), htonl(0xffff), htonl(0x01020304)}; in ntest_0_entry()
54 ULONG ipv6_addr_num4[] = {htonl(0), htonl(0), htonl(0), htonl(0x01020304)}; in ntest_0_entry()
60 ULONG ipv6_addr_num6[] = {htonl(0x20010000), htonl(3), htonl(0), htonl(0x53)}; in ntest_0_entry()
63 ULONG ipv4_addr_num1[] = {htonl(0x01020304)}; in ntest_0_entry()
68 ULONG ipv4_addr_num3[] = {htonl(0x0b0a0a0a)}; in ntest_0_entry()
Dnetx_bsd_ntop_test.c79 ULONG ipv6_addr1[] = {htonl(0xfe800000), htonl(0), htonl(0x74ac2217), htonl(0x5305d7f)}; in ntest_0_entry()
81 ULONG ipv6_addr2[] = {htonl(0xfe800000), htonl(0), htonl(0x74ac0000), htonl(0x5305d7f)}; in ntest_0_entry()
83 ULONG ipv6_addr3[] = {htonl(0), htonl(0), htonl(0xffff), htonl(0x01020304)}; in ntest_0_entry()
85 ULONG ipv6_addr4[] = {htonl(0), htonl(0), htonl(0), htonl(0x01020304)}; in ntest_0_entry()
87 ULONG ipv6_addr5[] = {htonl(0xfe801232), htonl(0xaf65f3d2), htonl(0x2d28af23), htonl(0x2010403)}; in ntest_0_entry()
Dnetx_bsd_aton_test.c48 if((status != 1) || (in_val.s_addr != htonl(0x0b0a0a0a))) in ntest_0_entry()
52 if((status != 1) || (in_val.s_addr != htonl(0x0b0a0a0a))) in ntest_0_entry()
56 if((status != 1) || (in_val.s_addr != htonl(0x0b0a0a0a))) in ntest_0_entry()
61 if((status != 1) || (in_val.s_addr != htonl(0x0b0a0a0a))) in ntest_0_entry()
66 if((status != 1) || (in_val.s_addr != htonl(0x0b0a0a0a))) in ntest_0_entry()
71 if((status != 1) || (in_val.s_addr != htonl(0x0b0a0a0a))) in ntest_0_entry()
Dnetx_bsd_tcp_basic_blocking_test.c180 if(((struct sockaddr_in*)&remote_address) -> sin_addr.s_addr != htonl(0x01020305)) in bsd_server_helper_thread_entry()
188 … if((remote_address.sin6_addr._S6_un._S6_u32[0] != htonl(ipv6_address_ip1.nxd_ip_address.v6[0])) || in bsd_server_helper_thread_entry()
189 … (remote_address.sin6_addr._S6_un._S6_u32[1] != htonl(ipv6_address_ip1.nxd_ip_address.v6[1])) || in bsd_server_helper_thread_entry()
190 … (remote_address.sin6_addr._S6_un._S6_u32[2] != htonl(ipv6_address_ip1.nxd_ip_address.v6[2])) || in bsd_server_helper_thread_entry()
191 … (remote_address.sin6_addr._S6_un._S6_u32[3] != htonl(ipv6_address_ip1.nxd_ip_address.v6[3]))) in bsd_server_helper_thread_entry()
292 remote_addr.sin_addr.s_addr = htonl(0x01020305); in test_tcp_client4()
381 … else if((remote_addr.sin_family != AF_INET) || (remote_addr.sin_addr.s_addr != htonl(0x01020305))) in test_tcp_server4()
394 else if(local_addr.sin_addr.s_addr != htonl(IP_ADDRESS(1, 2, 3, 4))) in test_tcp_server4()
405 else if(remote_addr.sin_addr.s_addr != htonl(IP_ADDRESS(1,2,3,5))) in test_tcp_server4()
451 remote_addr.sin6_addr._S6_un._S6_u32[0] = htonl(ipv6_address_ip1.nxd_ip_address.v6[0]); in test_tcp_client6()
[all …]
Dnetx_bsd_tcp_rcvbuf_test.c179 if(((struct sockaddr_in*)&remote_address) -> sin_addr.s_addr != htonl(0x01020305)) in bsd_server_helper_thread_entry()
187 … if((remote_address.sin6_addr._S6_un._S6_u32[0] != htonl(ipv6_address_ip1.nxd_ip_address.v6[0])) || in bsd_server_helper_thread_entry()
188 … (remote_address.sin6_addr._S6_un._S6_u32[1] != htonl(ipv6_address_ip1.nxd_ip_address.v6[1])) || in bsd_server_helper_thread_entry()
189 … (remote_address.sin6_addr._S6_un._S6_u32[2] != htonl(ipv6_address_ip1.nxd_ip_address.v6[2])) || in bsd_server_helper_thread_entry()
190 … (remote_address.sin6_addr._S6_un._S6_u32[3] != htonl(ipv6_address_ip1.nxd_ip_address.v6[3]))) in bsd_server_helper_thread_entry()
292 remote_addr.sin_addr.s_addr = htonl(0x01020305); in test_tcp_client4()
386 … else if((remote_addr.sin_family != AF_INET) || (remote_addr.sin_addr.s_addr != htonl(0x01020305))) in test_tcp_server4()
403 else if(local_addr.sin_addr.s_addr != htonl(IP_ADDRESS(1, 2, 3, 4))) in test_tcp_server4()
414 else if(remote_addr.sin_addr.s_addr != htonl(IP_ADDRESS(1,2,3,5))) in test_tcp_server4()
461 remote_addr.sin6_addr._S6_un._S6_u32[0] = htonl(ipv6_address_ip1.nxd_ip_address.v6[0]); in test_tcp_client6()
[all …]
/NetX-Duo-v6.2.1/samples/
Ddemo_bsd_tcp.c229 serverAddr.sin6_addr._S6_un._S6_u32[0] = htonl(0x20010db8u); in thread_server_entry()
230 serverAddr.sin6_addr._S6_un._S6_u32[1] = htonl(0xf101u); in thread_server_entry()
232 serverAddr.sin6_addr._S6_un._S6_u32[3] = htonl(0x0101u); in thread_server_entry()
239 serverAddr.sin_addr.s_addr = htonl(IP_ADDRESS(1,2,3,4)); in thread_server_entry()
428 localAddr6.sin6_addr._S6_un._S6_u32[0] = htonl(0x20010db8u); in thread_client_entry()
429 localAddr6.sin6_addr._S6_un._S6_u32[1] = htonl(0xf101u); in thread_client_entry()
431 localAddr6.sin6_addr._S6_un._S6_u32[3] = htonl(0x0101u); in thread_client_entry()
436 echoServAddr6.sin6_addr._S6_un._S6_u32[0] = htonl(0x20010db8u); in thread_client_entry()
437 echoServAddr6.sin6_addr._S6_un._S6_u32[1] = htonl(0xf101u); in thread_client_entry()
439 echoServAddr6.sin6_addr._S6_un._S6_u32[3] = htonl(0x0101u); in thread_client_entry()
[all …]
/NetX-Duo-v6.2.1/ports/cortex_m23/gnu/inc/
Dnx_port.h93 #ifndef htonl
94 #define htonl(val) __builtin_bswap32(val) macro
125 #ifndef htonl
126 #define htonl(val) (val) macro
/NetX-Duo-v6.2.1/ports/cortex_m23/iar/inc/
Dnx_port.h91 #ifndef htonl
92 #define htonl(val) __REV(val) macro
123 #ifndef htonl
124 #define htonl(val) (val) macro
/NetX-Duo-v6.2.1/ports/cortex_m3/gnu/inc/
Dnx_port.h97 #ifndef htonl
98 #define htonl(val) __builtin_bswap32(val) macro
129 #ifndef htonl
130 #define htonl(val) (val) macro
/NetX-Duo-v6.2.1/ports/cortex_m3/iar/inc/
Dnx_port.h91 #ifndef htonl
92 #define htonl(val) __REV(val) macro
123 #ifndef htonl
124 #define htonl(val) (val) macro
/NetX-Duo-v6.2.1/ports/cortex_m33/ac6/inc/
Dnx_port.h90 #ifndef htonl
91 #define htonl(val) __builtin_bswap32(val) macro
122 #ifndef htonl
123 #define htonl(val) (val) macro
/NetX-Duo-v6.2.1/ports/cortex_m33/gnu/inc/
Dnx_port.h94 #ifndef htonl
95 #define htonl(val) __builtin_bswap32(val) macro
126 #ifndef htonl
127 #define htonl(val) (val) macro
/NetX-Duo-v6.2.1/ports/cortex_m33/iar/inc/
Dnx_port.h94 #ifndef htonl
95 #define htonl(val) __REV(val) macro
126 #ifndef htonl
127 #define htonl(val) (val) macro
/NetX-Duo-v6.2.1/ports/cortex_m4/gnu/inc/
Dnx_port.h97 #ifndef htonl
98 #define htonl(val) __builtin_bswap32(val) macro
129 #ifndef htonl
130 #define htonl(val) (val) macro
/NetX-Duo-v6.2.1/ports/cortex_m4/iar/inc/
Dnx_port.h91 #ifndef htonl
92 #define htonl(val) __REV(val) macro
123 #ifndef htonl
124 #define htonl(val) (val) macro
/NetX-Duo-v6.2.1/ports/cortex_m55/ac6/inc/
Dnx_port.h90 #ifndef htonl
91 #define htonl(val) __builtin_bswap32(val) macro
122 #ifndef htonl
123 #define htonl(val) (val) macro
/NetX-Duo-v6.2.1/ports/cortex_m55/gnu/inc/
Dnx_port.h90 #ifndef htonl
91 #define htonl(val) __builtin_bswap32(val) macro
122 #ifndef htonl
123 #define htonl(val) (val) macro
/NetX-Duo-v6.2.1/ports/cortex_m55/iar/inc/
Dnx_port.h90 #ifndef htonl
91 #define htonl(val) __REV(val) macro
122 #ifndef htonl
123 #define htonl(val) (val) macro
/NetX-Duo-v6.2.1/ports/cortex_m7/ac6/inc/
Dnx_port.h90 #ifndef htonl
91 #define htonl(val) __builtin_bswap32(val) macro
122 #ifndef htonl
123 #define htonl(val) (val) macro
/NetX-Duo-v6.2.1/ports/cortex_m7/gnu/inc/
Dnx_port.h97 #ifndef htonl
98 #define htonl(val) __builtin_bswap32(val) macro
129 #ifndef htonl
130 #define htonl(val) (val) macro
/NetX-Duo-v6.2.1/ports/cortex_m7/iar/inc/
Dnx_port.h91 #ifndef htonl
92 #define htonl(val) __REV(val) macro
123 #ifndef htonl
124 #define htonl(val) (val) macro
/NetX-Duo-v6.2.1/ports/cortex_m85/ac6/inc/
Dnx_port.h90 #ifndef htonl
91 #define htonl(val) __builtin_bswap32(val) macro
122 #ifndef htonl
123 #define htonl(val) (val) macro
/NetX-Duo-v6.2.1/ports/cortex_m85/gnu/inc/
Dnx_port.h90 #ifndef htonl
91 #define htonl(val) __builtin_bswap32(val) macro
122 #ifndef htonl
123 #define htonl(val) (val) macro
/NetX-Duo-v6.2.1/ports/cortex_m85/iar/inc/
Dnx_port.h90 #ifndef htonl
91 #define htonl(val) __REV(val) macro
122 #ifndef htonl
123 #define htonl(val) (val) macro
/NetX-Duo-v6.2.1/ports/cortex_r4/ac6/inc/
Dnx_port.h93 #ifndef htonl
94 #define htonl(val) __builtin_bswap32(val) macro
125 #ifndef htonl
126 #define htonl(val) (val) macro

12345