Home
last modified time | relevance | path

Searched refs:broker4 (Results 1 – 6 of 6) sorted by relevance

/Zephyr-Core-3.5.0/tests/net/lib/mqtt_publisher/src/
Dtest_mqtt_publish.c43 struct sockaddr_in *broker4 = net_sin(&broker); in broker_init()
45 broker4->sin_family = AF_INET; in broker_init()
46 broker4->sin_port = htons(SERVER_PORT); in broker_init()
47 zsock_inet_pton(AF_INET, SERVER_ADDR, &broker4->sin_addr); in broker_init()
/Zephyr-Core-3.5.0/tests/net/lib/mqtt_subscriber/src/
Dtest_mqtt_subscribe.c39 struct sockaddr_in *broker4 = net_sin(&broker); in broker_init()
41 broker4->sin_family = AF_INET; in broker_init()
42 broker4->sin_port = htons(SERVER_PORT); in broker_init()
43 zsock_inet_pton(AF_INET, SERVER_ADDR, &broker4->sin_addr); in broker_init()
/Zephyr-Core-3.5.0/samples/net/cloud/mqtt_azure/src/
Dmain.c122 struct sockaddr_in *broker4 = (struct sockaddr_in *)&broker; in broker_init() local
124 broker4->sin_family = AF_INET; in broker_init()
125 broker4->sin_port = htons(SERVER_PORT); in broker_init()
128 net_ipaddr_copy(&broker4->sin_addr, in broker_init()
131 zsock_inet_pton(AF_INET, SERVER_ADDR, &broker4->sin_addr); in broker_init()
/Zephyr-Core-3.5.0/tests/net/lib/mqtt_pubsub/src/
Dtest_mqtt_pubsub.c69 struct sockaddr_in *broker4 = net_sin(&broker); in broker_init()
71 broker4->sin_family = AF_INET; in broker_init()
72 broker4->sin_port = htons(SERVER_PORT); in broker_init()
73 zsock_inet_pton(AF_INET, SERVER_ADDR, &broker4->sin_addr); in broker_init()
/Zephyr-Core-3.5.0/samples/net/mqtt_publisher/src/
Dmain.c282 struct sockaddr_in *broker4 = (struct sockaddr_in *)&broker; in broker_init()
284 broker4->sin_family = AF_INET; in broker_init()
285 broker4->sin_port = htons(SERVER_PORT); in broker_init()
286 zsock_inet_pton(AF_INET, SERVER_ADDR, &broker4->sin_addr); in broker_init()
/Zephyr-Core-3.5.0/subsys/shell/backends/
Dshell_mqtt.c187 struct sockaddr_in *broker4 = (struct sockaddr_in *)&sh_mqtt->broker; in broker_init() local
189 broker4->sin_family = AF_INET; in broker_init()
190 broker4->sin_port = htons(CONFIG_SHELL_MQTT_SERVER_PORT); in broker_init()
192 net_ipaddr_copy(&broker4->sin_addr, &net_sin(sh_mqtt->haddr->ai_addr)->sin_addr); in broker_init()