Searched refs:gw_addr (Results 1 – 4 of 4) sorted by relevance
/Zephyr-latest/tests/net/lib/mqtt_sn_client/src/ |
D | mqtt_sn_client.c | 20 static const struct mqtt_sn_data gw_addr = MQTT_SN_DATA_STRING_LITERAL("gw1"); variable 164 err = mqtt_sn_add_gw(client, gw_id, gw_addr); in mqtt_sn_connect_no_will() 171 assert_msg_send(1, 12, &gw_addr); in mqtt_sn_connect_no_will() 175 err = input(client, connack, sizeof(connack), &gw_addr); in mqtt_sn_connect_no_will() 192 err = input(mqtt_client, advertise, sizeof(advertise), &gw_addr); in ZTEST() 198 err = input(mqtt_client, advertise, sizeof(advertise), &gw_addr); in ZTEST() 207 assert_msg_send(1, 12, &gw_addr); in ZTEST() 211 err = input(mqtt_client, connack, sizeof(connack), &gw_addr); in ZTEST() 237 err = mqtt_sn_add_gw(mqtt_client, gw_id, gw_addr); in ZTEST() 270 err = input(mqtt_client, gwinfo, sizeof(gwinfo), &gw_addr); in ZTEST() [all …]
|
/Zephyr-latest/include/zephyr/net/ |
D | mqtt_sn.h | 360 int mqtt_sn_add_gw(struct mqtt_sn_client *client, uint8_t gw_id, struct mqtt_sn_data gw_addr);
|
/Zephyr-latest/subsys/net/lib/mqtt_sn/ |
D | mqtt_sn.c | 337 struct mqtt_sn_data gw_addr) in mqtt_sn_gw_create() argument 347 __ASSERT(gw_addr.size < CONFIG_MQTT_SN_LIB_MAX_ADDR_SIZE, in mqtt_sn_gw_create() 351 memcpy(gw->addr, gw_addr.data, gw_addr.size); in mqtt_sn_gw_create() 352 gw->addr_len = gw_addr.size; in mqtt_sn_gw_create() 896 int mqtt_sn_add_gw(struct mqtt_sn_client *client, uint8_t gw_id, struct mqtt_sn_data gw_addr) in mqtt_sn_add_gw() argument 906 gw = mqtt_sn_gw_create(gw_id, -1, gw_addr); in mqtt_sn_add_gw()
|
/Zephyr-latest/subsys/net/ip/ |
D | net_if.c | 4147 struct in_addr gw_addr; in z_vrfy_net_if_ipv4_set_gw_by_index() local 4155 K_OOPS(k_usermode_from_copy(&gw_addr, (void *)gw, sizeof(gw_addr))); in z_vrfy_net_if_ipv4_set_gw_by_index() 4157 return z_impl_net_if_ipv4_set_gw_by_index(index, &gw_addr); in z_vrfy_net_if_ipv4_set_gw_by_index()
|