fix comments
Test: N/A Signed-off-by: Maciej Żenczykowski <maze@google.com> Change-Id: Ic217e08484c39077bcc408195daa3311ed93ad28
This commit is contained in:
@@ -62,7 +62,7 @@ public class BpfCoordinatorShimImpl
|
|||||||
@Nullable
|
@Nullable
|
||||||
private final BpfMap<Tether4Key, Tether4Value> mBpfDownstream4Map;
|
private final BpfMap<Tether4Key, Tether4Value> mBpfDownstream4Map;
|
||||||
|
|
||||||
// BPF map for downstream IPv4 forwarding.
|
// BPF map for upstream IPv4 forwarding.
|
||||||
@Nullable
|
@Nullable
|
||||||
private final BpfMap<Tether4Key, Tether4Value> mBpfUpstream4Map;
|
private final BpfMap<Tether4Key, Tether4Value> mBpfUpstream4Map;
|
||||||
|
|
||||||
|
|||||||
@@ -28,7 +28,7 @@ import java.net.Inet4Address;
|
|||||||
import java.net.UnknownHostException;
|
import java.net.UnknownHostException;
|
||||||
import java.util.Objects;
|
import java.util.Objects;
|
||||||
|
|
||||||
/** Key type for upstream IPv4 forwarding map. */
|
/** Key type for downstream & upstream IPv4 forwarding maps. */
|
||||||
public class Tether4Key extends Struct {
|
public class Tether4Key extends Struct {
|
||||||
@Field(order = 0, type = Type.U32)
|
@Field(order = 0, type = Type.U32)
|
||||||
public final long iif;
|
public final long iif;
|
||||||
|
|||||||
@@ -28,7 +28,7 @@ import java.net.InetAddress;
|
|||||||
import java.net.UnknownHostException;
|
import java.net.UnknownHostException;
|
||||||
import java.util.Objects;
|
import java.util.Objects;
|
||||||
|
|
||||||
/** Value type for upstream IPv4 forwarding map. */
|
/** Value type for downstream & upstream IPv4 forwarding maps. */
|
||||||
public class Tether4Value extends Struct {
|
public class Tether4Value extends Struct {
|
||||||
@Field(order = 0, type = Type.U32)
|
@Field(order = 0, type = Type.U32)
|
||||||
public final long oif;
|
public final long oif;
|
||||||
|
|||||||
Reference in New Issue
Block a user