Home
last modified time | relevance | path

Searched refs:oif (Results 1 – 16 of 16) sorted by relevance

/packages/modules/Connectivity/common/src/com/android/net/module/util/bpf/
DClatIngress6Value.java28 public final int oif; // The output interface to redirect to (0 means don't redirect) field in ClatIngress6Value
39 public ClatIngress6Value(final int oif, final Inet4Address local4, final long packets, in ClatIngress6Value() argument
41 this.oif = oif; in ClatIngress6Value()
47 public ClatIngress6Value(final int oif, final Inet4Address local4) { in ClatIngress6Value() argument
48 this(oif, local4, 0, 0); in ClatIngress6Value()
DClatEgress4Value.java28 public final int oif; // The output interface to redirect to field in ClatEgress4Value
45 public ClatEgress4Value(final int oif, final Inet6Address local6, final Inet6Address pfx96, in ClatEgress4Value() argument
47 this.oif = oif; in ClatEgress4Value()
55 public ClatEgress4Value(final int oif, final Inet6Address local6, final Inet6Address pfx96, in ClatEgress4Value() argument
57 this(oif, local6, pfx96, oifIsEthernet, 0, 0); in ClatEgress4Value()
DTether4Value.java34 public final int oif; field in Tether4Value
63 public Tether4Value(final int oif, @NonNull final MacAddress ethDstMac, in Tether4Value() argument
70 this.oif = oif; in Tether4Value()
89 oif, ethDstMac, ethSrcMac, ethProto, pmtu, in toString()
/packages/modules/Connectivity/Tethering/src/com/android/networkstack/tethering/
DTether6Value.java30 public final int oif; // The output interface index. field in Tether6Value
43 public Tether6Value(final int oif, @NonNull final MacAddress ethDstMac, in Tether6Value() argument
48 this.oif = oif; in Tether6Value()
57 return String.format("oif: %d, dstMac: %s, srcMac: %s, proto: %d, pmtu: %d", oif, in toString()
DBpfCoordinator.java1281 key.iif, getIfName(key.iif), key.dstMac, bytesToPrefix(key.src64), value.oif, in ipv6UpstreamRuleToString()
1282 getIfName(value.oif), value.ethProto, value.ethSrcMac, value.ethDstMac); in ipv6UpstreamRuleToString()
1309 key.iif, getIfName(key.iif), key.dstMac, neigh6, value.oif, getIfName(value.oif), in ipv6DownstreamRuleToString()
1411 src4, key.srcPort, value.oif, getIfName(value.oif), in ipv4RuleToString()
/packages/modules/Connectivity/staticlibs/device/com/android/net/module/util/structs/
DStructMf6cctl.java88 for (int oif : oifs) { in getMf6ccIfsetBytes()
89 int idx = oif / 8; in getMf6ccIfsetBytes()
92 throw new IllegalArgumentException("Invalid oif index" + oif); in getMf6ccIfsetBytes()
94 int offset = oif % 8; in getMf6ccIfsetBytes()
/packages/modules/Connectivity/bpf_progs/
Doffload.h106 uint32_t oif; // The output interface to redirect to member
124 uint32_t oif; // The output interface to redirect to member
155 uint32_t oif; // The output interface to redirect to member
Dclatd.h40 uint32_t oif; // The output interface to redirect to (0 means don't redirect) member
54 uint32_t oif; // The output interface to redirect to member
Dclatd.c273 if (v->oif) return bpf_redirect(v->oif, BPF_F_INGRESS); in nat64()
370 if (!v->oif) return TC_ACT_PIPE;
428 return bpf_redirect(v->oif, 0 /* this is effectively BPF_F_EGRESS */);
Doffload.c212 uint32_t stat_and_limit_k = stream.down ? skb->ifindex : v->oif;
302 return bpf_redirect(v->oif, 0 /* this is effectively BPF_F_EGRESS */);
431 uint32_t stat_and_limit_k = stream.down ? skb->ifindex : v->oif; in do_forward4_bottom()
553 return bpf_redirect(v->oif, 0 /* this is effectively BPF_F_EGRESS */); in do_forward4_bottom()
Doffload@mainline.c212 uint32_t stat_and_limit_k = stream.down ? skb->ifindex : v->oif;
302 return bpf_redirect(v->oif, 0 /* this is effectively BPF_F_EGRESS */);
431 uint32_t stat_and_limit_k = stream.down ? skb->ifindex : v->oif; in do_forward4_bottom()
553 return bpf_redirect(v->oif, 0 /* this is effectively BPF_F_EGRESS */); in do_forward4_bottom()
/packages/modules/Connectivity/staticlibs/device/com/android/net/module/util/netlink/
DRtNetlinkRouteMessage.java88 int iif, int oif, final StructRtaCacheInfo cacheInfo) { in RtNetlinkRouteMessage() argument
95 mOifIndex = oif; in RtNetlinkRouteMessage()
/packages/modules/adb/coverage/
Dgen_coverage.sh13 IP_ADDR=$(adb shell ip route get 0.0.0.0 oif wlan0 | sed -En -e 's/.*src (\S+)\s.*/\1/p')
/packages/modules/Connectivity/Tethering/tests/privileged/src/com/android/networkstack/tethering/
DBpfMapTest.java142 private Tether6Value createTether6Value(int oif, String src, String dst, int proto, int pmtu) { in createTether6Value() argument
146 return new Tether6Value(oif, dstMac, srcMac, proto, pmtu); in createTether6Value()
/packages/modules/Connectivity/service/src/com/android/server/connectivity/
DClatCoordinator.java779 v.local4, v.oif, v.packets, v.bytes)); in dumpBpfIngress()
802 v.local6, v.pfx96, v.oif, v.oifIsEthernet != 0 ? "ether" : "rawip", in dumpBpfEgress()
/packages/modules/Connectivity/Tethering/tests/unit/src/com/android/networkstack/tethering/
DBpfCoordinatorTest.java1296 assertEquals(DOWNSTREAM_IFINDEX, value.oif); in testIpv6DownstreamRuleMakeTether6Value()
1328 assertEquals(UPSTREAM_IFINDEX, value.oif); in testIpv6UpstreamRuleMakeTether6Value()