Home
last modified time | relevance | path

Searched refs:SERVER_PORT (Results 1 – 23 of 23) sorted by relevance

/Zephyr-Core-3.7.0/samples/net/mqtt_publisher/src/
Dconfig.h35 #define SERVER_PORT 9001 macro
37 #define SERVER_PORT 8883 macro
41 #define SERVER_PORT 9001 macro
43 #define SERVER_PORT 1883 macro
Dmain.c271 broker6->sin6_port = htons(SERVER_PORT); in broker_init()
285 broker4->sin_port = htons(SERVER_PORT); in broker_init()
/Zephyr-Core-3.7.0/tests/net/lib/http_server/crime/src/
Dmain.c17 #define SERVER_PORT 8080 macro
46 static uint16_t test_http_service_port = SERVER_PORT;
81 sa.sin_port = htons(SERVER_PORT); in test_crime()
/Zephyr-Core-3.7.0/samples/net/cloud/mqtt_azure/src/
Dconfig.h11 #define SERVER_PORT CONFIG_SAMPLE_CLOUD_AZURE_SERVER_PORT macro
Dmain.c126 broker4->sin_port = htons(SERVER_PORT); in broker_init()
/Zephyr-Core-3.7.0/tests/net/lib/mqtt_pubsub/src/
Dconfig.h28 #define SERVER_PORT 1883 macro
Dtest_mqtt_pubsub.c43 broker6->sin6_port = htons(SERVER_PORT); in broker_init()
49 broker4->sin_port = htons(SERVER_PORT); in broker_init()
/Zephyr-Core-3.7.0/tests/net/lib/mqtt_publisher/src/
Dconfig.h28 #define SERVER_PORT 1883 macro
Dtest_mqtt_publish.c40 broker6->sin6_port = htons(SERVER_PORT); in broker_init()
46 broker4->sin_port = htons(SERVER_PORT); in broker_init()
/Zephyr-Core-3.7.0/tests/net/lib/mqtt_subscriber/src/
Dconfig.h28 #define SERVER_PORT 1883 macro
Dtest_mqtt_subscribe.c36 broker6->sin6_port = htons(SERVER_PORT); in broker_init()
42 broker4->sin_port = htons(SERVER_PORT); in broker_init()
/Zephyr-Core-3.7.0/tests/net/socket/tcp/src/
Dmain.c31 #define SERVER_PORT 4242 macro
242 prepare_sock_tcp_v4(MY_IPV4_ADDR, SERVER_PORT, &s_sock, &s_saddr); in ZTEST_USER()
277 prepare_sock_tcp_v6(MY_IPV6_ADDR, SERVER_PORT, &s_sock, &s_saddr); in ZTEST_USER()
374 prepare_sock_tcp_v4(MY_IPV4_ADDR, SERVER_PORT, &s_sock, &s_saddr_in); in test_send_recv_large_common()
380 prepare_sock_tcp_v6(MY_IPV6_ADDR, SERVER_PORT, &s_sock, &s_saddr_in6); in test_send_recv_large_common()
519 prepare_sock_tcp_v4(MY_IPV4_ADDR, SERVER_PORT, &s_sock, &s_saddr); in ZTEST()
590 prepare_sock_tcp_v4(MY_IPV4_ADDR, SERVER_PORT, &s_sock, &s_saddr); in ZTEST_USER()
627 prepare_sock_tcp_v6(MY_IPV6_ADDR, SERVER_PORT, &s_sock, &s_saddr); in ZTEST_USER()
664 prepare_sock_tcp_v4(MY_IPV4_ADDR, SERVER_PORT, &s_sock, &s_saddr); in ZTEST_USER()
697 prepare_sock_tcp_v6(MY_IPV6_ADDR, SERVER_PORT, &s_sock, &s_saddr); in ZTEST_USER()
[all …]
/Zephyr-Core-3.7.0/tests/net/lib/http_server/tls/src/
Dmain.c28 #define SERVER_PORT 8000 macro
44 static uint16_t test_http_service_port = SERVER_PORT;
176 sa.sin_port = htons(SERVER_PORT); in test_tls()
/Zephyr-Core-3.7.0/samples/net/sockets/websocket_client/src/
Dmain.c20 #define SERVER_PORT 9001 macro
327 (void)connect_socket(AF_INET, SERVER_ADDR4, SERVER_PORT, in main()
333 (void)connect_socket(AF_INET6, SERVER_ADDR6, SERVER_PORT, in main()
358 SERVER_PORT); in main()
378 SERVER_PORT); in main()
/Zephyr-Core-3.7.0/tests/net/socket/service/src/
Dmain.c25 #define SERVER_PORT 4242 macro
83 prepare_sock_udp_v6(MY_IPV6_ADDR, SERVER_PORT, &s_sock_udp, &s_addr); in run_test_service()
85 prepare_sock_tcp_v6(MY_IPV6_ADDR, SERVER_PORT, &s_sock_tcp, &s_addr); in run_test_service()
/Zephyr-Core-3.7.0/tests/net/socket/poll/src/
Dmain.c26 #define SERVER_PORT 4242 macro
50 prepare_sock_udp_v6(MY_IPV6_ADDR, SERVER_PORT, &s_sock, &s_addr); in ZTEST()
52 prepare_sock_tcp_v6(MY_IPV6_ADDR, SERVER_PORT, &s_sock_tcp, &s_addr); in ZTEST()
190 prepare_sock_tcp_v6(MY_IPV6_ADDR, SERVER_PORT, &s_sock, &s_addr); in ZTEST()
/Zephyr-Core-3.7.0/tests/net/socket/udp/src/
Dmain.c53 #define SERVER_PORT 4242 macro
178 prepare_sock_udp_v4(MY_IPV4_ADDR, SERVER_PORT, &server_sock, &server_addr); in ZTEST()
207 prepare_sock_udp_v6(MY_IPV6_ADDR, SERVER_PORT, &server_sock, &server_addr); in ZTEST()
235 prepare_sock_udp_v4(MY_IPV4_ADDR, SERVER_PORT, &server_sock, &server_addr); in ZTEST()
267 prepare_sock_udp_v6(MY_IPV6_ADDR, SERVER_PORT, &server_sock, &server_addr); in ZTEST()
437 prepare_sock_udp_v4(MY_IPV4_ADDR, SERVER_PORT, &server_sock, &server_addr); in ZTEST_USER()
491 prepare_sock_udp_v4(MY_IPV4_ADDR, SERVER_PORT, &server_sock, &server_addr); in ZTEST_USER()
542 prepare_sock_udp_v6(MY_IPV6_ADDR, SERVER_PORT, &server_sock, &server_addr); in ZTEST_USER()
600 prepare_sock_udp_v4(MY_IPV4_ADDR, SERVER_PORT, &server_sock, &server_addr); in ZTEST_USER()
661 prepare_sock_udp_v6(MY_IPV6_ADDR, SERVER_PORT, &server_sock, &server_addr); in ZTEST_USER()
[all …]
/Zephyr-Core-3.7.0/tests/net/socket/select/src/
Dmain.c25 #define SERVER_PORT 4242 macro
82 prepare_sock_udp_v6(MY_IPV6_ADDR, SERVER_PORT, &s_sock, &s_addr); in ZTEST_USER()
/Zephyr-Core-3.7.0/tests/net/dhcpv4/client/src/
Dmain.c216 #define SERVER_PORT 67 macro
288 net_udp_create(pkt, htons(SERVER_PORT), htons(CLIENT_PORT))) { in prepare_dhcp_offer()
329 net_udp_create(pkt, htons(SERVER_PORT), htons(CLIENT_PORT))) { in prepare_dhcp_ack()
/Zephyr-Core-3.7.0/tests/net/lib/http_server/core/src/
Dmain.c19 #define SERVER_PORT 8080 macro
118 static uint16_t test_http_service_port = SERVER_PORT;
913 sa.sin_port = htons(SERVER_PORT); in ZTEST()
1074 sa.sin_port = htons(SERVER_PORT); in http_server_tests_before()
/Zephyr-Core-3.7.0/tests/net/socket/tls/src/
Dmain.c25 #define SERVER_PORT 4242 macro
883 s_saddr.sin6_port = htons(SERVER_PORT); in ZTEST()
912 s_saddr.sin6_port = htons(SERVER_PORT); in ZTEST()
974 prepare_sock_tcp_v6(MY_IPV6_ADDR, SERVER_PORT, s_sock, in test_prepare_fake_tcp_server()
977 prepare_sock_tcp_v4(MY_IPV4_ADDR, SERVER_PORT, s_sock, in test_prepare_fake_tcp_server()
1046 prepare_sock_tls_v6(MY_IPV6_ADDR, SERVER_PORT, &s_sock, &s_saddr, in ZTEST()
/Zephyr-Core-3.7.0/tests/net/vlan/src/
Dmain.c46 #define SERVER_PORT 4242 macro
814 prepare_sock_udp_v6(MY_IPV6_ADDR_SRV, SERVER_PORT, &server_sock, &server_addr); in ZTEST()
/Zephyr-Core-3.7.0/samples/net/mqtt_publisher/
DREADME.rst47 #define SERVER_PORT 1883