Home
last modified time | relevance | path

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

/packages/modules/NetworkStack/src/com/android/networkstack/arp/
DArpPacket.java27 import static com.android.server.util.NetworkStackConstants.IPV4_ADDR_LEN;
81 buf.put((byte) IPV4_ADDR_LEN); // pln in buildArpPacket()
129 if (ipAddrLength != IPV4_ADDR_LEN) { in parseArpPacket()
139 byte[] senderIp = new byte[IPV4_ADDR_LEN]; in parseArpPacket()
144 byte[] targetIp = new byte[IPV4_ADDR_LEN]; in parseArpPacket()
/packages/modules/NetworkStack/src/android/net/util/
DConnectivityPacketSummary.java45 import static com.android.server.util.NetworkStackConstants.IPV4_ADDR_LEN;
174 asUint(mPacket.get()) != IPV4_ADDR_LEN) { in parseARP()
396 return getIpAddressString(ipv4, IPV4_ADDR_LEN); in getIPv4AddressString()
/packages/modules/IPsec/src/java/android/net/ipsec/ike/
DIkeTrafficSelector.java100 private static final int IPV4_ADDR_LEN = 4; field in IkeTrafficSelector
301 int expectedAddrLen = isTsIpv4 ? IPV4_ADDR_LEN : IPV6_ADDR_LEN; in decodeTrafficSelector()
/packages/modules/NetworkStack/src/com/android/server/util/
DNetworkStackConstants.java89 public static final int IPV4_ADDR_LEN = 4; field in NetworkStackConstants