/AliOS-Things-master/components/ota/2ndboot/updater/ |
A D | xzupdater.c | 73 static int32_t ota_copy_xz(unsigned int dst_addr, unsigned int src_addr, unsigned int size) in ota_copy_xz() argument 82 unsigned int read_addr = src_addr; in ota_copy_xz() 189 static int ota_xz_uncompress(unsigned int dst_addr, unsigned int src_addr, unsigned int size) in ota_xz_uncompress() argument 191 if(ota_is_xz_header(src_addr) == true) { in ota_xz_uncompress() 192 return ota_copy_xz(dst_addr, src_addr, size); in ota_xz_uncompress() 197 static int32_t ota_verify_xz(unsigned int dst_addr, unsigned int src_addr, unsigned int size) in ota_verify_xz() argument 207 unsigned int read_addr = src_addr; in ota_verify_xz() 298 static int ota_xz_verify(unsigned int dst_addr, unsigned int src_addr, unsigned int size) in ota_xz_verify() argument 300 if(ota_is_xz_header(src_addr) == true) { in ota_xz_verify() 301 return ota_verify_xz(dst_addr, src_addr, size); in ota_xz_verify()
|
/AliOS-Things-master/components/ble_mesh/bt_mesh/mesh_models/sig_model/srv/ |
A D | generic_level_srv.c | 20 extern uint8_t mesh_check_tid(u16_t src_addr, u8_t tid); 56 static u8_t _generic_level_analyze(struct bt_mesh_model *model, u16_t src_addr, struct net_buf_simp… in _generic_level_analyze() argument 87 if (mesh_check_tid(src_addr, tid) != MESH_SUCCESS) { in _generic_level_analyze() 88 LOGE(TAG, "MESH_TID_REPEAT src_addr(0x%04x) tid(0x%02x)", src_addr, tid); in _generic_level_analyze() 126 message.source_addr = src_addr; in _generic_level_analyze() 225 static u8_t _generic_delta_analyze(struct bt_mesh_model *model, u16_t src_addr, struct net_buf_simp… in _generic_delta_analyze() argument 258 if (mesh_check_tid(src_addr, tid) == MESH_TID_REPEAT) { in _generic_delta_analyze() 288 message.source_addr = src_addr; in _generic_delta_analyze() 345 if (mesh_check_tid(src_addr, tid) != MESH_SUCCESS) { in _generic_level_move_analyze() 346 LOGE(TAG, "MESH_TID_REPEAT src_addr(0x%04x) tid(0x%02x)", src_addr, tid); in _generic_level_move_analyze() [all …]
|
A D | light_lightness_srv.c | 13 extern uint8_t mesh_check_tid(u16_t src_addr, u8_t tid); 113 static E_MESH_ERROR_TYPE _light_lightness_analyze(struct bt_mesh_model *model, u16_t src_addr, stru… in _light_lightness_analyze() argument 149 if (mesh_check_tid(src_addr, tid) != MESH_SUCCESS) { in _light_lightness_analyze() 150 LOGE(TAG, "MESH_TID_REPEAT src_addr(0x%04x) tid(0x%02x)", src_addr, tid); in _light_lightness_analyze() 180 message.source_addr = src_addr; in _light_lightness_analyze() 277 …TYPE _light_lightness_linear_analyze(struct bt_mesh_model *model, u16_t src_addr, struct net_buf_s… in _light_lightness_linear_analyze() argument 303 if (mesh_check_tid(src_addr, tid) != MESH_SUCCESS) { in _light_lightness_linear_analyze() 304 LOGE(TAG, "MESH_TID_REPEAT src_addr(0x%04x) TID(0x%02x)", src_addr, tid); in _light_lightness_linear_analyze() 344 message.source_addr = src_addr; in _light_lightness_linear_analyze() 542 message.source_addr = src_addr; in _light_lightness_default_analyze() [all …]
|
A D | generic_onoff_srv.c | 18 extern uint8_t mesh_check_tid(u16_t src_addr, u8_t tid); 61 static E_MESH_ERROR_TYPE _generic_onoff_analyze(struct bt_mesh_model *model, u16_t src_addr, struct… in _generic_onoff_analyze() argument 97 if (mesh_check_tid(src_addr, tid) != MESH_SUCCESS) { in _generic_onoff_analyze() 98 LOGE(TAG, "MESH_TID_REPEAT src_addr(0x%04x) tid(0x%02x)", src_addr, tid); in _generic_onoff_analyze() 124 message.source_addr = src_addr; in _generic_onoff_analyze()
|
A D | light_ctl_srv.c | 13 extern uint8_t mesh_check_tid(u16_t src_addr, u8_t tid); 116 static u8_t _ctl_analyze(struct bt_mesh_model *model, u16_t src_addr, struct net_buf_simple *p_buf) in _ctl_analyze() argument 155 if (mesh_check_tid(src_addr, tid) != MESH_SUCCESS) { in _ctl_analyze() 156 LOGE(TAG, "MESH_TID_REPEAT src_addr(0x%04x) tid(0x%02x)", src_addr, tid); in _ctl_analyze() 212 message.source_addr = src_addr; in _ctl_analyze() 364 message.source_addr = src_addr; in _ctl_default_analyze() 427 message.source_addr = src_addr; in _ctl_temp_range_analyze() 503 static u8_t _ctl_temp_analyze(struct bt_mesh_model *model, u16_t src_addr, struct net_buf_simple *p… in _ctl_temp_analyze() argument 537 if (mesh_check_tid(src_addr, tid) != MESH_SUCCESS) { in _ctl_temp_analyze() 538 LOGE(TAG, "MESH_TID_REPEAT src_addr(0x%04x) tid(0x%02x)", src_addr, tid); in _ctl_temp_analyze() [all …]
|
/AliOS-Things-master/components/genie_service/core/src/ |
A D | genie_transport.c | 221 E_MESH_ERROR_TYPE genie_transport_check_tid(u16_t src_addr, uint8_t tid, uint8_t elem_id) in genie_transport_check_tid() argument 229 if (src_addr >= TMALL_GENIE_UADDR_START && src_addr <= TMALL_GENIE_UADDR_END) in genie_transport_check_tid() 231 src_addr = TMALL_GENIE_UADDR_START; in genie_transport_check_tid() 237 …if ((tid_queue[ri].tid == tid) && (tid_queue[ri].addr == src_addr) && (tid_queue[ri].elemid == ele… in genie_transport_check_tid() 255 tid_queue[cur_index].addr = src_addr; in genie_transport_check_tid() 264 void genie_transport_src_addr_set(uint16_t src_addr) in genie_transport_src_addr_set() argument 266 last_src_addr = src_addr; in genie_transport_src_addr_set()
|
/AliOS-Things-master/components/genie_service/core/src/sig_models/ |
A D | sig_model_scene_srv.c | 46 u16_t src_addr, struct net_buf_simple *p_buf) in _scene_analyze() argument 66 if (genie_transport_check_tid(src_addr, tid, p_elem->element_id) != MESH_SUCCESS) in _scene_analyze() 68 BT_ERR("MESH_TID_REPEAT src_addr(0x%04x) tid(0x%02x)", src_addr, tid); in _scene_analyze() 71 genie_transport_src_addr_set(src_addr); in _scene_analyze()
|
A D | sig_model_onoff_srv.c | 68 u16_t src_addr, struct net_buf_simple *p_buf) in _gen_onoff_analyze() argument 121 if (genie_transport_check_tid(src_addr, tid, p_elem->element_id) != MESH_SUCCESS) in _gen_onoff_analyze() 123 BT_ERR("MESH_TID_REPEAT src_addr(0x%04x) tid(0x%02x)", src_addr, tid); in _gen_onoff_analyze() 126 genie_transport_src_addr_set(src_addr); in _gen_onoff_analyze()
|
A D | sig_model_lightness_srv.c | 66 u16_t src_addr, struct net_buf_simple *p_buf) in _lightness_analyze() argument 108 if (genie_transport_check_tid(src_addr, tid, p_elem->element_id) != MESH_SUCCESS) in _lightness_analyze() 110 BT_ERR("MESH_TID_REPEAT src_addr(0x%04x) tid(0x%02x)", src_addr, tid); in _lightness_analyze()
|
A D | sig_model_light_ctl_srv.c | 68 u16_t src_addr, struct net_buf_simple *p_buf) in _ctl_analyze() argument 125 if (genie_transport_check_tid(src_addr, tid, p_elem->element_id) != MESH_SUCCESS) in _ctl_analyze() 127 BT_ERR("MESH_TID_REPEAT src_addr(0x%04x) tid(0x%02x)", src_addr, tid); in _ctl_analyze()
|
/AliOS-Things-master/components/lwip/lwip2.0.0/core/ipv6/ |
A D | mld6.c | 529 const ip6_addr_t *src_addr; in mld6_send() local 549 src_addr = IP6_ADDR_ANY6; in mld6_send() 552 src_addr = netif_ip6_addr(netif, 0); in mld6_send() 569 src_addr, &(group->group_address)); in mld6_send() 578 ip6_output_if(p, (ip6_addr_isany(src_addr)) ? NULL : src_addr, &(group->group_address), in mld6_send()
|
A D | nd6.c | 920 const ip6_addr_t *src_addr; in nd6_send_ns() local 929 src_addr = IP6_ADDR_ANY6; in nd6_send_ns() 972 ip6_output_if(p, (src_addr == IP6_ADDR_ANY6) ? NULL : src_addr, target_addr, in nd6_send_ns() 990 const ip6_addr_t *src_addr; in nd6_send_na() local 997 src_addr = target_addr; in nd6_send_na() 1044 ip6_output_if(p, src_addr, dest_addr, in nd6_send_na() 1061 const ip6_addr_t *src_addr; in nd6_send_rs() local 1072 src_addr = IP6_ADDR_ANY6; in nd6_send_rs() 1080 if (src_addr != IP6_ADDR_ANY6) { in nd6_send_rs() 1097 if (src_addr != IP6_ADDR_ANY6) { in nd6_send_rs() [all …]
|
A D | ip6.c | 940 ip6_addr_t src_addr, dest_addr; in ip6_output() local 949 ip6_addr_copy(src_addr, ip6hdr->src); in ip6_output() 951 netif = ip6_route(&src_addr, &dest_addr); in ip6_output() 998 ip6_addr_t src_addr, dest_addr; in ip6_output_hinted() local 1008 ip6_addr_copy(src_addr, ip6hdr->src); in ip6_output_hinted() 1010 netif = ip6_route(&src_addr, &dest_addr); in ip6_output_hinted()
|
/AliOS-Things-master/components/genie_service/core/inc/ |
A D | genie_transport.h | 111 genie_transport_check_tid(uint16_t src_addr, uint8_t tid, uint8_t elem_id); 113 void genie_transport_src_addr_set(uint16_t src_addr);
|
/AliOS-Things-master/components/ble_mesh/bt_mesh/mesh_models/common/ |
A D | mesh_model.c | 145 E_MESH_ERROR_TYPE mesh_check_tid(u16_t src_addr, u8_t tid) in mesh_check_tid() argument 156 if (tid_queue[ri].tid == tid && tid_queue[ri].addr == src_addr) { in mesh_check_tid() 171 tid_queue[cur_index].addr = src_addr; in mesh_check_tid()
|
/AliOS-Things-master/components/py_engine/engine/shared/netutils/ |
A D | dhcpserver.c | 183 …ocess(void *arg, struct udp_pcb *upcb, struct pbuf *p, const ip_addr_t *src_addr, u16_t src_port) { in dhcp_server_process() argument 186 (void)src_addr; in dhcp_server_process()
|
/AliOS-Things-master/components/ble_mesh/bt_mesh/mesh_models/vendor_model/ |
A D | vendor_model_cli.c | 20 extern uint8_t mesh_check_tid(u16_t src_addr, u8_t tid);
|
A D | vendor_model_srv.c | 20 extern uint8_t mesh_check_tid(u16_t src_addr, u8_t tid);
|
/AliOS-Things-master/hardware/chip/rtl872xd/sdk/component/common/drivers/wlan/realtek/src/osdep/ |
A D | wireless.h | 950 struct sockaddr_t src_addr; member
|