replace U32 ifindex with S32
These are allocated in order by the kernel, if we go
over 2 billion, we've got other problems... besides
U32 to S32 conversion will work just fine anyway.
Test: TreeHugger
Signed-off-by:
Maciej Żenczykowski <maze@google.com>
Change-Id: Ifbb7139e9118dd2d0c52e83c5874132e03760b30
Showing
- Tethering/src/com/android/networkstack/tethering/BpfCoordinator.java 5 additions, 5 deletions...rc/com/android/networkstack/tethering/BpfCoordinator.java
- Tethering/src/com/android/networkstack/tethering/TetherDevKey.java 3 additions, 3 deletions.../src/com/android/networkstack/tethering/TetherDevKey.java
- Tethering/src/com/android/networkstack/tethering/TetherDevValue.java 3 additions, 3 deletions...rc/com/android/networkstack/tethering/TetherDevValue.java
- Tethering/src/com/android/networkstack/tethering/TetherDownstream6Key.java 3 additions, 3 deletions.../android/networkstack/tethering/TetherDownstream6Key.java
- Tethering/src/com/android/networkstack/tethering/TetherLimitKey.java 4 additions, 4 deletions...rc/com/android/networkstack/tethering/TetherLimitKey.java
- Tethering/tests/privileged/src/com/android/networkstack/tethering/BpfMapTest.java 1 addition, 1 deletion...ed/src/com/android/networkstack/tethering/BpfMapTest.java
- Tethering/tests/unit/src/com/android/networkstack/tethering/BpfCoordinatorTest.java 9 additions, 9 deletions...om/android/networkstack/tethering/BpfCoordinatorTest.java
- common/src/com/android/net/module/util/bpf/Tether4Key.java 3 additions, 3 deletionscommon/src/com/android/net/module/util/bpf/Tether4Key.java
- common/src/com/android/net/module/util/bpf/Tether4Value.java 3 additions, 3 deletionscommon/src/com/android/net/module/util/bpf/Tether4Value.java
Loading
Please register or sign in to comment