/foundation/communication/wifi/wifi/services/wifi_standard/wifi_framework/wifi_toolkit/net_helper/ |
D | ipv4_address.cpp | 33 struct in_addr ipv4Addr = {INADDR_ANY}; in IsValidIPv4() 53 struct in_addr maskAddr = {INADDR_ANY}; in Create() 66 Ipv4Address Ipv4Address::Create(const in_addr &ipv4, const in_addr &mask) in Create() 69 struct in_addr maskAddr = mask; in Create() 92 in_addr Ipv4Address::GetAddressWithInet() const in GetAddressWithInet() 94 struct in_addr ipv4Addr = {INADDR_ANY}; in GetAddressWithInet() 104 in_addr ipAddr = GetMaskWithInet(); in GetMaskWithString() 111 in_addr Ipv4Address::GetMaskWithInet() const in GetMaskWithInet() 113 struct in_addr mask4Addr = {INADDR_ANY}; in GetMaskWithInet() 124 in_addr ipAddr = GetNetworkAddressWithInet(); in GetNetworkAddressWithString() [all …]
|
D | ipv4_address.h | 63 static Ipv4Address Create(const in_addr &ipv4, const in_addr &mask); 90 in_addr GetAddressWithInet() const; 106 in_addr GetMaskWithInet() const; 122 in_addr GetNetworkAddressWithInet() const; 138 in_addr GetHostAddressWithInet() const;
|
D | dhcpd_interface.h | 92 …const std::vector<Ipv4Address> &vecIpAddr, const struct in_addr &input, const struct in_addr &mask…
|
D | dhcpd_interface.cpp | 269 …const std::vector<Ipv4Address> &vecIpAddr, const struct in_addr &input, const struct in_addr &mask… in CompareSubNet() 273 struct in_addr tmpAddr = {INADDR_ANY}; in CompareSubNet() 288 struct in_addr maskAddr = {INADDR_ANY}; in AssignIpAddrV4() 293 struct in_addr initAddr = {INADDR_ANY}; in AssignIpAddrV4() 299 struct in_addr tmpAddr = {INADDR_ANY}; in AssignIpAddrV4()
|
D | arp_checker.h | 48 struct in_addr localIpAddr_;
|
D | arp_checker.cpp | 60 struct in_addr destIp; in DoArp()
|
D | http_request.cpp | 315 in_addr **addr_list = (in_addr **)he->h_addr_list; in GetHostThread()
|
/foundation/communication/dsoftbus/components/nstackx/nstackx_ctrl/include/coap_discover/ |
D | coap_app.h | 42 int32_t CoapServerInitWithIdx(const struct in_addr *ip, uint32_t idx, const char *networkName); 45 int32_t CoapServerInit(const struct in_addr *ip); 49 int32_t CoapP2pServerInit(const struct in_addr *ip); 51 int32_t CoapUsbServerInit(const struct in_addr *ip);
|
D | coap_client.h | 34 …_t *CoapGetContext(const char *node, const char *port, uint8_t needBind, const struct in_addr *ip);
|
/foundation/communication/dsoftbus/components/nstackx/nstackx_ctrl/include/ |
D | nstackx_device.h | 77 struct in_addr ip; 85 struct in_addr ip; 192 uint8_t IsWlanIpAddr(const struct in_addr *ifAddr); 193 uint8_t IsEthIpAddr(const struct in_addr *ifAddr); 194 uint8_t IsP2pIpAddr(const struct in_addr *ifAddr); 195 uint8_t IsUsbIpAddr(const struct in_addr *ifAddr); 227 void GetLocalIp(struct in_addr *ip); 231 void SetP2pIp(const struct in_addr *ip); 232 void SetUsbIp(const struct in_addr *ip);
|
/foundation/communication/netmanager_base/test/netmanagernative/unittest/netsys_wrapper_test/ |
D | wrapper_decoder_test.cpp | 158 RTA_ALIGN(sizeof(struct rtattr)) + RTA_ALIGN(sizeof(struct in_addr)) + 168 in_addr *ipv4Addr = reinterpret_cast<struct in_addr *>(RTA_DATA(prtattr)); 189 prtattr->rta_len = RTA_ALIGN(sizeof(struct rtattr)) + RTA_ALIGN(sizeof(struct in_addr)); 260 in_addr *ipv4Addr) in InterpreteRtMsgTest001ParmaCheck() 267 prtattr->rta_len = RTA_ALIGN(sizeof(struct rtattr)) + RTA_ALIGN(sizeof(struct in_addr)); in InterpreteRtMsgTest001ParmaCheck() 272 (*prtattr1)->rta_len = RTA_ALIGN(sizeof(struct rtattr)) + RTA_ALIGN(sizeof(struct in_addr)); in InterpreteRtMsgTest001ParmaCheck() 273 ipv4Addr = reinterpret_cast<struct in_addr *>(RTA_DATA(*prtattr1)); in InterpreteRtMsgTest001ParmaCheck() 288 RTA_ALIGN(sizeof(struct rtattr)) + RTA_ALIGN(sizeof(struct in_addr)) + 289 RTA_ALIGN(sizeof(struct rtattr)) + NLMSG_ALIGN(sizeof(struct in_addr)) + 298 in_addr *ipv4Addr = reinterpret_cast<struct in_addr *>(RTA_DATA(prtattr));
|
/foundation/communication/dsoftbus/components/nstackx/nstackx_ctrl/core/ |
D | nstackx_device.c | 121 static struct in_addr g_p2pIp; 122 static struct in_addr g_usbIp; 1286 struct in_addr ipAddr; 1298 struct in_addr ipAddr; 1306 static char *GetLocalNifIpWithIdx(struct in_addr *ip, uint32_t idx) 1339 void GetLocalIp(struct in_addr *ip) 1343 (void)memcpy_s(ip, sizeof(struct in_addr), 1344 &ifInfo->ip, sizeof(struct in_addr)); 1346 (void)memset_s(ip, sizeof(struct in_addr), 0, sizeof(struct in_addr)); 1369 struct in_addr ipAddr; [all …]
|
/foundation/communication/dsoftbus/components/nstackx/nstackx_ctrl/include/mini_discover/ |
D | coap_app.h | 32 int32_t CoapServerInit(const struct in_addr *ip);
|
/foundation/communication/wifi/wifi/test/wifi_standard/wifi_framework/wifi_toolkit/unittest/ |
D | ipv4_address_test.cpp | 83 in_addr ipv4; 85 in_addr mask;
|
/foundation/communication/dsoftbus/components/nstackx/nstackx_ctrl/core/coap_discover/ |
D | coap_client.c | 171 uint8_t needBind, const struct in_addr *ip) in CoapGetContextEx() 207 … (void)memcpy_s(&sockIp.sin_addr, sizeof(struct in_addr), ip, sizeof(struct in_addr)); in CoapGetContextEx() 224 …t_t *CoapGetContext(const char *node, const char *port, uint8_t needBind, const struct in_addr *ip) in CoapGetContext()
|
D | coap_app.c | 550 static int32_t CoapServerInitWithIdxEx(const struct in_addr *ip, uint32_t idx, const char *networkN… in CoapServerInitWithIdxEx() 578 int32_t CoapServerInitWithIdx(const struct in_addr *ip, uint32_t idx, const char *networkName) in CoapServerInitWithIdx() 587 static int32_t CoapServerInitEx(const struct in_addr *ip) in CoapServerInitEx() 617 int32_t CoapServerInit(const struct in_addr *ip) in CoapServerInit() 626 static int32_t CoapP2pServerInitEx(const struct in_addr *ip) in CoapP2pServerInitEx() 661 int32_t CoapP2pServerInit(const struct in_addr *ip) in CoapP2pServerInit() 670 static int32_t CoapUsbServerInitEx(const struct in_addr *ip) in CoapUsbServerInitEx() 705 int32_t CoapUsbServerInit(const struct in_addr *ip) in CoapUsbServerInit()
|
/foundation/communication/dsoftbus/components/nstackx/nstackx_ctrl/core/mini_discover/ |
D | coap_app.c | 64 struct in_addr localAddr = {0}; in IsLoopBackPacket() 365 … int32_t CoapGetContext(const char *node, int32_t port, uint8_t needBind, const struct in_addr *ip) in CoapGetContext() 378 static int32_t CoapServerInitEx(const struct in_addr *ip) in CoapServerInitEx() 414 int32_t CoapServerInit(const struct in_addr *ip) in CoapServerInit()
|
/foundation/communication/dhcp/services/dhcp_server/src/ |
D | address_utils.c | 170 struct in_addr inAddr; in ParseIpAddr() 174 if (memcpy_s(&ip, sizeof(uint32_t), &inAddr, sizeof(struct in_addr)) != EOK) { in ParseIpAddr() 200 struct in_addr inAddr; in ParseStrIp()
|
/foundation/communication/dhcp/test/services/dhcp_server/unittest/ |
D | system_func_mock.cpp | 60 struct in_addr { struct 67 struct in_addr sin_addr; argument
|
/foundation/communication/netmanager_ext/services/mdnsmanager/src/protocol/ |
D | mdns_packet_parser.cpp | 195 if (static_cast<size_t>(end - begin) < sizeof(in_addr) || length != sizeof(in_addr)) { in ParseRData() 199 in_addr addr; in ParseRData() 373 if (std::any_cast<const in_addr>(&rdata)) { in SerializeRData() 374 WriteRawData(*std::any_cast<const in_addr>(&rdata), payload); in SerializeRData()
|
D | mdns_socket_listener.cpp | 112 …mreq.imr_interface = ifa ? reinterpret_cast<sockaddr_in *>(ifa->ifa_addr)->sin_addr : in_addr{INAD… in InitSocketV4() 116 sizeof(in_addr)) == 0); in InitSocketV4() 454 in_addr addr; in Multicast()
|
/foundation/communication/netmanager_base/services/netmanagernative/src/manager/ |
D | interface_manager.cpp | 201 in_addr inAddr; in ModifyAddress() 285 struct in_addr addr = {}; in GetIfaceConfig() 365 struct in_addr ipv4Addr = {INADDR_ANY}; in SetIpAddress()
|
D | vpn_manager.cpp | 125 in_addr ipv4Addr = {}; in SetVpnAddress()
|
/foundation/communication/dhcp/services/dhcp_client/src/ |
D | dhcp_function.c | 47 struct in_addr addr4; in Ip4StrConToInt() 71 struct in_addr addr4; in Ip4IntConToStr()
|
/foundation/communication/bluetooth_service/services/bluetooth/service/src/pan/ |
D | pan_network.cpp | 158 struct in_addr ipv4Addr = {INADDR_ANY}; in SetIpAddress() 159 struct in_addr mask4Addr = {INADDR_ANY}; in SetIpAddress()
|