Home
last modified time | relevance | path

Searched refs:protoNum (Results 1 – 4 of 4) sorted by relevance

/packages/modules/Connectivity/staticlibs/device/com/android/net/module/util/netlink/
DConntrackMessage.java111 public final byte protoNum; field in ConntrackMessage.Tuple
118 this.protoNum = proto.protoNum; in Tuple()
130 && this.protoNum == that.protoNum; in equals()
135 return Objects.hash(srcIp, dstIp, srcPort, dstPort, protoNum); in hashCode()
142 final String protoStr = NetlinkConstants.stringForProtocol(protoNum); in toString()
173 public final byte protoNum; field in ConntrackMessage.TupleProto
177 public TupleProto(byte protoNum, short srcPort, short dstPort) { in TupleProto() argument
178 this.protoNum = protoNum; in TupleProto()
374 byte protoNum = 0; in parseTupleProto()
381 protoNum = nlAttr.getValueAsByte((byte) 0); in parseTupleProto()
[all …]
/packages/modules/Connectivity/staticlibs/tests/unit/src/com/android/net/module/util/netlink/
DConntrackMessageTest.java175 assertEquals((byte) OsConstants.IPPROTO_TCP, conntrackMessage.tupleOrig.protoNum); in testConntrackParseIPv4TcpTimeoutUpdate()
224 assertEquals((byte) OsConstants.IPPROTO_UDP, conntrackMessage.tupleOrig.protoNum); in testConntrackParseIPv4UdpTimeoutUpdate()
318 assertEquals((byte) OsConstants.IPPROTO_TCP, conntrackMessage.tupleOrig.protoNum); in testParseCtNew()
326 assertEquals((byte) OsConstants.IPPROTO_TCP, conntrackMessage.tupleReply.protoNum); in testParseCtNew()
/packages/modules/Connectivity/Tethering/tests/privileged/src/com/android/networkstack/tethering/
DConntrackSocketTest.java119 && tuple.protoNum == IPPROTO_TCP in findConnectionOrThrow()
/packages/modules/Connectivity/Tethering/src/com/android/networkstack/tethering/
DBpfCoordinator.java1952 e.tupleOrig.protoNum, e.tupleOrig.srcIp.getAddress(), in makeTetherUpstream4Key()
1960 e.tupleReply.protoNum, e.tupleReply.srcIp.getAddress(), in makeTetherDownstream4Key()
1987 if (e.tupleOrig.protoNum != OsConstants.IPPROTO_TCP) return true; in allowOffload()