Home
last modified time | relevance | path

Searched refs:TUN_INTF_NETID_RANGE (Results 1 – 3 of 3) sorted by relevance

/frameworks/base/services/core/java/com/android/server/
DNetIdManager.java34 public static final int MAX_NET_ID = 65535 - IpSecService.TUN_INTF_NETID_RANGE;
DIpSecService.java763 public static final int TUN_INTF_NETID_RANGE = 0x0400; field in IpSecService
780 for (int i = 0; i < TUN_INTF_NETID_RANGE; i++) { in reserveNetId()
783 if (++mNextTunnelNetIdIndex >= TUN_INTF_NETID_RANGE) mNextTunnelNetIdIndex = 0; in reserveNetId()
/frameworks/base/tests/net/java/com/android/server/
DIpSecServiceTest.java654 for (int i = 0; i < mIpSecService.TUN_INTF_NETID_RANGE; i++) { in testReserveNetId()
667 mIpSecService.TUN_INTF_NETID_START + mIpSecService.TUN_INTF_NETID_RANGE / 2; in testReserveNetId()