• Home
  • Raw
  • Download

Lines Matching refs:incoming_packet

150 	struct sshbuf *incoming_packet;  member
241 (state->incoming_packet = sshbuf_new()) == NULL) in ssh_alloc_session_state()
267 sshbuf_free(state->incoming_packet); in ssh_alloc_session_state()
388 while (sshbuf_len(state->incoming_packet) < dlen) in ssh_packet_stop_discard()
389 if ((r = sshbuf_put(state->incoming_packet, buf, in ssh_packet_stop_discard()
394 sshbuf_ptr(state->incoming_packet), dlen, in ssh_packet_stop_discard()
610 sshbuf_free(state->incoming_packet); in ssh_packet_close_internal()
1469 sshbuf_reset(state->incoming_packet); in ssh_packet_read_poll2_mux()
1470 if ((r = sshbuf_put(state->incoming_packet, cp + 4, in ssh_packet_read_poll2_mux()
1473 (r = sshbuf_get_u8(state->incoming_packet, NULL)) != 0 || in ssh_packet_read_poll2_mux()
1474 (r = sshbuf_get_u8(state->incoming_packet, typep)) != 0) in ssh_packet_read_poll2_mux()
1531 sshbuf_reset(state->incoming_packet); in ssh_packet_read_poll2()
1539 sshbuf_reset(state->incoming_packet); in ssh_packet_read_poll2()
1540 if ((r = sshbuf_reserve(state->incoming_packet, block_size, in ssh_packet_read_poll2()
1547 state->packlen = PEEK_U32(sshbuf_ptr(state->incoming_packet)); in ssh_packet_read_poll2()
1554 sshbuf_dump(state->incoming_packet, stderr); in ssh_packet_read_poll2()
1608 if ((r = sshbuf_reserve(state->incoming_packet, aadlen + need, in ssh_packet_read_poll2()
1619 sshbuf_ptr(state->incoming_packet), in ssh_packet_read_poll2()
1620 sshbuf_len(state->incoming_packet), in ssh_packet_read_poll2()
1628 sshbuf_len(state->incoming_packet), in ssh_packet_read_poll2()
1647 padlen = sshbuf_ptr(state->incoming_packet)[4]; in ssh_packet_read_poll2()
1658 if ((r = sshbuf_consume(state->incoming_packet, 4 + 1)) != 0 || in ssh_packet_read_poll2()
1659 ((r = sshbuf_consume_end(state->incoming_packet, padlen)) != 0)) in ssh_packet_read_poll2()
1663 sshbuf_len(state->incoming_packet))); in ssh_packet_read_poll2()
1666 if ((r = uncompress_buffer(ssh, state->incoming_packet, in ssh_packet_read_poll2()
1669 sshbuf_reset(state->incoming_packet); in ssh_packet_read_poll2()
1670 if ((r = sshbuf_putb(state->incoming_packet, in ssh_packet_read_poll2()
1674 sshbuf_len(state->incoming_packet))); in ssh_packet_read_poll2()
1680 if ((r = sshbuf_get_u8(state->incoming_packet, typep)) != 0) in ssh_packet_read_poll2()
1692 (r = state->hook_in(ssh, state->incoming_packet, typep, in ssh_packet_read_poll2()
1701 sshbuf_dump(state->incoming_packet, stderr); in ssh_packet_read_poll2()
1801 return sshbuf_len(ssh->state->incoming_packet); in ssh_packet_remaining()
2529 return sshbuf_froms(ssh->state->incoming_packet, valp); in sshpkt_getb_froms()
2554 return sshbuf_get(ssh->state->incoming_packet, valp, len); in sshpkt_get()
2560 return sshbuf_get_u8(ssh->state->incoming_packet, valp); in sshpkt_get_u8()
2566 return sshbuf_get_u32(ssh->state->incoming_packet, valp); in sshpkt_get_u32()
2572 return sshbuf_get_u64(ssh->state->incoming_packet, valp); in sshpkt_get_u64()
2578 return sshbuf_get_string(ssh->state->incoming_packet, valp, lenp); in sshpkt_get_string()
2584 return sshbuf_get_string_direct(ssh->state->incoming_packet, valp, lenp); in sshpkt_get_string_direct()
2590 return sshbuf_peek_string_direct(ssh->state->incoming_packet, valp, lenp); in sshpkt_peek_string_direct()
2596 return sshbuf_get_cstring(ssh->state->incoming_packet, valp, lenp); in sshpkt_get_cstring()
2604 return sshbuf_get_ec(ssh->state->incoming_packet, v, g); in sshpkt_get_ec()
2611 return sshbuf_get_bignum2(ssh->state->incoming_packet, valp); in sshpkt_get_bignum2()
2618 if (sshbuf_len(ssh->state->incoming_packet) > 0) in sshpkt_get_end()
2627 *lenp = sshbuf_len(ssh->state->incoming_packet); in sshpkt_ptr()
2628 return sshbuf_ptr(ssh->state->incoming_packet); in sshpkt_ptr()