Searched refs:payloadLength (Results 1 – 10 of 10) sorted by relevance
45 int payloadLength = NetlinkConstants.alignedLengthOf(nlmsghdr.nlmsg_len); in parse() local46 payloadLength -= StructNlMsgHdr.STRUCT_SIZE; in parse()47 if (payloadLength < 0 || payloadLength > byteBuffer.remaining()) { in parse()58 byteBuffer.position(byteBuffer.position() + payloadLength); in parse()73 byteBuffer.position(byteBuffer.position() + payloadLength); in parse()
141 int payloadLength = 0; in StructNlAttr() local142 for (StructNlAttr nla : nested) payloadLength += nla.getAlignedLength(); in StructNlAttr()143 setValue(new byte[payloadLength]); in StructNlAttr()
80 final int payloadLength = ctaTupleOrig.getAlignedLength() + ctaTimeout.getAlignedLength(); in newIPv4TimeoutUpdateRequest() local81 final byte[] bytes = new byte[STRUCT_SIZE + payloadLength]; in newIPv4TimeoutUpdateRequest()
143 int payloadLength = Short.toUnsignedInt(input.getShort()); in getIkePayload() local144 if (payloadLength <= IkePayload.GENERIC_HEADER_LENGTH) { in getIkePayload()148 int bodyLength = payloadLength - IkePayload.GENERIC_HEADER_LENGTH; in getIkePayload()193 int payloadLength = Short.toUnsignedInt(input.getShort()); in getIkeSkPayload() local196 if (bodyLength < payloadLength) { in getIkeSkPayload()199 } else if (bodyLength > payloadLength) { in getIkeSkPayload()
87 int payloadLength = GENERIC_HEADER_LENGTH + nonceData.length; in encodeToByteBuffer() local89 encodePayloadHeaderToByteBuffer(nextPayload, payloadLength, byteBuffer); in encodeToByteBuffer()
219 @PayloadType int nextPayload, int payloadLength, ByteBuffer byteBuffer) { in encodePayloadHeaderToByteBuffer() argument223 .putShort((short) payloadLength); in encodePayloadHeaderToByteBuffer()
183 int payloadLength = payload != null ? payload.length : 0; in publish() local185 .logPacketSent(layer, payloadLength); in publish()196 .logPacketDropped(layer, payloadLength); in publish()204 .logPacketReceived(layer, payloadLength); in publish()207 .logPacketDropped(layer, payloadLength); in publish()
97 int payloadLength = payload.getPayloadLength(); in testBuildOutboundIkeAuthPskPayload() local99 assertEquals(expectedPayload.length, payloadLength); in testBuildOutboundIkeAuthPskPayload()102 ByteBuffer byteBuffer = ByteBuffer.allocate(payloadLength); in testBuildOutboundIkeAuthPskPayload()
101 int payloadLength = payload.getPayloadLength(); in testEncode() local102 ByteBuffer buffer = ByteBuffer.allocate(payloadLength); in testEncode()
191 int payloadLength = payload.getPayloadLength(); in testEncode() local192 ByteBuffer buffer = ByteBuffer.allocate(payloadLength); in testEncode()