Searched refs:packet_length (Results 1 – 15 of 15) sorted by relevance
/external/openssl/ssl/ |
D | s23_pkt.c | 98 if (s->packet_length < (unsigned int)n) in ssl23_read_bytes() 105 j=BIO_read(s->rbio,(char *)&(p[s->packet_length]), in ssl23_read_bytes() 106 n-s->packet_length); in ssl23_read_bytes() 110 s->packet_length+=j; in ssl23_read_bytes() 111 if (s->packet_length >= (unsigned int)n) in ssl23_read_bytes() 112 return(s->packet_length); in ssl23_read_bytes()
|
D | d1_pkt.c | 195 s->packet_length = rdata->packet_length; in dtls1_copy_record() 228 rdata->packet_length = s->packet_length; in dtls1_buffer_record() 251 s->packet_length = 0; in dtls1_buffer_record() 359 s->packet_length = rdata->packet_length; 476 s->packet_length = 0; in dtls1_process_record() 514 s->packet_length=0; in dtls1_process_record() 558 (s->packet_length < DTLS1_RT_HEADER_LENGTH)) in dtls1_get_record() 565 if (s->packet_length != DTLS1_RT_HEADER_LENGTH) in dtls1_get_record() 567 s->packet_length = 0; in dtls1_get_record() 596 s->packet_length = 0; in dtls1_get_record() [all …]
|
D | s23_srvr.c | 462 ssl3_finish_mac(s, s->packet+2, s->packet_length-2); in ssl23_get_client_hello() 464 …s->msg_callback(0, SSL2_VERSION, 0, s->packet+2, s->packet_length-2, s, s->msg_callback_arg); /* C… in ssl23_get_client_hello() 472 if ((csl+sil+cl+11) != s->packet_length) /* We can't have TLS extensions in SSL 2.0 format in ssl23_get_client_hello() 520 while (p < s->packet+s->packet_length) in ssl23_get_client_hello() 575 s->packet_length=n; in ssl23_get_client_hello() 600 s->packet_length=n; in ssl23_get_client_hello() 612 s->packet_length=0; in ssl23_get_client_hello()
|
D | s2_pkt.c | 222 if (n > (int)s->packet_length) in ssl2_read_internal() 224 n-=s->packet_length; in ssl2_read_internal() 329 s->packet_length+=n; in read_n() 333 s->packet_length=n; in read_n() 348 if ((s->s2->rbuf_left != 0) || ((s->packet_length != 0) && extend)) in read_n() 353 off=s->packet_length; in read_n() 411 s->packet_length+=n; in read_n() 413 s->packet_length=n; in read_n()
|
D | s3_pkt.c | 176 s->packet_length = 0; in ssl3_read_n() 192 s->packet_length+=n; in ssl3_read_n() 200 len = s->packet_length; in ssl3_read_n() 270 s->packet_length += n; in ssl3_read_n() 323 (s->packet_length < SSL3_RT_HEADER_LENGTH)) in ssl3_get_record() 388 if (rr->length > s->packet_length-SSL3_RT_HEADER_LENGTH) in ssl3_get_record() 539 s->packet_length=0; in ssl3_get_record()
|
D | dtls1.h | 263 unsigned int packet_length; member
|
D | s23_clnt.c | 660 s->packet_length=n; in ssl23_get_server_hello() 753 s->packet_length=n; in ssl23_get_server_hello()
|
D | s2_lib.c | 382 s->packet_length=0; in ssl2_clear()
|
D | ssl.h | 1168 unsigned int packet_length; member
|
D | s3_lib.c | 3062 s->packet_length=0; in ssl3_clear()
|
/external/ganymed-ssh2/src/main/java/ch/ethz/ssh2/transport/ |
D | TransportConnection.java | 213 int packet_length = ((recv_packet_header_buffer[0] & 0xff) << 24) in peekNextMessageLength() local 219 if (packet_length > 35000 || packet_length < 12) in peekNextMessageLength() 220 throw new IOException("Illegal packet size! (" + packet_length + ")"); in peekNextMessageLength() 222 int payload_length = packet_length - padding_length - 1; in peekNextMessageLength() 239 int packet_length = ((recv_packet_header_buffer[0] & 0xff) << 24) in receiveMessage() local 245 if (packet_length > 35000 || packet_length < 12) in receiveMessage() 246 throw new IOException("Illegal packet size! (" + packet_length + ")"); in receiveMessage() 248 int payload_length = packet_length - padding_length - 1; in receiveMessage()
|
/external/openssl/include/openssl/ |
D | dtls1.h | 263 unsigned int packet_length; member
|
D | ssl.h | 1168 unsigned int packet_length; member
|
/external/openssh/ |
D | packet.c | 276 packet_start_discard(Enc *enc, Mac *mac, u_int packet_length, u_int discard) in packet_start_discard() argument 280 if (packet_length != PACKET_MAX_SIZE && mac && mac->enabled) in packet_start_discard() 848 u_int packet_length = 0; in packet_send2_wrapped() local 922 packet_length = buffer_len(&active_state->outgoing_packet) - 4; in packet_send2_wrapped() 924 put_u32(cp, packet_length); in packet_send2_wrapped() 926 DBG(debug("send: len %d (includes padlen %d)", packet_length+4, padlen)); in packet_send2_wrapped() 954 active_state->p_send.blocks += (packet_length + 4) / block_size; in packet_send2_wrapped() 955 active_state->p_send.bytes += packet_length + 4; in packet_send2_wrapped()
|
/external/quake/quake/src/QW/qwfwd/ |
D | misc.c | 87 for ( ; msg_readcount < packet_length ; msg_readcount++) in MSG_ReadString()
|