/foundation/communication/netmanager_base/services/netmanagernative/src/manager/ |
H A D | clat_manager.cpp | 43 NETNATIVE_LOGW("Clatd is already running on %{public}s", v6Iface.c_str()); in ClatStart() 48 NETNATIVE_LOGW("NetManagerNative pointer is null"); in ClatStart() 57 NETNATIVE_LOGW("Fail to get source addresses for clat"); in ClatStart() 65 NETNATIVE_LOGW("Fail to create and configure tun interface for clat"); in ClatStart() 74 NETNATIVE_LOGW("Fail to create and configure read/write sockets for clat"); in ClatStart() 88 NETNATIVE_LOGW("Add route on %{public}s failed", tunIface.c_str()); in ClatStart() 101 NETNATIVE_LOGW("Clatd has not started on %{public}s", v6Iface.c_str()); in ClatStop() 140 NETNATIVE_LOGW("no IPv4 addresses were available for clat"); in GenerateClatSrcAddr() 150 NETNATIVE_LOGW("no IPv6 addresses were available for clat"); in GenerateClatSrcAddr() 165 NETNATIVE_LOGW("Creat in CreateAndConfigureTunIface() [all...] |
H A D | interface_manager.cpp | 302 NETNATIVE_LOGW("IfName copy failed, no need to return."); in GetIfaceConfig()
|
/foundation/communication/netmanager_base/services/netmanagernative/src/netsys/ |
H A D | clat_utils.cpp | 79 NETNATIVE_LOGW("fail to free tun v4 address, tun address invalid"); in FreeTunV4Addr() 109 NETNATIVE_LOGW("fail to select ipv4 address for tun, init address invalid"); in SelectIpv4Address() 115 NETNATIVE_LOGW("No free IPv4 address in %{public}s/%{public}d", in SelectIpv4Address() 186 NETNATIVE_LOGW("setsockopt(SOL_SOCKET, SO_MARK) failed: %{public}s", strerror(err)); in GetSuitableIpv6Address() 193 NETNATIVE_LOGW("setsockopt(SOL_SOCKET, SO_BINDTODEVICE, '%{public}s') failed: %{public}s", v6IfaceStr.c_str(), in GetSuitableIpv6Address() 225 NETNATIVE_LOGW("fail to generate ipv6 address, ipv6 interface name null"); in GenerateIpv6Address() 231 NETNATIVE_LOGW("fail to generate ipv6 address, ipv4 address invalid"); in GenerateIpv6Address() 237 NETNATIVE_LOGW("fail to generate ipv6 address, prefix invalid"); in GenerateIpv6Address() 244 NETNATIVE_LOGW("Unable to find global source address on %{public}s for %{public}s", v6IfaceStr.c_str(), in GenerateIpv6Address() 251 NETNATIVE_LOGW("fai in GenerateIpv6Address() [all...] |
H A D | clatd.cpp | 68 NETNATIVE_LOGW("fail to start clatd, clatd for %{public}s is already running", v6Iface_.c_str()); in Start() 79 NETNATIVE_LOGW("fail to stop clatd, clatd for %{public}s is not running", v6Iface_.c_str()); in Stop() 142 NETNATIVE_LOGW("event_loop/poll returned an error, errno: %{public}d", errno); in RunLoop() 169 NETNATIVE_LOGW("csum offset %{public}d larger than packet length %{public}d", csumOffset, packetLen); in MaybeCalculateL4Checksum() 212 NETNATIVE_LOGW("%{public}zd read packet len shorter than %{public}u L2 header", readLen, tpNet); in ProcessV6Packet() 219 NETNATIVE_LOGW("skip csum for packet which length is %{public}zd", readLen); in ProcessV6Packet() 246 NETNATIVE_LOGW("%{public}zd read packet len shorter than %{public}d payload offset", readLen, payloadOffset); in ProcessV4Packet() 254 NETNATIVE_LOGW("unknown packet type = 0x%{public}x", tunProtocol); in ProcessV4Packet() 259 NETNATIVE_LOGW("unexpected flags = %{public}d", readBuf.tunProtocolInfo.flags); in ProcessV4Packet() 281 NETNATIVE_LOGW("recvms in ReadV6Packet() [all...] |
H A D | clatd_packet_converter.cpp | 61 NETNATIVE_LOGW("fail to convert ipv4 packet"); in ConvertPacket() 66 NETNATIVE_LOGW("fail to convert ipv6 packet"); in ConvertPacket() 71 NETNATIVE_LOGW("invalid convert type"); in ConvertPacket() 147 NETNATIVE_LOGW("unknown transport protocol"); in ConvertV4TpPacket() 178 NETNATIVE_LOGW("fail to convert ipv6 packet, fragment packet size is too small"); in ConvertV6Packet() 227 NETNATIVE_LOGW("unknown transport protocol"); in ConvertV6TpPacket() 239 NETNATIVE_LOGW("Invalid ipv4 packet, input packet size too small"); in IsV4PacketValid() 243 NETNATIVE_LOGW("Invalid ipv4 packet, ip header length %{public}u smaller than 5", ipHeader->ihl); in IsV4PacketValid() 247 NETNATIVE_LOGW("Invalid ipv4 packet, ip header length %{public}u larger than entire packet", ipHeader->ihl); in IsV4PacketValid() 251 NETNATIVE_LOGW("Invali in IsV4PacketValid() [all...] |
H A D | virtual_network.cpp | 73 NETNATIVE_LOGW("Failed to add interface %{public}s to netId_ %{public}u", interfaceName.c_str(), netId_); in AddInterface() 96 NETNATIVE_LOGW("Failed to remove interface %{public}s to netId_ %{public}u", interfaceName.c_str(), netId_); in RemoveInterface()
|
/foundation/communication/netmanager_base/interfaces/innerkits/netmanagernative/include/ |
H A D | netnative_log_wrapper.h | 38 #define NETNATIVE_LOGW(fmt, ...) PRINT_NATIVE_LOG(WARN, fmt, ##__VA_ARGS__) macro
|
/foundation/communication/netmanager_base/services/netmanagernative/bpf/src/ |
H A D | bitmap_manager.cpp | 220 NETNATIVE_LOGW("InsertIp6SegBitmap GetIp6AndMask fail ret=%{public}d", ret); in InsertIp6SegBitmap() 305 NETNATIVE_LOGW("BuildMarkBitmap InsertIpBitmap remoteIps fail ret=%{public}d", ret); in BuildMarkBitmap() 310 NETNATIVE_LOGW("BuildMarkBitmap InsertIpBitmap localIps fail ret=%{public}d", ret); in BuildMarkBitmap() 651 NETNATIVE_LOGW("GetIp6AndMask fail ret=%{public}d", ret); in GetIp6AndMask() 678 NETNATIVE_LOGW("GetIp6AndMask off equal 128"); in GetIp6AndMask()
|
/foundation/communication/netmanager_base/services/netmanagernative/src/netsys/wrapper/ |
H A D | wrapper_decoder.cpp | 250 NETNATIVE_LOGW("Netlink message type is unexpected as : %{public}d\n", hdrMsg->nlmsg_type); in DecodeBinary() 412 NETNATIVE_LOGW("The interface index %{public}d in %{public}s is unknown", ifAddr->ifa_index, msgType.c_str()); in InterpreteIFaceAddr()
|
H A D | wrapper_distributor.cpp | 162 NETNATIVE_LOGW("No interface name in event message"); in HandleSubSysQlog()
|