Home
last modified time | relevance | path

Searched refs:TupleProto (Results 1 – 3 of 3) sorted by relevance

/packages/modules/Connectivity/staticlibs/device/com/android/net/module/util/netlink/
DConntrackMessage.java113 public Tuple(TupleIpv4 ip, TupleProto proto) { in Tuple()
172 public static class TupleProto { class in ConntrackMessage
177 public TupleProto(byte protoNum, short srcPort, short dstPort) { in TupleProto() method in ConntrackMessage.TupleProto
321 TupleProto tupleProto = null; in parseTuple()
371 private static TupleProto parseTupleProto(@Nullable ByteBuffer byteBuffer) { in parseTupleProto()
399 return new TupleProto(protoNum, srcPort, dstPort); in parseTupleProto()
/packages/modules/Connectivity/staticlibs/tests/unit/src/com/android/net/module/util/ip/
DConntrackMonitorTest.java25 import static com.android.net.module.util.netlink.ConntrackMessage.TupleProto;
212 new TupleProto((byte) IPPROTO_TCP, (short) 62449, (short) 443)), in makeTestConntrackEvent()
214 new TupleProto((byte) IPPROTO_TCP, (short) 443, (short) 62449)), in makeTestConntrackEvent()
/packages/modules/Connectivity/Tethering/tests/unit/src/com/android/networkstack/tethering/
DBpfCoordinatorTest.java45 import static com.android.net.module.util.netlink.ConntrackMessage.TupleProto;
436 new TupleProto((byte) mProto, mPrivatePort, mRemotePort)), in build()
438 new TupleProto((byte) mProto, mRemotePort, mPublicPort)), in build()
2305 new TupleProto((byte) IPPROTO_TCP, privatePort, REMOTE_PORT)), in makeTestConntrackEvent()
2307 new TupleProto((byte) IPPROTO_TCP, REMOTE_PORT, publicPort)), in makeTestConntrackEvent()