Home
last modified time | relevance | path

Searched refs:IngressDiscardValue (Results 1 – 5 of 5) sorted by relevance

/packages/modules/Connectivity/common/src/com/android/net/module/util/bpf/
DIngressDiscardValue.java22 public class IngressDiscardValue extends Struct { class
30 public IngressDiscardValue(final int iif1, final int iif2) { in IngressDiscardValue() method in IngressDiscardValue
/packages/modules/Connectivity/bpf_progs/
Dnetd.h243 } IngressDiscardValue; typedef
244 STRUCT_SIZE(IngressDiscardValue, 2 * 4); // 8
Dnetd.c97 DEFINE_BPF_MAP_NO_NETD(ingress_discard_map, HASH, IngressDiscardKey, IngressDiscardValue,
401 IngressDiscardValue* v = bpf_ingress_discard_map_lookup_elem(&k); in ingress_should_discard()
/packages/modules/Connectivity/service/src/com/android/server/
DBpfNetMaps.java83 import com.android.net.module.util.bpf.IngressDiscardValue;
132 private static IBpfMap<IngressDiscardKey, IngressDiscardValue> sIngressDiscardMap = null;
185 IBpfMap<IngressDiscardKey, IngressDiscardValue> ingressDiscardMap) { in setIngressDiscardMapForTest()
241 private static IBpfMap<IngressDiscardKey, IngressDiscardValue> getIngressDiscardMap() { in getIngressDiscardMap()
244 IngressDiscardKey.class, IngressDiscardValue.class); in getIngressDiscardMap()
871 new IngressDiscardValue(ifIndex, ifIndex)); in setIngressDiscardRule()
/packages/modules/Connectivity/tests/unit/java/com/android/server/
DBpfNetMapsTest.java107 import com.android.net.module.util.bpf.IngressDiscardValue;
170 private final IBpfMap<IngressDiscardKey, IngressDiscardValue> mIngressDiscardMap =
171 new TestBpfMap<>(IngressDiscardKey.class, IngressDiscardValue.class);
1134 final IngressDiscardValue val = mIngressDiscardMap.getValue(new IngressDiscardKey( in testSetIngressDiscardRule_V4address()
1144 final IngressDiscardValue val = in testSetIngressDiscardRule_V6address()