Home
last modified time | relevance | path

Searched refs:addr (Results 201 - 225 of 4490) sorted by relevance

12345678910>>...180

/third_party/python/Tools/scripts/
H A Dcombinerefs.py101 addr, addr2rc[addr], addr2guts[addr] = m.groups()
111 addr, rc, guts = m.groups() # guts is type name here
112 if addr not in addr2rc:
115 print(addr, end=' ')
116 if rc == addr2rc[addr]:
119 print('[%s->%s]' % (addr2rc[addr], rc), end=' ')
120 print(guts, addr2guts[addr])
/third_party/wpa_supplicant/wpa_supplicant-2.9/src/eap_common/
H A Deap_peap_common.c24 const unsigned char *addr[5]; in peap_prfplus() local
27 addr[0] = hash; in peap_prfplus()
29 addr[1] = (unsigned char *) label; in peap_prfplus()
31 addr[2] = seed; in peap_prfplus()
46 addr[3] = &counter; in peap_prfplus()
48 addr[4] = extra; in peap_prfplus()
62 addr[3] = extra; in peap_prfplus()
64 addr[4] = &counter; in peap_prfplus()
72 if (hmac_sha1_vector(key, key_len, 5, addr, len, hash) < 0) in peap_prfplus()
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/eap_common/
H A Deap_peap_common.c24 const unsigned char *addr[5]; in peap_prfplus() local
27 addr[0] = hash; in peap_prfplus()
29 addr[1] = (unsigned char *) label; in peap_prfplus()
31 addr[2] = seed; in peap_prfplus()
46 addr[3] = &counter; in peap_prfplus()
48 addr[4] = extra; in peap_prfplus()
62 addr[3] = extra; in peap_prfplus()
64 addr[4] = &counter; in peap_prfplus()
72 if (hmac_sha1_vector(key, key_len, 5, addr, len, hash) < 0) in peap_prfplus()
/device/soc/hisilicon/hi3861v100/sdk_liteos/boot/loaderboot/include/
H A Dhi_boot_rom.h33 #define hi_reg_write(addr, val) (*(volatile hi_u32*)(uintptr_t)(addr) = (val))
39 #define hi_reg_read(addr, val) ((val) = *(volatile hi_u32*)(uintptr_t)(addr))
45 #define hi_reg_write16(addr, val) (*(volatile hi_u16*)(uintptr_t)(addr) = (val))
51 #define hi_reg_read16(addr, val) ((val) = *(volatile hi_u16*)(uintptr_t)(addr))
57 #define hi_reg_read_val32(addr) (*(volatile hi_u32*)(uintptr_t)(addr))
[all...]
/foundation/communication/bluetooth_service/services/bluetooth/service/src/classic/
H A Dclassic_adapter.h417 * @param addr Device address.
421 static void InquiryResultCallback(const BtAddr *addr, uint32_t classOfDevice, void *context);
426 * @param addr Device address.
431 static void InquiryResultRssiCallback(const BtAddr *addr, uint32_t classOfDevice, int8_t rssi, void *context);
436 * @param addr Device address.
442 static void ExtendedInquiryResultCallback(const BtAddr *addr, uint32_t classOfDevice, int8_t rssi,
457 * @param addr Device address.
462 uint8_t status, const BtAddr *addr, const uint8_t name[MAX_LOC_BT_NAME_LEN], void *context);
466 * @param addr Device address.
470 static void UserConfirmReqCallback(const BtAddr *addr, uint32_
[all...]
/device/soc/hisilicon/hi3751v350/sdk_linux/source/common/drv/mmz/
H A Ddrv_mmz_intf.c63 void delete_mmb(mmb_addr_t addr, unsigned int iommu) in delete_mmb() argument
67 mmb = hil_mmb_getby_phys((HI_U32)addr, iommu); in delete_mmb()
77 void *remap_mmb(mmb_addr_t addr, unsigned int iommu) in remap_mmb() argument
83 mmb = hil_mmb_getby_phys((HI_U32)addr, iommu); in remap_mmb()
88 offset = addr - mmb->iommu_addr; in remap_mmb()
90 offset = addr - mmb->phys_addr; in remap_mmb()
100 void *remap_mmb_cached(mmb_addr_t addr, unsigned int iommu) in remap_mmb_cached() argument
106 mmb = hil_mmb_getby_phys((HI_U32)addr, iommu); in remap_mmb_cached()
111 offset = addr - mmb->iommu_addr; in remap_mmb_cached()
113 offset = addr in remap_mmb_cached()
170 cma_mapto_smmu(mmb_addr_t addr, int iommu) cma_mapto_smmu() argument
175 cma_unmapfrom_smmu(mmb_addr_t addr, int iommu) cma_unmapfrom_smmu() argument
206 get_meminfo(u32 addr, u32 iommu, u32 *size, u32 *base) get_meminfo() argument
297 mmb_buf_get(HI_U32 addr, HI_U32 iommu) mmb_buf_get() argument
302 mmb_buf_put(HI_U32 addr, HI_U32 iommu) mmb_buf_put() argument
307 mmb_buf_ref_query(HI_U32 addr, HI_U32 iommu, HI_U32 *ref) mmb_buf_ref_query() argument
[all...]
/third_party/node/deps/v8/third_party/ittapi/include/legacy/
H A Dittnotify.h379 * @param[in] addr - pointer to the sync object. You should use a real pointer to your object
390 void ITTAPI __itt_sync_set_nameA(void *addr, const char *objtype, const char *objname, int attribute);
391 void ITTAPI __itt_sync_set_nameW(void *addr, const wchar_t *objtype, const wchar_t *objname, int attribute);
400 void ITTAPI __itt_sync_set_name(void *addr, const char* objtype, const char* objname, int attribute);
407 ITT_STUBV(ITTAPI, void, sync_set_nameA, (void *addr, const char *objtype, const char *objname, int attribute))
408 ITT_STUBV(ITTAPI, void, sync_set_nameW, (void *addr, const wchar_t *objtype, const wchar_t *objname, int attribute))
410 ITT_STUBV(ITTAPI, void, sync_set_name, (void *addr, const char *objtype, const char *objname, int attribute))
423 #define __itt_sync_set_nameA(addr, objtype, objname, attribute)
425 #define __itt_sync_set_nameW(addr, objtype, objname, attribute)
428 #define __itt_sync_set_name(addr, objtyp
[all...]
/foundation/communication/bluetooth_service/services/bluetooth/service/src/common/
H A Dprofile_config.cpp71 const std::string &addr, const std::string &section, const std::string &property, int &value) in GetValue()
74 return pimpl->parse_.GetValue(addr, section, property, value); in GetValue()
78 const std::string &addr, const std::string &section, const std::string &property, bool &value) in GetValue()
81 return pimpl->parse_.GetValue(addr, section, property, value); in GetValue()
85 const std::string &addr, const std::string &section, const std::string &property, int &value) in SetValue()
88 if (!pimpl->parse_.SetValue(addr, section, property, value)) { in SetValue()
95 const std::string &addr, const std::string &section, const std::string &property, bool &value) in SetValue()
98 if (!pimpl->parse_.SetValue(addr, section, property, value)) { in SetValue()
104 bool ProfileConfig::RemoveAddr(const std::string &addr) in RemoveAddr() argument
107 if (!pimpl->parse_.RemoveSection(addr)) { in RemoveAddr()
70 GetValue( const std::string &addr, const std::string &section, const std::string &property, int &value) GetValue() argument
77 GetValue( const std::string &addr, const std::string &section, const std::string &property, bool &value) GetValue() argument
84 SetValue( const std::string &addr, const std::string &section, const std::string &property, int &value) SetValue() argument
94 SetValue( const std::string &addr, const std::string &section, const std::string &property, bool &value) SetValue() argument
113 RemoveProperty(const std::string &addr, const std::string &section, const std::string &property) RemoveProperty() argument
122 HasSection(const std::string &addr, const std::string &section) HasSection() argument
[all...]
/foundation/communication/netstack/frameworks/js/napi/socket/socket_exec/src/
H A Dsocket_extra_exec.cpp49 struct sockaddr_storage addr{}; in ExecGetLocalAddress() struct
50 socklen_t addrLen = sizeof(addr); in ExecGetLocalAddress()
51 if (getsockname(socketFD, (struct sockaddr *)&addr, &addrLen) < 0) { in ExecGetLocalAddress()
59 if (addr.ss_family == AF_INET) { in ExecGetLocalAddress()
60 auto *addrIn = reinterpret_cast<struct sockaddr_in *>(&addr); in ExecGetLocalAddress()
66 } else if (addr.ss_family == AF_INET6) { in ExecGetLocalAddress()
67 auto *addrIn6 = reinterpret_cast<struct sockaddr_in6 *>(&addr); in ExecGetLocalAddress()
84 struct sockaddr_storage addr{}; in ExecTcpServerGetLocalAddress() struct
85 socklen_t addrLen = sizeof(addr); in ExecTcpServerGetLocalAddress()
86 if (getsockname(socketFD, (struct sockaddr *)&addr, in ExecTcpServerGetLocalAddress()
[all...]
/third_party/mesa3d/src/util/
H A Du_debug_symbol.c152 debug_symbol_name_dbghelp(const void *addr, char* buf, unsigned size) in debug_symbol_name_dbghelp() argument
154 DWORD64 dwAddr = (DWORD64)(uintptr_t)addr; in debug_symbol_name_dbghelp()
196 (LPCTSTR)addr, in debug_symbol_name_dbghelp()
205 addr, buffer, in debug_symbol_name_dbghelp()
206 (unsigned long)((uintptr_t)addr - (uintptr_t)hModule)); in debug_symbol_name_dbghelp()
232 debug_symbol_name(const void *addr, char* buf, unsigned size) in debug_symbol_name() argument
235 if (debug_symbol_name_dbghelp(addr, buf, size)) { in debug_symbol_name()
240 snprintf(buf, size, "%p", addr); in debug_symbol_name()
245 debug_symbol_print(const void *addr) in debug_symbol_print() argument
248 debug_symbol_name(addr, bu in debug_symbol_print()
260 debug_symbol_name_cached(const void *addr) debug_symbol_name_cached() argument
[all...]
/device/board/hisilicon/hispark_aries/liteos_a/board/include/asm/
H A Dhal_platform_ints.h102 #define HAL_READ_UINT8(addr, data) READ_UINT8(data, addr)
104 #define HAL_WRITE_UINT8(addr, data) WRITE_UINT8(data, addr)
106 #define HAL_READ_UINT32(addr, data) READ_UINT32(data, addr)
108 #define HAL_WRITE_UINT32(addr, data) WRITE_UINT32(data, addr)
/device/soc/rockchip/rk3588/kernel/include/trace/hooks/
H A Dfault.h16 TP_PROTO(struct pt_regs *regs, unsigned int esr, unsigned long addr, const char *msg),
17 TP_ARGS(regs, esr, addr, msg), 1);
20 TP_PROTO(struct pt_regs *regs, unsigned int esr, unsigned long addr, const char *msg),
21 TP_ARGS(regs, esr, addr, msg), 1);
24 TP_PROTO(struct pt_regs *regs, unsigned int esr, unsigned long addr, const char *msg),
25 TP_ARGS(regs, esr, addr, msg), 1);
28 TP_PROTO(struct pt_regs *regs, unsigned int esr, unsigned long addr, bool user),
29 TP_ARGS(regs, esr, addr, user),
/third_party/libdrm/
H A Dlibdrm_macros.h51 static inline void *drm_mmap(void *addr, size_t length, int prot, int flags, in drm_mmap() argument
60 return mmap64(addr, length, prot, flags, fd, offset); in drm_mmap()
63 # define drm_munmap(addr, length) \
64 munmap(addr, length)
70 # define drm_mmap(addr, length, prot, flags, fd, offset) \
71 mmap(addr, length, prot, flags, fd, offset)
74 static inline int drm_munmap(void *addr, size_t length) in drm_munmap() argument
83 return munmap(addr, length); in drm_munmap()
/third_party/node/deps/v8/src/execution/arm/
H A Dsimulator-arm.h353 inline uint8_t ReadBU(int32_t addr);
354 inline int8_t ReadB(int32_t addr);
355 uint8_t ReadExBU(int32_t addr);
356 inline void WriteB(int32_t addr, uint8_t value);
357 inline void WriteB(int32_t addr, int8_t value);
358 int WriteExB(int32_t addr, uint8_t value);
360 inline uint16_t ReadHU(int32_t addr);
361 inline int16_t ReadH(int32_t addr);
362 uint16_t ReadExHU(int32_t addr);
364 inline void WriteH(int32_t addr, uint16_
[all...]
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/ap/
H A Dieee802_11_auth.c32 macaddr addr; member
42 macaddr addr; member
71 static int hostapd_acl_cache_get(struct hostapd_data *hapd, const u8 *addr, in hostapd_acl_cache_get() argument
80 if (os_memcmp(entry->addr, addr, ETH_ALEN) != 0) in hostapd_acl_cache_get()
106 static int hostapd_radius_acl_query(struct hostapd_data *hapd, const u8 *addr, in hostapd_radius_acl_query() argument
122 os_snprintf(buf, sizeof(buf), RADIUS_ADDR_FORMAT, MAC2STR(addr)); in hostapd_radius_acl_query()
142 MAC2STR(addr)); in hostapd_radius_acl_query()
156 if (radius_client_send(hapd->radius, msg, RADIUS_AUTH, addr) < 0) in hostapd_radius_acl_query()
170 * @addr
174 hostapd_check_acl(struct hostapd_data *hapd, const u8 *addr, struct vlan_description *vlan_id) hostapd_check_acl() argument
213 hostapd_allowed_address(struct hostapd_data *hapd, const u8 *addr, const u8 *msg, size_t len, struct radius_sta *out, int is_probe_req) hostapd_allowed_address() argument
[all...]
/third_party/wpa_supplicant/wpa_supplicant-2.9/src/ap/
H A Dieee802_11_auth.c32 macaddr addr; member
47 macaddr addr; member
89 static int hostapd_acl_cache_get(struct hostapd_data *hapd, const u8 *addr, in hostapd_acl_cache_get() argument
102 if (os_memcmp(entry->addr, addr, ETH_ALEN) != 0) in hostapd_acl_cache_get()
147 static int hostapd_radius_acl_query(struct hostapd_data *hapd, const u8 *addr, in hostapd_radius_acl_query() argument
163 os_snprintf(buf, sizeof(buf), RADIUS_ADDR_FORMAT, MAC2STR(addr)); in hostapd_radius_acl_query()
183 MAC2STR(addr)); in hostapd_radius_acl_query()
197 if (radius_client_send(hapd->radius, msg, RADIUS_AUTH, addr) < 0) in hostapd_radius_acl_query()
211 * @addr
215 hostapd_check_acl(struct hostapd_data *hapd, const u8 *addr, struct vlan_description *vlan_id) hostapd_check_acl() argument
253 hostapd_allowed_address(struct hostapd_data *hapd, const u8 *addr, const u8 *msg, size_t len, u32 *session_timeout, u32 *acct_interim_interval, struct vlan_description *vlan_id, struct hostapd_sta_wpa_psk_short **psk, char **identity, char **radius_cui, int is_probe_req) hostapd_allowed_address() argument
[all...]
/device/soc/hisilicon/hi3861v100/sdk_liteos/boot/loaderboot/common/partition_table/
H A Dload_partition_table.c62 table->table[HI_FLASH_PARTITON_BOOT].addr = PRODUCT_CFG_DEFAULT_BOOT_ADDR; in hi_flash_partition_init()
64 table->table[HI_FLASH_PARTITON_FACTORY_NV].addr = PRODUCT_CFG_DEFAULT_FNV_ADDR; in hi_flash_partition_init()
66 table->table[HI_FLASH_PARTITON_NORMAL_NV].addr = PRODUCT_CFG_DEFAULT_NORMAL_NV_ADDR; in hi_flash_partition_init()
68 table->table[HI_FLASH_PARTITON_NORMAL_NV_BACKUP].addr = PRODUCT_CFG_DEFAULT_NORMAL_NV_BACKUP_ADDR; in hi_flash_partition_init()
70 table->table[HI_FLASH_PARTITON_KERNEL_A].addr = PRODUCT_CFG_DEFAULT_KERNEL_A_ADDR; in hi_flash_partition_init()
72 table->table[HI_FLASH_PARTITON_KERNEL_B].addr = PRODUCT_CFG_DEFAULT_KERNEL_B_ADDR; in hi_flash_partition_init()
74 table->table[HI_FLASH_PARTITON_HILINK].addr = PRODUCT_CFG_DEFAULT_HILINK_ADDR; in hi_flash_partition_init()
76 table->table[HI_FLASH_PARTITON_FILE_SYSTEM].addr = PRODUCT_CFG_DEFAULT_FILE_SYSTEM_ADDR; in hi_flash_partition_init()
78 table->table[HI_FLASH_PARTITON_USR_RESERVE].addr = PRODUCT_CFG_DEFAULT_USER_RESERVE_ADDR; in hi_flash_partition_init()
80 table->table[HI_FLASH_PARTITON_HILINK_PKI].addr in hi_flash_partition_init()
[all...]
/device/soc/hisilicon/hi3861v100/sdk_liteos/boot/flashboot/common/partition_table/
H A Dboot_partition_table.c63 table->table[HI_FLASH_PARTITON_BOOT].addr = PRODUCT_CFG_DEFAULT_BOOT_ADDR; in hi_flash_partition_init()
65 table->table[HI_FLASH_PARTITON_FACTORY_NV].addr = PRODUCT_CFG_DEFAULT_FNV_ADDR; in hi_flash_partition_init()
67 table->table[HI_FLASH_PARTITON_NORMAL_NV].addr = PRODUCT_CFG_DEFAULT_NORMAL_NV_ADDR; in hi_flash_partition_init()
69 table->table[HI_FLASH_PARTITON_NORMAL_NV_BACKUP].addr = PRODUCT_CFG_DEFAULT_NORMAL_NV_BACKUP_ADDR; in hi_flash_partition_init()
71 table->table[HI_FLASH_PARTITON_KERNEL_A].addr = PRODUCT_CFG_DEFAULT_KERNEL_A_ADDR; in hi_flash_partition_init()
73 table->table[HI_FLASH_PARTITON_KERNEL_B].addr = PRODUCT_CFG_DEFAULT_KERNEL_B_ADDR; in hi_flash_partition_init()
75 table->table[HI_FLASH_PARTITON_HILINK].addr = PRODUCT_CFG_DEFAULT_HILINK_ADDR; in hi_flash_partition_init()
77 table->table[HI_FLASH_PARTITON_FILE_SYSTEM].addr = PRODUCT_CFG_DEFAULT_FILE_SYSTEM_ADDR; in hi_flash_partition_init()
79 table->table[HI_FLASH_PARTITON_USR_RESERVE].addr = PRODUCT_CFG_DEFAULT_USER_RESERVE_ADDR; in hi_flash_partition_init()
81 table->table[HI_FLASH_PARTITON_HILINK_PKI].addr in hi_flash_partition_init()
[all...]
/third_party/libunwind/libunwind/src/tilegx/
H A DGinit.c61 char *addr = uc_addr (uc, reg); in tdep_uc_addr() local
62 return addr; in tdep_uc_addr()
88 access_mem (unw_addr_space_t as, unw_word_t addr, unw_word_t *val, int write, in access_mem() argument
91 if ((long long)addr & (sizeof(unw_word_t) - 1)) in access_mem()
96 Debug (16, "mem[%llx] <- %llx\n", (long long) addr, (long long) *val); in access_mem()
97 *(unw_word_t *) (intptr_t) addr = *val; in access_mem()
101 *val = *(unw_word_t *) (intptr_t) addr; in access_mem()
102 Debug (16, "mem[%llx] -> %llx\n", (long long) addr, (long long) *val); in access_mem()
111 unw_word_t *addr; in access_reg() local
118 if (!(addr in access_reg()
[all...]
/third_party/ltp/testcases/kernel/mem/vma/
H A Dvma02.c67 void *addr, *start, *end, *lastend; in main() local
88 addr = mmap(NULL, pagesize * 3, PROT_WRITE, in main()
90 if (addr == MAP_FAILED) in main()
93 tst_resm(TINFO, "pid = %d addr = %p", getpid(), addr); in main()
95 memset(addr, 0, pagesize * 3); in main()
98 err = mbind(addr + pagesize, pagesize, MPOL_BIND, nmask->maskp, in main()
109 err = mbind(addr, pagesize * 3, MPOL_DEFAULT, NULL, 0, 0); in main()
123 if (start == addr) { in main()
126 if (end == addr in main()
[all...]
/third_party/musl/libc-test/src/functionalext/supplement/network/
H A D__recvmmsg_time64.c33 struct sockaddr_in addr; in sendsss() local
44 addr.sin_family = AF_INET; in sendsss()
45 addr.sin_addr.s_addr = htonl(INADDR_LOOPBACK); in sendsss()
46 addr.sin_port = htons(1234); in sendsss()
47 if (connect(sockfd, (struct sockaddr *)&addr, sizeof(addr)) == -1) { in sendsss()
80 struct sockaddr_in addr; in recvsss() local
92 addr.sin_family = AF_INET; in recvsss()
93 addr.sin_addr.s_addr = htonl(INADDR_LOOPBACK); in recvsss()
94 addr in recvsss()
[all...]
H A Drecvmmsg.c31 struct sockaddr_in addr; in sendsss() local
42 addr.sin_family = AF_INET; in sendsss()
43 addr.sin_addr.s_addr = htonl(INADDR_LOOPBACK); in sendsss()
44 addr.sin_port = htons(1234); in sendsss()
45 if (connect(sockfd, (struct sockaddr *)&addr, sizeof(addr)) == -1) { in sendsss()
78 struct sockaddr_in addr; in recvsss() local
90 addr.sin_family = AF_INET; in recvsss()
91 addr.sin_addr.s_addr = htonl(INADDR_LOOPBACK); in recvsss()
92 addr in recvsss()
[all...]
/foundation/communication/dsoftbus/sdk/transmission/trans_channel/udp/file/src/
H A Dfile_adapter.c50 SoftBusSockAddrIn addr; in CreateServerSocketByIpv4() local
51 int32_t ret = Ipv4AddrToAddrIn(&addr, ip, port); in CreateServerSocketByIpv4()
53 TRANS_LOGE(TRANS_FILE, "init addr error, ret=%{public}d", ret); in CreateServerSocketByIpv4()
68 TRANS_LOGE(TRANS_FILE, "reuse addr error, ret=%{public}d.", ret); in CreateServerSocketByIpv4()
80 ret = SOFTBUS_TEMP_FAILURE_RETRY(SoftBusSocketBind(fd, (SoftBusSockAddr *)&addr, sizeof(addr))); in CreateServerSocketByIpv4()
92 SoftBusSockAddrIn6 addr; in CreateServerSocketByIpv6() local
93 int32_t ret = Ipv6AddrToAddrIn(&addr, ip, port); in CreateServerSocketByIpv6()
95 TRANS_LOGE(TRANS_FILE, "init addr error, ret=%{public}d", ret); in CreateServerSocketByIpv6()
109 TRANS_LOGE(TRANS_FILE, "reuse addr erro in CreateServerSocketByIpv6()
167 InitSockAddrInByIpPort(const char *ip, int32_t port, struct sockaddr_in *addr) InitSockAddrInByIpPort() argument
179 InitSockAddrIn6ByIpPort(const char *ip, int32_t port, struct sockaddr_in6 *addr) InitSockAddrIn6ByIpPort() argument
[all...]
/foundation/communication/ipc/ipc/test/rpc/socket_trans/src/
H A Drpc_mini_socket_trans.c73 static int32_t BindLocalIP(int fd, const char *localIP, uint16_t port, struct sockaddr_in *addr) in BindLocalIP() argument
75 if (memset_s(addr, sizeof(struct sockaddr_in), 0, sizeof(*addr)) != EOK) { in BindLocalIP()
80 addr->sin_family = AF_INET; in BindLocalIP()
81 int rc = inet_pton(AF_INET, localIP, &addr->sin_addr); in BindLocalIP()
86 addr->sin_port = lwip_htons(port); in BindLocalIP()
89 rc = bind(fd, (struct sockaddr *)addr, sizeof(*addr)); in BindLocalIP()
163 struct sockaddr_in addr; in OpenTcpServerSocket() local
164 int32_t ret = BindLocalIP(fd, ip, port, &addr); in OpenTcpServerSocket()
324 struct sockaddr_in addr; Connect() local
[all...]
H A Drpc_socket_trans.c71 static int32_t BindLocalIP(int fd, const char *localIP, uint16_t port, struct sockaddr_in *addr) in BindLocalIP() argument
73 if (memset_s(addr, sizeof(struct sockaddr_in), 0, sizeof(*addr)) != EOK) { in BindLocalIP()
78 addr->sin_family = AF_INET; in BindLocalIP()
79 int rc = inet_pton(AF_INET, localIP, &addr->sin_addr); in BindLocalIP()
84 addr->sin_port = htons(port); in BindLocalIP()
87 rc = bind(fd, (struct sockaddr *)addr, sizeof(*addr)); in BindLocalIP()
158 struct sockaddr_in addr; in OpenTcpServerSocket() local
159 int32_t ret = BindLocalIP(fd, ip, port, &addr); in OpenTcpServerSocket()
253 struct sockaddr_in addr; Connect() local
[all...]

Completed in 16 milliseconds

12345678910>>...180