Home
last modified time | relevance | path

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

/packages/modules/Connectivity/Tethering/src/com/android/networkstack/tethering/
DBpfUtils.java42 static final boolean INGRESS = true; field in BpfUtils
95 TcUtils.tcFilterAddDevBpf(params.index, INGRESS, PRIO_TETHER4, (short) ETH_P_IP, in attachProgram()
105 TcUtils.tcFilterAddDevBpf(params.index, INGRESS, PRIO_TETHER6, (short) ETH_P_IPV6, in attachProgram()
128 TcUtils.tcFilterDelDev(params.index, INGRESS, PRIO_TETHER4, (short) ETH_P_IP); in detachProgram()
136 TcUtils.tcFilterDelDev(params.index, INGRESS, PRIO_TETHER6, (short) ETH_P_IPV6); in detachProgram()
/packages/modules/Connectivity/bpf_progs/
Dnetd.c534 return bpf_traffic_account(skb, INGRESS, TRACE_ON, KVER_5_8);
544 return bpf_traffic_account(skb, INGRESS, TRACE_ON, KVER_5_8);
550 return bpf_traffic_account(skb, INGRESS, TRACE_OFF, KVER_4_19);
556 return bpf_traffic_account(skb, INGRESS, TRACE_OFF, KVER_NONE);
619 update_iface_stats_map(skb, &key, INGRESS, KVER_NONE);
629 update_iface_stats_map(skb, &key, INGRESS, KVER_NONE);
Dbpf_net_helpers.h92 #define INGRESS ((struct egress_bool){ .egress = false }) macro
/packages/modules/Connectivity/tests/unit/java/com/android/server/connectivity/
DClatCoordinatorTest.java27 import static com.android.server.connectivity.ClatCoordinator.INGRESS;
465 inOrder.verify(mDeps).tcFilterAddDevBpf(eq(BASE_IFINDEX), eq(INGRESS), in testStartStopClatd()
476 inOrder.verify(mDeps).tcFilterDelDev(eq(BASE_IFINDEX), eq(INGRESS), in testStartStopClatd()
/packages/modules/Connectivity/service/src/com/android/server/connectivity/
DClatCoordinator.java102 static final boolean INGRESS = true; field in ClatCoordinator
500 mDeps.tcFilterAddDevBpf(tracker.ifIndex, INGRESS, (short) PRIO_CLAT, in maybeStartBpf()
715 mDeps.tcFilterDelDev(tracker.ifIndex, INGRESS, (short) PRIO_CLAT, (short) ETH_P_IPV6); in maybeStopBpf()