Home
last modified time | relevance | path

Searched refs:dstIp (Results 1 - 5 of 5) sorted by relevance

/foundation/communication/netmanager_base/test/netmanagernative/unittest/netsys_netfirewall_test/
H A Dnetsys_netfirewall_test.cpp136 Ip4Key dstIp = 0; in HWTEST_F() local
138 inet_pton(AF_INET, dst.c_str(), &dstIp); in HWTEST_F()
148 interceptEv.ipv4.daddr = dstIp; in HWTEST_F()
/foundation/communication/netmanager_base/services/netmanagernative/bpf/src/
H A Dbpf_netfirewall.cpp580 std::string dstIp; in NotifyInterceptEvent() local
587 dstIp = ip4; in NotifyInterceptEvent()
594 dstIp = ip6; in NotifyInterceptEvent()
598 record->remoteIp = dstIp; in NotifyInterceptEvent()
600 record->localIp = dstIp; in NotifyInterceptEvent()
/foundation/communication/dhcp/services/dhcp_server/include/
H A Ddhcp_function.h44 static bool CheckSameNetwork(const uint32_t srcIp, const uint32_t dstIp, const uint32_t maskIp);
/foundation/communication/dsoftbus/components/nstackx/nstackx_ctrl/core/
H A Dnstackx_dfinder_mgt_msg_log.c101 static int32_t GetAnonymizedIp(char *dstIp, size_t dstLen, char *srcIp) in GetAnonymizedIp() argument
107 return IpAddrAnonymousFormat(dstIp, dstLen, (struct sockaddr *)&addr, sizeof(addr)); in GetAnonymizedIp()
/foundation/communication/dhcp/services/dhcp_server/src/
H A Ddhcp_function.cpp302 bool DhcpFunction::CheckSameNetwork(const uint32_t srcIp, const uint32_t dstIp, const uint32_t maskIp) in CheckSameNetwork() argument
305 uint32_t dstNet = dstIp & maskIp; in CheckSameNetwork()

Completed in 4 milliseconds