Home
last modified time | relevance | path

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

/packages/modules/Connectivity/common/src/com/android/net/module/util/bpf/
DIngressDiscardKey.java27 public class IngressDiscardKey extends Struct { class
32 public IngressDiscardKey(final Inet6Address dstAddr) { in IngressDiscardKey() method in IngressDiscardKey
42 public IngressDiscardKey(final InetAddress dstAddr) { in IngressDiscardKey() method in IngressDiscardKey
/packages/modules/Connectivity/service/src/com/android/server/
DBpfNetMaps.java82 import com.android.net.module.util.bpf.IngressDiscardKey;
132 private static IBpfMap<IngressDiscardKey, IngressDiscardValue> sIngressDiscardMap = null;
185 IBpfMap<IngressDiscardKey, IngressDiscardValue> ingressDiscardMap) { in setIngressDiscardMapForTest() argument
241 private static IBpfMap<IngressDiscardKey, IngressDiscardValue> getIngressDiscardMap() { in getIngressDiscardMap()
244 IngressDiscardKey.class, IngressDiscardValue.class); in getIngressDiscardMap()
870 sIngressDiscardMap.updateEntry(new IngressDiscardKey(address), in setIngressDiscardRule()
887 sIngressDiscardMap.deleteEntry(new IngressDiscardKey(address)); in removeIngressDiscardRule()
/packages/modules/Connectivity/bpf_progs/
Dnetd.h237 } IngressDiscardKey; typedef
238 STRUCT_SIZE(IngressDiscardKey, 16); // 16
Dnetd.c97 DEFINE_BPF_MAP_NO_NETD(ingress_discard_map, HASH, IngressDiscardKey, IngressDiscardValue,
387 IngressDiscardKey k = {}; in ingress_should_discard()
/packages/modules/Connectivity/tests/unit/java/com/android/server/
DBpfNetMapsTest.java106 import com.android.net.module.util.bpf.IngressDiscardKey;
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()
1145 mIngressDiscardMap.getValue(new IngressDiscardKey(TEST_V6_ADDRESS)); in testSetIngressDiscardRule_V6address()
1155 final IngressDiscardKey v4Key = new IngressDiscardKey(TEST_V4_ADDRESS); in testRemoveIngressDiscardRule()
1156 final IngressDiscardKey v6Key = new IngressDiscardKey(TEST_V6_ADDRESS); in testRemoveIngressDiscardRule()