Lines Matching defs:pdu
272 * @param pdu The WAP-WDP PDU segment
277 private int processCdmaWapPdu(byte[] pdu, int referenceNumber, String address,
281 int msgType = (0xFF & pdu[index++]);
286 int totalSegments = (0xFF & pdu[index++]); // >= 1
287 int segment = (0xFF & pdu[index++]); // >= 0
299 sourcePort = (0xFF & pdu[index++]) << 8;
300 sourcePort |= 0xFF & pdu[index++];
301 destinationPort = (0xFF & pdu[index++]) << 8;
302 destinationPort |= 0xFF & pdu[index++];
306 if (checkDuplicatePortOmadmWapPush(pdu, index)) {
318 byte[] userData = new byte[pdu.length - index];
319 System.arraycopy(pdu, index, userData, 0, pdu.length - index);