Skip to content
Snippets Groups Projects
Commit 7b2643f6 authored by Maciej Żenczykowski's avatar Maciej Żenczykowski Committed by Gerrit Code Review
Browse files

Merge "BpfInterfaceMapUpdater is only viable on T+" into main

parents 0b29cbf1 ce25003a
No related branches found
No related tags found
No related merge requests found
......@@ -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.
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment