/device/soc/rockchip/common/sdk_linux/fs/xfs/ |
D | xfs_inode.c | 53 xfs_extlen_t xfs_get_extsz_hint(struct xfs_inode *ip) in xfs_get_extsz_hint() argument 59 if (xfs_is_always_cow_inode(ip)) { in xfs_get_extsz_hint() 62 if ((ip->i_d.di_flags & XFS_DIFLAG_EXTSIZE) && ip->i_d.di_extsize) { in xfs_get_extsz_hint() 63 return ip->i_d.di_extsize; in xfs_get_extsz_hint() 65 if (XFS_IS_REALTIME_INODE(ip)) { in xfs_get_extsz_hint() 66 return ip->i_mount->m_sb.sb_rextsize; in xfs_get_extsz_hint() 77 xfs_extlen_t xfs_get_cowextsz_hint(struct xfs_inode *ip) in xfs_get_cowextsz_hint() argument 82 if (ip->i_d.di_flags2 & XFS_DIFLAG2_COWEXTSIZE) { in xfs_get_cowextsz_hint() 83 a = ip->i_d.di_cowextsize; in xfs_get_cowextsz_hint() 85 b = xfs_get_extsz_hint(ip); in xfs_get_cowextsz_hint() [all …]
|
/device/soc/st/stm32f407zg/uniproton/board/lwip/ |
D | lwip.c | 56 U32 ip = 0; /* 0, initial value */ in LwipDhcpTask() local 63 ip = lwip_netif.ip_addr.u_addr.ip4.addr; in LwipDhcpTask() 68 if(ip != 0) { in LwipDhcpTask() 69 lwipdev.ip[3] = (uint8_t)(ip >> 24); in LwipDhcpTask() 70 lwipdev.ip[2] = (uint8_t)(ip >> 16); in LwipDhcpTask() 71 lwipdev.ip[1] = (uint8_t)(ip >> 8); in LwipDhcpTask() 72 lwipdev.ip[0] = (uint8_t)(ip); in LwipDhcpTask() 83 IP4_ADDR(&(lwip_netif.ip_addr.u_addr.ip4), lwipdev.ip[0], in LwipDhcpTask() 84 lwipdev.ip[1], lwipdev.ip[2], lwipdev.ip[3]); in LwipDhcpTask() 141 lwipx->ip[0] = 192; in LwipDefaultIpSet() [all …]
|
/device/soc/esp/esp32/components/soc/include/soc/ |
D | soc_memory_layout.h | 165 intptr_t ip = (intptr_t) p; in esp_ptr_executable() local 166 return (ip >= SOC_IROM_LOW && ip < SOC_IROM_HIGH) in esp_ptr_executable() 167 || (ip >= SOC_IRAM_LOW && ip < SOC_IRAM_HIGH) in esp_ptr_executable() 168 || (ip >= SOC_IROM_MASK_LOW && ip < SOC_IROM_MASK_HIGH) in esp_ptr_executable() 170 || (ip >= SOC_CACHE_APP_LOW && ip < SOC_CACHE_APP_HIGH) in esp_ptr_executable() 172 || (ip >= SOC_RTC_IRAM_LOW && ip < SOC_RTC_IRAM_HIGH); in esp_ptr_executable() 177 intptr_t ip = (intptr_t) p; in esp_ptr_byte_accessible() local 179 r = (ip >= SOC_BYTE_ACCESSIBLE_LOW && ip < SOC_BYTE_ACCESSIBLE_HIGH); in esp_ptr_byte_accessible() 184 r |= (ip >= SOC_RTC_DRAM_LOW && ip < SOC_RTC_DRAM_HIGH); in esp_ptr_byte_accessible() 188 r |= (ip >= SOC_EXTRAM_DATA_LOW && ip < (SOC_EXTRAM_DATA_LOW + CONFIG_SPIRAM_SIZE)); in esp_ptr_byte_accessible() [all …]
|
/device/board/isoftstone/yangfan/kernel/src/driv/net/rockchip_wlan/rkwifi/bcmdhd/ |
D | bcm_l2_filter.c | 72 printf("%d: %d.%d.%d.%d", idx, entry->ip.data[0], entry->ip.data[1], in bcm_l2_parp_dump_table() 73 entry->ip.data[2], entry->ip.data[3]); in bcm_l2_parp_dump_table() 84 printf("%d.%d.%d.%d", entry->ip.data[0], entry->ip.data[1], in bcm_l2_parp_dump_table() 85 entry->ip.data[2], entry->ip.data[3]); in bcm_l2_parp_dump_table() 342 uint8 *ip, uint8 ip_ver, bool cached, unsigned int entry_tickcnt) in bcm_l2_filter_parp_modifyentry() argument 348 if (ip_ver == IP_VER_4 && !IPV4_ADDR_NULL(ip) && !IPV4_ADDR_BCAST(ip)) { in bcm_l2_filter_parp_modifyentry() 349 idx = BCM_PARP_TABLE_INDEX(ip[IPV4_ADDR_LEN - 1]); in bcm_l2_filter_parp_modifyentry() 352 else if (ip_ver == IP_VER_6 && !IPV6_ADDR_NULL(ip)) { in bcm_l2_filter_parp_modifyentry() 353 idx = BCM_PARP_TABLE_INDEX(ip[IPV6_ADDR_LEN - 1]); in bcm_l2_filter_parp_modifyentry() 367 if (bcmp(entry->ip.data, ip, ip_len) == 0) { in bcm_l2_filter_parp_modifyentry() [all …]
|
/device/soc/rockchip/rk3588/kernel/include/trace/hooks/ |
D | preemptirq.h | 15 TP_PROTO(unsigned long ip, unsigned long parent_ip), 16 TP_ARGS(ip, parent_ip), 1); 19 TP_PROTO(unsigned long ip, unsigned long parent_ip), 20 TP_ARGS(ip, parent_ip), 1); 23 TP_PROTO(unsigned long ip, unsigned long parent_ip), 24 TP_ARGS(ip, parent_ip), 1); 27 TP_PROTO(unsigned long ip, unsigned long parent_ip), 28 TP_ARGS(ip, parent_ip), 1);
|
/device/soc/beken/bk7235/liteos_m/bk_sdk_armino/components/release/ |
D | sdk_lib_files.txt | 1 components/ip/ip_lib_src.mk 2 components/ip/common/co_dlist.c 3 components/ip/common/co_list.c 4 components/ip/common/co_math.c 5 components/ip/common/co_pool.c 6 components/ip/common/co_ring.c 7 components/ip/ke/ke_env.c 8 components/ip/ke/ke_event.c 9 components/ip/ke/ke_queue.c 10 components/ip/ke/ke_task.c [all …]
|
/device/soc/esp/esp32/components/esp_netif/ |
D | esp_netif_handlers.c | 60 esp_netif_ip_info_t ip; in esp_netif_action_connected() local 63 esp_netif_get_ip_info(esp_netif, &ip); in esp_netif_action_connected() 66 if (esp_netif_is_valid_static_ip(&ip)) { in esp_netif_action_connected() 73 if (memcmp(&ip, &old_ip, sizeof(ip))) { in esp_netif_action_connected() 77 memcpy(&evt.ip_info, &ip, sizeof(esp_netif_ip_info_t)); in esp_netif_action_connected() 78 esp_netif_set_old_ip_info(esp_netif, &ip); in esp_netif_action_connected() 102 IP2STR(&event->ip_info.ip), in esp_netif_action_got_ip()
|
/device/soc/hisilicon/common/platform/wifi/hi3881v100/driver/mac/hmac/ |
D | hmac_edca_opt.c | 164 …id hmac_edca_opt_rx_pkts_stat(hmac_user_stru *hmac_user, hi_u8 tidno, const mac_ip_header_stru *ip) in hmac_edca_opt_rx_pkts_stat() argument 167 if (oal_net2host_short(ip->us_tot_len) < HMAC_EDCA_OPT_MIN_PKT_LEN) { in hmac_edca_opt_rx_pkts_stat() 171 if (ip->protocol == MAC_UDP_PROTOCAL) { in hmac_edca_opt_rx_pkts_stat() 173 } else if (ip->protocol == MAC_TCP_PROTOCAL) { in hmac_edca_opt_rx_pkts_stat() 185 …ac_edca_opt_tx_pkts_stat(const hmac_tx_ctl_stru *tx_ctl, hi_u8 tidno, const mac_ip_header_stru *ip) in hmac_edca_opt_tx_pkts_stat() argument 206 if (((ip->protocol == MAC_UDP_PROTOCAL) && in hmac_edca_opt_tx_pkts_stat() 208 ((ip->protocol == MAC_TCP_PROTOCAL) && /* 10:偏移位 */ in hmac_edca_opt_tx_pkts_stat() 212 if (oal_net2host_short(ip->us_tot_len) < HMAC_EDCA_OPT_MIN_PKT_LEN) { in hmac_edca_opt_tx_pkts_stat() 215 if (ip->protocol == MAC_UDP_PROTOCAL) { in hmac_edca_opt_tx_pkts_stat() 217 } else if (ip->protocol == MAC_TCP_PROTOCAL) { in hmac_edca_opt_tx_pkts_stat()
|
D | hmac_traffic_classify.c | 254 hi_void hmac_tx_traffic_classify_list_proc(const mac_ip_header_stru *ip, hi_u8 *puc_tid, in hmac_tx_traffic_classify_list_proc() argument 284 …judge_info->len = oal_net2host_short(ip->us_tot_len) - sizeof(mac_ip_header_stru) - sizeo… in hmac_tx_traffic_classify_list_proc() 318 hi_void hmac_tx_traffic_classify(const hmac_tx_ctl_stru *tx_ctl, mac_ip_header_stru *ip, hi_u8 *puc… in hmac_tx_traffic_classify() argument 329 if (ip->protocol != MAC_UDP_PROTOCAL) { in hmac_tx_traffic_classify() 330 if (ip->protocol == MAC_TCP_PROTOCAL) { in hmac_tx_traffic_classify() 331 mac_tcp_header_stru *tcp_hdr = (mac_tcp_header_stru *)(ip + 1); in hmac_tx_traffic_classify() 343 if ((oal_ntoh_16(ip->us_frag_off) & IP_FRAGMENT_MASK) != 0) { in hmac_tx_traffic_classify() 347 udp_hdr_stru *udp_hdr = (udp_hdr_stru *)(ip + 1); /* 偏移一个IP头,取UDP头 */ in hmac_tx_traffic_classify() 352 flow_info.dip = ip->daddr; in hmac_tx_traffic_classify() 353 flow_info.sip = ip->saddr; in hmac_tx_traffic_classify() [all …]
|
D | hmac_edca_opt.h | 49 …d hmac_edca_opt_rx_pkts_stat(hmac_user_stru *hmac_user, hi_u8 tidno, const mac_ip_header_stru *ip); 50 …c_edca_opt_tx_pkts_stat(const hmac_tx_ctl_stru *tx_ctl, hi_u8 tidno, const mac_ip_header_stru *ip);
|
/device/soc/beken/bk7235/liteos_m/third_party_adapter/lwip_intf_v2_1/lwip-2.1.2/port/ |
D | net.c | 102 extern int net_get_if_ip_addr(uint32_t *ip, void *intrfc_handle); 107 extern void net_configure_dns(struct wlan_ip_config *ip); 497 void ip_address_set(int iface, int dhcp, char *ip, char *mask, char*gw, char*dns) in ip_address_set() argument 507 tmp = inet_addr((char*)ip); in ip_address_set() 536 ip_address_set(1, DHCP_DISABLE, ipStatus.ip, ipStatus.mask, ipStatus.gate, ipStatus.dns); in sta_ip_mode_set() 684 int net_get_if_ip_addr(uint32_t *ip, void *intrfc_handle) in net_get_if_ip_addr() argument 688 *ip = ip_addr_get_ip4_u32(&if_handle->netif.ip_addr); in net_get_if_ip_addr() 692 int net_get_if_gw_addr(uint32_t *ip, void *intrfc_handle) in net_get_if_gw_addr() argument 696 *ip = ip_addr_get_ip4_u32(&if_handle->netif.gw); in net_get_if_gw_addr() 709 void net_configure_dns(struct wlan_ip_config *ip) in net_configure_dns() argument [all …]
|
/device/soc/winnermicro/wm800/board/platform/common/utils/ |
D | utils.c | 362 u32 ip; in strtoip() local 366 ip = 0; in strtoip() 374 ip <<= 8; // 8:byte alignment in strtoip() 381 ip += n; in strtoip() 392 ip <<= 8; // 8:byte alignment in strtoip() 399 ip += n; in strtoip() 401 *ipadr = ip; in strtoip() 403 return ((ip == 0) ? -1 : 0); in strtoip() 406 void iptostr(u32 ip, char *str) in iptostr() argument 409 ((ip >> 24) & 0xff), ((ip >> 16) & 0xff), // 24:byte alignment, 16:byte alignment in iptostr() [all …]
|
/device/soc/hisilicon/hi3861v100/sdk_liteos/third_party/lwip_sack/include/lwip/ |
D | snmp.h | 151 void mib2_add_arp_entry(struct netif *ni, ip4_addr_t *ip); 152 void mib2_remove_arp_entry(struct netif *ni, ip4_addr_t *ip); 154 #define mib2_add_arp_entry(ni, ip) argument 155 #define mib2_remove_arp_entry(ni, ip) argument 181 #define mib2_add_arp_entry(ni, ip) argument 182 #define mib2_remove_arp_entry(ni, ip) argument
|
/device/soc/chipsea/cst85/liteos_m/sdk/modules/lwip-2.1/porting/src/ |
D | porting_net_al.c | 228 void net_if_set_ip(net_if_t *net_if, uint32_t ip, uint32_t mask, uint32_t gw) in net_if_set_ip() argument 232 netif_set_addr(net_if, (const ip4_addr_t *)&ip, (const ip4_addr_t *)&mask, in net_if_set_ip() 236 int net_if_get_ip(net_if_t *net_if, uint32_t *ip, uint32_t *mask, uint32_t *gw) in net_if_get_ip() argument 241 if (ip) in net_if_get_ip() 242 *ip = netif_ip4_addr(net_if)->addr; in net_if_get_ip() 560 ip_addr_t ip; in net_set_dns() local 561 ip_addr_set_ip4_u32(&ip, dns_server); in net_set_dns() 562 dns_setserver(0, &ip); in net_set_dns() 572 const ip_addr_t *ip; in net_get_dns() local 577 ip = dns_getserver(0); in net_get_dns() [all …]
|
/device/soc/chipsea/cst85/liteos_m/sdk/modules/lwip-2.1/dhcps/ |
D | dhcps.c | 88 ip4_addr_t ip; member 100 static int allocateAddr(struct eth_addr* mac, ip4_addr_t* ip) in allocateAddr() argument 106 ip4_addr_copy(*ip, leases[i].ip); in allocateAddr() 115 ip4_addr_copy(*ip, leases[i].ip); in allocateAddr() 166 static void addOptionIP(uint8_t** optPtrPtr, uint8_t opt, const ip4_addr_t* ip) in addOptionIP() argument 172 memcpy(optPtr, &ip4_addr_get_u32(ip), 4); in addOptionIP() 411 IP4_ADDR(&leases[i].ip, ip4_addr1(base), in dhcpServerStartRaw() 462 return leases[index].ip.addr; in get_client_ip_by_index()
|
/device/soc/st/stm32f407zg/uniproton/board/ |
D | board.c | 148 U32 ip = lwip_netif.ip_addr.u_addr.ip4.addr; in OsTskUser1() local 149 U32 ip3 = (uint8_t)(ip >> 24); in OsTskUser1() 150 U32 ip2 = (uint8_t)(ip >> 16); in OsTskUser1() 151 U32 ip1 = (uint8_t)(ip >> 8); in OsTskUser1() 152 U32 ip0 = (uint8_t)(ip); in OsTskUser1()
|
/device/board/hpmicro/hpm6750evk2/liteos_m/lwip_adapter/ |
D | hpm_lwip.c | 58 .ip = {192, 168, 2, 35}, 85 .ip = {192, 168, 1, 88}, 167 IP_ADDR4(&ipaddr, dev->ip[0], dev->ip[1], dev->ip[2], dev->ip[3]); in enetDevInit()
|
/device/soc/esp/esp32/components/esp_lwip/apps/ |
D | dhcpserver.c | 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() 840 … if (memcmp(&pdhcps_pool->ip.addr, m->ciaddr, sizeof(pdhcps_pool->ip.addr)) == 0) { in parse_msg() 844 client_address.addr = pdhcps_pool->ip.addr; in parse_msg() 848 } else if (pdhcps_pool->ip.addr == client_address_plus.addr) { in parse_msg() 856 if (first_address.addr < pdhcps_pool->ip.addr) { in parse_msg() 881 pdhcps_pool->ip.addr = client_address.addr; in parse_msg() 1077 static void dhcps_poll_set(u32_t ip) in dhcps_poll_set() argument 1084 softap_ip = htonl(ip); in dhcps_poll_set() 1103 local_ip = softap_ip = htonl(ip); in dhcps_poll_set() [all …]
|
/device/soc/esp/esp32/components/esp_netif/include/ |
D | esp_netif_types.h | 54 esp_ip_addr_t ip; /**< IPV4 address of DNS server */ member 101 esp_ip4_addr_t ip; /**< Interface IPV4 address */ member 109 esp_ip6_addr_t ip; /**< Interface IPV6 address */ member 129 esp_ip4_addr_t ip; /*!< IP address which was assigned to the station */ member
|
/device/soc/beken/bk7235/liteos_m/third_party_adapter/lwip_intf_v2_1/dhcpd/ |
D | dhcp-server.c | 41 extern int net_get_if_ip_addr(uint32_t *ip, void *intrfc_handle); 43 extern int net_get_if_gw_addr(uint32_t *ip, void *intrfc_handle); 45 static int get_ip_addr_from_interface(uint32_t *ip, void *interface_handle); 49 static int send_gratuitous_arp(uint32_t ip); 156 struct in_addr ip; in next_yiaddr() local 183 ip.s_addr = new_ip; in next_yiaddr() 184 dhcp_d("New client IP will be %s\r\n", inet_ntoa(ip)); in next_yiaddr() 185 ip.s_addr = dhcps.my_ip & dhcps.netmask; in next_yiaddr() 819 static int send_gratuitous_arp(uint32_t ip) in send_gratuitous_arp() argument 825 to_addr.sin_addr.s_addr = ip; in send_gratuitous_arp() [all …]
|
/device/soc/esp/esp32/components/esp_netif/lwip/ |
D | esp_netif_lwip.c | 362 ip4_addr_set_zero(&esp_netif->ip_info->ip); in esp_netif_init_configuration() 545 if (NULL == netif_add(esp_netif->lwip_netif, (struct ip4_addr*)&esp_netif->ip_info->ip, in esp_netif_lwip_add() 617 ip4_addr_set_zero(&(esp_netif->ip_info->ip)); in esp_netif_reset_ip_info() 660 memcpy((char *)&evt.ip.addr, (char *)client_ip, sizeof(evt.ip.addr)); in esp_netif_dhcps_cb() 722 memcpy(&lwip_ip, &default_ip->ip, sizeof(struct ip4_addr)); in esp_netif_start_api() 901 if ( !ip4_addr_cmp(ip_2_ip4(&netif->ip_addr), (&ip_info->ip)) || in esp_netif_dhcpc_cb() 912 ip4_addr_set(&ip_info->ip, ip_2_ip4(&netif->ip_addr)); in esp_netif_dhcpc_cb() 932 if (!ip4_addr_cmp(&ip_info->ip, IP4_ADDR_ANY4)) { in esp_netif_dhcpc_cb() 987 …( netif && (CONFIG_ESP_NETIF_IP_LOST_TIMER_INTERVAL > 0) && !ip4_addr_isany_val(ip_info_old->ip)) { in esp_netif_start_ip_lost_timer() 995 esp_netif, netif, CONFIG_ESP_NETIF_IP_LOST_TIMER_INTERVAL, ip_info_old->ip.addr); in esp_netif_start_ip_lost_timer() [all …]
|
/device/soc/bestechnic/bes2600/liteos_m/sdk/bsp/net/wifi/ |
D | bwifi_interface.h | 116 uint32_t ip; /**< IP address */ member 124 uint32_t ip[3];//struct ip_info ip; member 284 int bwifi_set_static_ip(struct ip_info *ip); 288 int bwifi_get_current_ip(struct ip_info *ip); 310 int bwifi_set_ip_addr(BWIFI_INTF_TYPE_T type, struct ip_info *ip);
|
/device/soc/esp/esp32/components/esp_lwip/port/include/apps/ |
D | dhcpserver.h | 58 ip4_addr_t ip; member 85 void dhcps_start(struct netif *netif, ip4_addr_t ip); 89 bool dhcp_search_ip_on_mac(u8_t *mac, ip4_addr_t *ip);
|
/device/soc/hisilicon/hi3861v100/sdk_liteos/third_party/u-boot-v2019.07/patch/ |
D | CVE-2019-14192-14193-14199.patch | 28 + if (ntohs(ip->udp_len) < UDP_HDR_SIZE || ntohs(ip->udp_len) > ntohs(ip->ip_len))
|
/device/soc/beken/bk7235/liteos_m/bk_sdk_armino/include/components/ |
D | netif_types.h | 51 char ip[NETIF_IP4_STR_LEN]; /**< Local IP address. */ member 59 char ip[NETIF_IP4_STR_LEN]; /**< Local IP address. */ member
|