Merge "BpfInterfaceMapUpdater is only viable on T+" into main
This commit is contained in:
commit
7b2643f65f
1 changed files with 4 additions and 0 deletions
|
|
@ -15,6 +15,7 @@
|
|||
*/
|
||||
package com.android.server.net;
|
||||
|
||||
import android.os.Build;
|
||||
import android.content.Context;
|
||||
import android.net.INetd;
|
||||
import android.os.Handler;
|
||||
|
|
@ -25,6 +26,8 @@ import android.system.ErrnoException;
|
|||
import android.util.IndentingPrintWriter;
|
||||
import android.util.Log;
|
||||
|
||||
import androidx.annotation.RequiresApi;
|
||||
|
||||
import com.android.internal.annotations.VisibleForTesting;
|
||||
import com.android.net.module.util.BaseNetdUnsolicitedEventListener;
|
||||
import com.android.net.module.util.BpfDump;
|
||||
|
|
@ -36,6 +39,7 @@ import com.android.net.module.util.Struct.S32;
|
|||
/**
|
||||
* Monitor interface added (without removed) and right interface name and its index to bpf map.
|
||||
*/
|
||||
@RequiresApi(Build.VERSION_CODES.TIRAMISU)
|
||||
public class BpfInterfaceMapUpdater {
|
||||
private static final String TAG = BpfInterfaceMapUpdater.class.getSimpleName();
|
||||
// This is current path but may be changed soon.
|
||||
|
|
|
|||
Loading…
Reference in a new issue