Home
last modified time | relevance | path

Searched refs:IPVERSION (Results 1 – 4 of 4) sorted by relevance

/ohos5.0/foundation/communication/netmanager_base/test/netmanagernative/unit_test/
H A Dnetwork_route.cpp31 const int IPVERSION = 4; variable
299 …ret = netsysServiceR_->SetProcSysNet(IPVERSION, 1, std::string("eth0"), std::string("disable_polic… in TestNetGetProcSysNet()
302 …ret = netsysServiceR_->GetProcSysNet(IPVERSION, 1, std::string("eth0"), std::string("disable_polic… in TestNetGetProcSysNet()
/ohos5.0/foundation/communication/dhcp/test/unittest/services/dhcp_client/
H A Ddhcp_socket_test.cpp189 packet.ip.version = IPVERSION;
216 packet.ip.version = IPVERSION;
/ohos5.0/foundation/communication/dhcp/services/dhcp_client/src/
H A Ddhcp_socket.cpp267 udpPackets.ip.version = IPVERSION; in SendToDhcpPacket()
356 if ((pPacket->ip.protocol != IPPROTO_UDP) || (pPacket->ip.version != IPVERSION)) { in CheckUdpPacket()
/ohos5.0/foundation/communication/netmanager_base/services/netmanagernative/src/netsys/
H A Dclatd_packet_converter.cpp248 if (ipHeader->version != IPVERSION) { in IsV4PacketValid()
293 ipHeader->version = IPVERSION; in WriteIpv4Header()