Searched refs:broker4 (Results 1 – 6 of 6) sorted by relevance
/Zephyr-Core-3.5.0/tests/net/lib/mqtt_publisher/src/ |
D | test_mqtt_publish.c | 43 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/ |
D | test_mqtt_subscribe.c | 39 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/ |
D | main.c | 122 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/ |
D | test_mqtt_pubsub.c | 69 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/ |
D | main.c | 282 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/ |
D | shell_mqtt.c | 187 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()
|