Home
last modified time | relevance | path

Searched refs:addr (Results 1 – 25 of 513) sorted by relevance

12345678910>>...21

/hal_espressif-2.7.6/components/xtensa/include/xtensa/
Dcore-macros.h108 # define xthal_icache_line_invalidate(addr) do { void *__a = (void*)(addr); \ argument
112 # define xthal_icache_line_invalidate(addr) do {/*nothing*/} while(0) argument
116 # define xthal_icache_line_lock(addr) do { void *__a = (void*)(addr); \ argument
119 # define xthal_icache_line_unlock(addr) do { void *__a = (void*)(addr); \ argument
123 # define xthal_icache_line_lock(addr) do {/*nothing*/} while(0) argument
124 # define xthal_icache_line_unlock(addr) do {/*nothing*/} while(0) argument
143 # define xthal_dcache_line_invalidate(addr) do { void *__a = (void*)(addr); \ argument
146 # define xthal_dcache_line_writeback(addr) do { void *__a = (void*)(addr); \ argument
149 # define xthal_dcache_line_writeback_inv(addr) do { void *__a = (void*)(addr); \ argument
154 # define xthal_dcache_line_prefetch_for_read(addr) do { \ argument
[all …]
/hal_espressif-2.7.6/components/bt/esp_ble_mesh/mesh_core/
Dmesh.h22 #define BLE_MESH_ADDR_IS_UNICAST(addr) ((addr) && (addr) < 0x8000) argument
23 #define BLE_MESH_ADDR_IS_GROUP(addr) ((addr) >= 0xc000 && (addr) <= 0xff00) argument
24 #define BLE_MESH_ADDR_IS_VIRTUAL(addr) ((addr) >= 0x8000 && (addr) < 0xc000) argument
25 #define BLE_MESH_ADDR_IS_RFU(addr) ((addr) >= 0xff00 && (addr) <= 0xfffb) argument
/hal_espressif-2.7.6/components/hal/esp32/include/hal/
Dmpu_ll.h39 static inline void mpu_ll_set_region_rw(uint32_t addr) in mpu_ll_set_region_rw() argument
41 WDTLB(0x0, addr); // cached, no allocate in mpu_ll_set_region_rw()
44 static inline void mpu_ll_set_region_rwx(uint32_t addr) in mpu_ll_set_region_rwx() argument
46 WDTLB(0x2, addr); // bypass cache in mpu_ll_set_region_rwx()
49 static inline void mpu_ll_set_region_x(uint32_t addr) in mpu_ll_set_region_x() argument
51 WITLB(0x3, addr); // cached in mpu_ll_set_region_x()
54 static inline void mpu_ll_set_region_illegal(uint32_t addr) in mpu_ll_set_region_illegal() argument
56 WITLB(0xF, addr); in mpu_ll_set_region_illegal()
57 WDTLB(0xF, addr); in mpu_ll_set_region_illegal()
/hal_espressif-2.7.6/components/hal/esp32s3/include/hal/
Dmpu_ll.h39 static inline void mpu_ll_set_region_rw(uint32_t addr) in mpu_ll_set_region_rw() argument
41 WDTLB(0x0, addr); // cached, no allocate in mpu_ll_set_region_rw()
44 static inline void mpu_ll_set_region_rwx(uint32_t addr) in mpu_ll_set_region_rwx() argument
46 WDTLB(0x2, addr); // bypass cache in mpu_ll_set_region_rwx()
49 static inline void mpu_ll_set_region_x(uint32_t addr) in mpu_ll_set_region_x() argument
51 WITLB(0x3, addr); // cached in mpu_ll_set_region_x()
54 static inline void mpu_ll_set_region_illegal(uint32_t addr) in mpu_ll_set_region_illegal() argument
56 WITLB(0xF, addr); in mpu_ll_set_region_illegal()
57 WDTLB(0xF, addr); in mpu_ll_set_region_illegal()
/hal_espressif-2.7.6/components/hal/esp32s2/include/hal/
Dmpu_ll.h39 static inline void mpu_ll_set_region_rw(uint32_t addr) in mpu_ll_set_region_rw() argument
41 WDTLB(0x0, addr); // cached, no allocate in mpu_ll_set_region_rw()
44 static inline void mpu_ll_set_region_rwx(uint32_t addr) in mpu_ll_set_region_rwx() argument
46 WDTLB(0x2, addr); // bypass cache in mpu_ll_set_region_rwx()
49 static inline void mpu_ll_set_region_x(uint32_t addr) in mpu_ll_set_region_x() argument
51 WITLB(0x3, addr); // cached in mpu_ll_set_region_x()
54 static inline void mpu_ll_set_region_illegal(uint32_t addr) in mpu_ll_set_region_illegal() argument
56 WITLB(0xF, addr); in mpu_ll_set_region_illegal()
57 WDTLB(0xF, addr); in mpu_ll_set_region_illegal()
/hal_espressif-2.7.6/components/lwip/apps/dhcpserver/
Ddhcpserver.c92 .addr = PP_HTONL(LWIP_MAKEU32(255, 240, 0, 0))
94 .addr = PP_HTONL(LWIP_MAKEU32(255, 255, 255, 0))
232 if (pdhcps_node->ip.addr < pdhcps_pool->ip.addr) { in node_insert_to_list()
239 if (pdhcps_node->ip.addr < pdhcps_pool->ip.addr) { in node_insert_to_list()
315 ipadd.addr = *((u32_t *) &server_address); in add_offer_options()
369 ip4_addr_t broadcast_addr = { .addr = (ipadd.addr & s_dhcps_mask.addr) | ~s_dhcps_mask.addr }; in add_offer_options()
422 client.addr = *((uint32_t *) &client_address); in create_msg()
435 memcpy((char *) m->yiaddr, (char *) &client.addr, sizeof(m->yiaddr)); in create_msg()
717 client.addr = *((uint32_t *) &client_address); in parse_options()
736 if (memcmp((char *) &client.addr, (char *) optptr + 2, 4) == 0) { in parse_options()
[all …]
/hal_espressif-2.7.6/components/ulp/ulp_riscv/include/ulp_riscv/
Dulp_riscv_register_ops.h29 #define WRITE_RTC_MEM(addr, val) (*((volatile int*)(addr))) = (int) (val) argument
30 #define READ_RTC_MEM(addr) (*(volatile int*)(addr)) argument
36 #define RISCV_REG_CONV(addr) (((addr&0xffff)<<3 & 0xe000) | (addr & 0x1fff) | 0x8000) argument
37 #define ETS_UNCACHED_ADDR(addr) (RISCV_REG_CONV(addr)) argument
104 #define READ_PERI_REG(addr) ({ … argument
105 …(*((volatile uint32_t *)ETS_UNCACHED_ADDR(addr))); …
109 #define WRITE_PERI_REG(addr, val) ({ … argument
110 …(*((volatile uint32_t *)ETS_UNCACHED_ADDR(addr))) = (uint32_t)(val); …
/hal_espressif-2.7.6/components/hal/
Dmpu_hal.c28 uint32_t addr = mpu_ll_id_to_addr(id); in mpu_hal_set_region_access() local
34 mpu_ll_set_region_ro(addr); in mpu_hal_set_region_access()
39 mpu_ll_set_region_wo(addr); in mpu_hal_set_region_access()
43 mpu_ll_set_region_rw(addr); in mpu_hal_set_region_access()
46 mpu_ll_set_region_x(addr); in mpu_hal_set_region_access()
49 mpu_ll_set_region_rwx(addr); in mpu_hal_set_region_access()
52 mpu_ll_set_region_illegal(addr); in mpu_hal_set_region_access()
/hal_espressif-2.7.6/components/wpa_supplicant/src/eap_peer/
Deap_peap_common.c27 const unsigned char *addr[5]; in peap_prfplus() local
30 addr[0] = hash; in peap_prfplus()
32 addr[1] = (unsigned char *) label; in peap_prfplus()
34 addr[2] = seed; in peap_prfplus()
49 addr[3] = &counter; in peap_prfplus()
51 addr[4] = extra; in peap_prfplus()
65 addr[3] = extra; in peap_prfplus()
67 addr[4] = &counter; in peap_prfplus()
75 if (hmac_sha1_vector(key, key_len, 5, addr, len, hash) < 0) in peap_prfplus()
/hal_espressif-2.7.6/components/esp_rom/include/esp32s2/rom/
Dcache.h126 uint32_t addr; /*!< manual lock address*/ member
291 uint32_t Cache_Address_Through_ICache(uint32_t addr);
301 uint32_t Cache_Address_Through_DCache(uint32_t addr);
315 void Cache_Invalidate_ICache_Items(uint32_t addr, uint32_t items);
329 void Cache_Invalidate_DCache_Items(uint32_t addr, uint32_t items);
343 void Cache_Clean_Items(uint32_t addr, uint32_t items);
357 void Cache_WriteBack_Items(uint32_t addr, uint32_t items);
371 int Cache_Invalidate_Addr(uint32_t addr, uint32_t size);
385 int Cache_Clean_Addr(uint32_t addr, uint32_t size);
399 int Cache_WriteBack_Addr(uint32_t addr, uint32_t size);
[all …]
/hal_espressif-2.7.6/examples/bluetooth/esp_ble_mesh/common_components/fast_provisioning/
Dble_mesh_fast_prov_client_model.c52 struct net_buf_simple *addr; /* Unicast addresses of self-provisioned nodes being sent */ member
59 .addr = &send_addr,
112 net_buf_simple_reset(node_addr_send.addr); in example_send_self_prov_node_addr()
114 uint16_t addr = example_get_node_address(i); in example_send_self_prov_node_addr() local
115 if (!ESP_BLE_MESH_ADDR_IS_UNICAST(addr)) { in example_send_self_prov_node_addr()
119 if (addr == addr_already_sent[j]) { in example_send_self_prov_node_addr()
120 ESP_LOGW(TAG, "%s: node addr 0x%04x has already been sent", __func__, addr); in example_send_self_prov_node_addr()
127 net_buf_simple_add_le16(node_addr_send.addr, addr); in example_send_self_prov_node_addr()
128 if (node_addr_send.addr->len == NODE_ADDR_SEND_MAX_LEN) { in example_send_self_prov_node_addr()
134 if (node_addr_send.addr->len) { in example_send_self_prov_node_addr()
[all …]
/hal_espressif-2.7.6/examples/bluetooth/esp_ble_mesh/ble_mesh_wifi_coexist/components/iperf/
Diperf.c116 struct sockaddr_in addr; in iperf_run_tcp_server() local
133 addr.sin_family = AF_INET; in iperf_run_tcp_server()
134 addr.sin_port = htons(s_iperf_ctrl.cfg.sport); in iperf_run_tcp_server()
135 addr.sin_addr.s_addr = s_iperf_ctrl.cfg.sip; in iperf_run_tcp_server()
136 if (bind(listen_socket, (struct sockaddr *)&addr, sizeof(addr)) != 0) { in iperf_run_tcp_server()
187 struct sockaddr_in addr; in iperf_run_udp_server() local
203 addr.sin_family = AF_INET; in iperf_run_udp_server()
204 addr.sin_port = htons(s_iperf_ctrl.cfg.sport); in iperf_run_udp_server()
205 addr.sin_addr.s_addr = s_iperf_ctrl.cfg.sip; in iperf_run_udp_server()
206 if (bind(sockfd, (struct sockaddr *)&addr, sizeof(addr)) != 0) { in iperf_run_udp_server()
[all …]
/hal_espressif-2.7.6/components/esp_eth/src/
Desp_eth_phy_dm9051.c85 int addr; member
104 PHY_CHECK(eth->phy_reg_read(eth, dm9051->addr, ETH_PHY_BMSR_REG_ADDR, &(bmsr.val)) == ESP_OK, in dm9051_update_link_duplex_speed()
106 PHY_CHECK(eth->phy_reg_read(eth, dm9051->addr, ETH_PHY_BMSR_REG_ADDR, &(bmsr.val)) == ESP_OK, in dm9051_update_link_duplex_speed()
108 … PHY_CHECK(eth->phy_reg_read(eth, dm9051->addr, ETH_PHY_ANLPAR_REG_ADDR, &(anlpar.val)) == ESP_OK, in dm9051_update_link_duplex_speed()
115 … PHY_CHECK(eth->phy_reg_read(eth, dm9051->addr, ETH_PHY_DSCSR_REG_ADDR, &(dscsr.val)) == ESP_OK, in dm9051_update_link_duplex_speed()
175 PHY_CHECK(eth->phy_reg_read(eth, dm9051->addr, ETH_PHY_DSCR_REG_ADDR, &(dscr.val)) == ESP_OK, in dm9051_reset()
178 PHY_CHECK(eth->phy_reg_write(eth, dm9051->addr, ETH_PHY_DSCR_REG_ADDR, dscr.val) == ESP_OK, in dm9051_reset()
181 PHY_CHECK(eth->phy_reg_write(eth, dm9051->addr, ETH_PHY_BMCR_REG_ADDR, bmcr.val) == ESP_OK, in dm9051_reset()
187 … PHY_CHECK(eth->phy_reg_read(eth, dm9051->addr, ETH_PHY_BMCR_REG_ADDR, &(bmcr.val)) == ESP_OK, in dm9051_reset()
189 … PHY_CHECK(eth->phy_reg_read(eth, dm9051->addr, ETH_PHY_DSCR_REG_ADDR, &(dscr.val)) == ESP_OK, in dm9051_reset()
[all …]
Desp_eth_phy_rtl8201.c69 int addr; member
82 …PHY_CHECK(eth->phy_reg_write(eth, rtl8201->addr, ETH_PHY_PSR_REG_ADDR, psr.val) == ESP_OK, "write … in rtl8201_page_select()
98 PHY_CHECK(eth->phy_reg_read(eth, rtl8201->addr, ETH_PHY_BMSR_REG_ADDR, &(bmsr.val)) == ESP_OK, in rtl8201_update_link_duplex_speed()
100 … PHY_CHECK(eth->phy_reg_read(eth, rtl8201->addr, ETH_PHY_ANLPAR_REG_ADDR, &(anlpar.val)) == ESP_OK, in rtl8201_update_link_duplex_speed()
107 … PHY_CHECK(eth->phy_reg_read(eth, rtl8201->addr, ETH_PHY_BMCR_REG_ADDR, &(bmcr.val)) == ESP_OK, in rtl8201_update_link_duplex_speed()
167 PHY_CHECK(eth->phy_reg_write(eth, rtl8201->addr, ETH_PHY_BMCR_REG_ADDR, bmcr.val) == ESP_OK, in rtl8201_reset()
173 … PHY_CHECK(eth->phy_reg_read(eth, rtl8201->addr, ETH_PHY_BMCR_REG_ADDR, &(bmcr.val)) == ESP_OK, in rtl8201_reset()
209 PHY_CHECK(eth->phy_reg_write(eth, rtl8201->addr, ETH_PHY_BMCR_REG_ADDR, bmcr.val) == ESP_OK, in rtl8201_negotiate()
216 … PHY_CHECK(eth->phy_reg_read(eth, rtl8201->addr, ETH_PHY_BMSR_REG_ADDR, &(bmsr.val)) == ESP_OK, in rtl8201_negotiate()
238 PHY_CHECK(eth->phy_reg_read(eth, rtl8201->addr, ETH_PHY_BMCR_REG_ADDR, &(bmcr.val)) == ESP_OK, in rtl8201_pwrctl()
[all …]
Desp_eth_phy_dp83848.c91 int addr; member
106 … PHY_CHECK(eth->phy_reg_read(eth, dp83848->addr, ETH_PHY_ANLPAR_REG_ADDR, &(anlpar.val)) == ESP_OK, in dp83848_update_link_duplex_speed()
108 PHY_CHECK(eth->phy_reg_read(eth, dp83848->addr, ETH_PHY_STS_REG_ADDR, &(physts.val)) == ESP_OK, in dp83848_update_link_duplex_speed()
173 PHY_CHECK(eth->phy_reg_write(eth, dp83848->addr, ETH_PHY_BMCR_REG_ADDR, bmcr.val) == ESP_OK, in dp83848_reset()
179 … PHY_CHECK(eth->phy_reg_read(eth, dp83848->addr, ETH_PHY_BMCR_REG_ADDR, &(bmcr.val)) == ESP_OK, in dp83848_reset()
215 PHY_CHECK(eth->phy_reg_write(eth, dp83848->addr, ETH_PHY_BMCR_REG_ADDR, bmcr.val) == ESP_OK, in dp83848_negotiate()
223 … PHY_CHECK(eth->phy_reg_read(eth, dp83848->addr, ETH_PHY_BMSR_REG_ADDR, &(bmsr.val)) == ESP_OK, in dp83848_negotiate()
225 … PHY_CHECK(eth->phy_reg_read(eth, dp83848->addr, ETH_PHY_STS_REG_ADDR, &(physts.val)) == ESP_OK, in dp83848_negotiate()
247 PHY_CHECK(eth->phy_reg_read(eth, dp83848->addr, ETH_PHY_BMCR_REG_ADDR, &(bmcr.val)) == ESP_OK, in dp83848_pwrctl()
256 PHY_CHECK(eth->phy_reg_write(eth, dp83848->addr, ETH_PHY_BMCR_REG_ADDR, bmcr.val) == ESP_OK, in dp83848_pwrctl()
[all …]
Desp_eth_phy_ip101.c108 int addr; member
121 …PHY_CHECK(eth->phy_reg_write(eth, ip101->addr, ETH_PHY_PCR_REG_ADDR, pcr.val) == ESP_OK, "write PC… in ip101_page_select()
136 PHY_CHECK(eth->phy_reg_read(eth, ip101->addr, ETH_PHY_CSSR_REG_ADDR, &(cssr.val)) == ESP_OK, in ip101_update_link_duplex_speed()
138 PHY_CHECK(eth->phy_reg_read(eth, ip101->addr, ETH_PHY_ANLPAR_REG_ADDR, &(anlpar.val)) == ESP_OK, in ip101_update_link_duplex_speed()
213 PHY_CHECK(eth->phy_reg_write(eth, ip101->addr, ETH_PHY_BMCR_REG_ADDR, bmcr.val) == ESP_OK, in ip101_reset()
219 PHY_CHECK(eth->phy_reg_read(eth, ip101->addr, ETH_PHY_BMCR_REG_ADDR, &(bmcr.val)) == ESP_OK, in ip101_reset()
255 PHY_CHECK(eth->phy_reg_write(eth, ip101->addr, ETH_PHY_BMCR_REG_ADDR, bmcr.val) == ESP_OK, in ip101_negotiate()
262 PHY_CHECK(eth->phy_reg_read(eth, ip101->addr, ETH_PHY_BMSR_REG_ADDR, &(bmsr.val)) == ESP_OK, in ip101_negotiate()
284 PHY_CHECK(eth->phy_reg_read(eth, ip101->addr, ETH_PHY_BMCR_REG_ADDR, &(bmcr.val)) == ESP_OK, in ip101_pwrctl()
293 PHY_CHECK(eth->phy_reg_write(eth, ip101->addr, ETH_PHY_BMCR_REG_ADDR, bmcr.val) == ESP_OK, in ip101_pwrctl()
[all …]
Desp_eth_phy_lan8720.c163 int addr; member
179 … PHY_CHECK(eth->phy_reg_read(eth, lan8720->addr, ETH_PHY_ANLPAR_REG_ADDR, &(anlpar.val)) == ESP_OK, in lan8720_update_link_duplex_speed()
181 PHY_CHECK(eth->phy_reg_read(eth, lan8720->addr, ETH_PHY_BMSR_REG_ADDR, &(bmsr.val)) == ESP_OK, in lan8720_update_link_duplex_speed()
188 … PHY_CHECK(eth->phy_reg_read(eth, lan8720->addr, ETH_PHY_PSCSR_REG_ADDR, &(pscsr.val)) == ESP_OK, in lan8720_update_link_duplex_speed()
258 PHY_CHECK(eth->phy_reg_write(eth, lan8720->addr, ETH_PHY_BMCR_REG_ADDR, bmcr.val) == ESP_OK, in lan8720_reset()
264 … PHY_CHECK(eth->phy_reg_read(eth, lan8720->addr, ETH_PHY_BMCR_REG_ADDR, &(bmcr.val)) == ESP_OK, in lan8720_reset()
300 …PHY_CHECK(eth->phy_reg_write(eth, lan8720->addr, ETH_PHY_BMCR_REG_ADDR, bmcr.val) == ESP_OK, "writ… in lan8720_negotiate()
307 … PHY_CHECK(eth->phy_reg_read(eth, lan8720->addr, ETH_PHY_BMSR_REG_ADDR, &(bmsr.val)) == ESP_OK, in lan8720_negotiate()
309 … PHY_CHECK(eth->phy_reg_read(eth, lan8720->addr, ETH_PHY_PSCSR_REG_ADDR, &(pscsr.val)) == ESP_OK, in lan8720_negotiate()
331 PHY_CHECK(eth->phy_reg_read(eth, lan8720->addr, ETH_PHY_BMCR_REG_ADDR, &(bmcr.val)) == ESP_OK, in lan8720_pwrctl()
[all …]
/hal_espressif-2.7.6/components/hal/include/hal/
Di2s_hal.h65 #define i2s_hal_get_out_eof_des_addr(hal, addr) i2s_ll_get_out_eof_des_addr((hal)->dev, addr) argument
73 #define i2s_hal_get_in_eof_des_addr(hal, addr) i2s_ll_get_in_eof_des_addr((hal)->dev, addr) argument
127 #define i2s_hal_set_out_link_addr(hal, addr) i2s_ll_set_out_link_addr((hal)->dev, addr) argument
135 #define i2s_hal_set_out_link_addr(hal, addr) i2s_ll_set_out_link_addr((hal)->dev, addr) argument
143 #define i2s_hal_set_out_link_addr(hal, addr) i2s_ll_set_out_link_addr((hal)->dev, addr) argument
152 void i2s_hal_set_in_link(i2s_hal_context_t *hal, uint32_t rx_eof_num, uint32_t addr);
/hal_espressif-2.7.6/components/esp_http_server/src/util/
Dctrl_sock.c35 struct sockaddr_in addr; in cs_create_ctrl_sock() local
36 memset(&addr, 0, sizeof(addr)); in cs_create_ctrl_sock()
37 addr.sin_family = AF_INET; in cs_create_ctrl_sock()
38 addr.sin_port = htons(port); in cs_create_ctrl_sock()
39 inet_aton("127.0.0.1", &addr.sin_addr); in cs_create_ctrl_sock()
40 ret = bind(fd, (struct sockaddr *)&addr, sizeof(addr)); in cs_create_ctrl_sock()
/hal_espressif-2.7.6/components/esp_rom/include/esp32s3/rom/
Dcache.h166 uint32_t addr; /*!< manual lock address*/ member
341 uint32_t Cache_Address_Through_ICache(uint32_t addr);
351 uint32_t Cache_Address_Through_DCache(uint32_t addr);
374 void Cache_Invalidate_ICache_Items(uint32_t addr, uint32_t items);
388 void Cache_Invalidate_DCache_Items(uint32_t addr, uint32_t items);
402 void Cache_Clean_Items(uint32_t addr, uint32_t items);
416 void Cache_WriteBack_Items(uint32_t addr, uint32_t items);
430 int Cache_Invalidate_Addr(uint32_t addr, uint32_t size);
444 int Cache_Clean_Addr(uint32_t addr, uint32_t size);
458 int Cache_WriteBack_Addr(uint32_t addr, uint32_t size);
[all …]
/hal_espressif-2.7.6/components/spiffs/
Dspiffs_api.c34 s32_t spiffs_api_read(spiffs *fs, uint32_t addr, uint32_t size, uint8_t *dst) in spiffs_api_read() argument
37 addr, dst, size); in spiffs_api_read()
39 ESP_LOGE(TAG, "failed to read addr %08x, size %08x, err %d", addr, size, err); in spiffs_api_read()
45 s32_t spiffs_api_write(spiffs *fs, uint32_t addr, uint32_t size, uint8_t *src) in spiffs_api_write() argument
48 addr, src, size); in spiffs_api_write()
50 ESP_LOGE(TAG, "failed to write addr %08x, size %08x, err %d", addr, size, err); in spiffs_api_write()
56 s32_t spiffs_api_erase(spiffs *fs, uint32_t addr, uint32_t size) in spiffs_api_erase() argument
59 addr, size); in spiffs_api_erase()
61 ESP_LOGE(TAG, "failed to erase addr %08x, size %08x, err %d", addr, size, err); in spiffs_api_erase()
/hal_espressif-2.7.6/components/wpa_supplicant/src/crypto/
Dsha256-kdf.c38 const unsigned char *addr[4]; in hmac_sha256_kdf() local
42 addr[0] = T; in hmac_sha256_kdf()
45 addr[1] = (const unsigned char *) label; in hmac_sha256_kdf()
48 addr[1] = (const u8 *) ""; in hmac_sha256_kdf()
51 addr[2] = seed; in hmac_sha256_kdf()
53 addr[3] = &iter; in hmac_sha256_kdf()
56 if (hmac_sha256_vector(secret, secret_len, 3, &addr[1], &len[1], T) < 0) in hmac_sha256_kdf()
77 if (hmac_sha256_vector(secret, secret_len, 4, addr, len, T) < 0) in hmac_sha256_kdf()
/hal_espressif-2.7.6/components/esp_netif/include/
Desp_netif_ip_addr.h39 #define ESP_IP6_ADDR_BLOCK1(ip6addr) ((uint16_t)((esp_netif_htonl((ip6addr)->addr[0]) >> 16) & 0xff…
40 #define ESP_IP6_ADDR_BLOCK2(ip6addr) ((uint16_t)((esp_netif_htonl((ip6addr)->addr[0])) & 0xffff))
41 #define ESP_IP6_ADDR_BLOCK3(ip6addr) ((uint16_t)((esp_netif_htonl((ip6addr)->addr[1]) >> 16) & 0xff…
42 #define ESP_IP6_ADDR_BLOCK4(ip6addr) ((uint16_t)((esp_netif_htonl((ip6addr)->addr[1])) & 0xffff))
43 #define ESP_IP6_ADDR_BLOCK5(ip6addr) ((uint16_t)((esp_netif_htonl((ip6addr)->addr[2]) >> 16) & 0xff…
44 #define ESP_IP6_ADDR_BLOCK6(ip6addr) ((uint16_t)((esp_netif_htonl((ip6addr)->addr[2])) & 0xffff))
45 #define ESP_IP6_ADDR_BLOCK7(ip6addr) ((uint16_t)((esp_netif_htonl((ip6addr)->addr[3]) >> 16) & 0xff…
46 #define ESP_IP6_ADDR_BLOCK8(ip6addr) ((uint16_t)((esp_netif_htonl((ip6addr)->addr[3])) & 0xffff))
49 #define esp_ip4_addr_get_byte(ipaddr, idx) (((const uint8_t*)(&(ipaddr)->addr))[idx])
89 uint32_t addr[4]; member
[all …]
/hal_espressif-2.7.6/components/mdns/test_afl_fuzz_host/
Desp32_compat.h84 (ipaddr)->addr = ((uint32_t)((d) & 0xff) << 24) | \
127 uint32_t addr; member
132 uint32_t addr[4]; member
167 #define ip4_addr_copy(dest, src) ((dest).addr = (src).addr)
168 #define ip6_addr_copy(dest, src) do{(dest).addr[0] = (src).addr[0]; \
169 (dest).addr[1] = (src).addr[1]; \
170 (dest).addr[2] = (src).addr[2]; \
171 (dest).addr[3] = (src).addr[3];}while(0)
/hal_espressif-2.7.6/examples/wifi/iperf/components/iperf/
Diperf.c120 struct sockaddr_in addr; in iperf_run_tcp_server() local
137 addr.sin_family = AF_INET; in iperf_run_tcp_server()
138 addr.sin_port = htons(s_iperf_ctrl.cfg.sport); in iperf_run_tcp_server()
139 addr.sin_addr.s_addr = s_iperf_ctrl.cfg.sip; in iperf_run_tcp_server()
140 if (bind(listen_socket, (struct sockaddr *)&addr, sizeof(addr)) != 0) { in iperf_run_tcp_server()
193 struct sockaddr_in addr; in iperf_run_udp_server() local
210 addr.sin_family = AF_INET; in iperf_run_udp_server()
211 addr.sin_port = htons(s_iperf_ctrl.cfg.sport); in iperf_run_udp_server()
212 addr.sin_addr.s_addr = s_iperf_ctrl.cfg.sip; in iperf_run_udp_server()
213 if (bind(sockfd, (struct sockaddr *)&addr, sizeof(addr)) != 0) { in iperf_run_udp_server()
[all …]

12345678910>>...21