Lines Matching refs:packet

1781                 $packet = pack(
1786 $this->send_binary_packet($packet);
1911 $packet = pack('C', NET_SSH2_MSG_NEWKEYS);
1912 $this->send_binary_packet($packet);
2373 $packet = Strings::packSSH2('Cs', NET_SSH2_MSG_SERVICE_REQUEST, 'ssh-userauth');
2374 $this->send_binary_packet($packet);
2417 $packet = Strings::packSSH2(
2425 $this->send_binary_packet($packet);
2443 $packet = Strings::packSSH2(
2468 $this->send_binary_packet($packet, $logged);
2514 $packet = Strings::packSSH2(
2523 $this->send_binary_packet($packet);
2596 … $packet = $logged = pack('CN', NET_SSH2_MSG_USERAUTH_INFO_RESPONSE, count($responses));
2598 $packet .= Strings::packSSH2('s', $responses[$i]);
2602 $this->send_binary_packet($packet, $logged);
2728 $packet = $part1 . chr(0) . $part2;
2729 $this->send_binary_packet($packet);
2753 $packet = $part1 . chr(1) . $part2;
2755 $signature = $privatekey->sign(Strings::packSSH2('s', $this->session_id) . $packet);
2759 $packet .= Strings::packSSH2('s', $signature);
2761 $this->send_binary_packet($packet);
2853 $packet = Strings::packSSH2(
2861 $this->send_binary_packet($packet);
2869 $packet = Strings::packSSH2(
2883 $this->send_binary_packet($packet);
2903 $packet = Strings::packSSH2(
2911 $this->send_binary_packet($packet);
2965 $packet = Strings::packSSH2(
2974 $this->send_binary_packet($packet);
2981 $packet = Strings::packSSH2(
2995 $this->send_binary_packet($packet);
3003 $packet = Strings::packSSH2(
3010 $this->send_binary_packet($packet);
3075 $packet = Strings::packSSH2(
3085 $this->send_binary_packet($packet);
3187 $packet = Strings::packSSH2(
3196 $this->send_binary_packet($packet);
3202 $packet = Strings::packSSH2(
3210 $this->send_binary_packet($packet);
3331 $packet = Strings::packSSH2(
3341 $this->send_binary_packet($packet);
3802 $packet = pack(
3813 $this->send_binary_packet($packet);
3817 $packet = Strings::packSSH2(
3827 $this->send_binary_packet($packet);
3947 foreach ($this->channel_buffers[$client_channel] as $i => $packet) {
3948 switch (ord($packet[0])) {
3952 return substr($packet, 1);
3992 …$packet = pack('CNN', NET_SSH2_MSG_CHANNEL_WINDOW_ADJUST, $this->server_channels[$channel], $this-…
3993 $this->send_binary_packet($packet);
4215 $packet = pack('NCa*', $packet_length - 4, $padding_length, $data . $padding);
4221 $hmac = $this->hmac_create->hash($packet);
4223 $hmac = $this->hmac_create->hash(pack('Na*', $this->send_seq_no, $packet));
4236 $this->encrypt->setAAD($temp = ($packet & "\xFF\xFF\xFF\xFF"));
4237 $packet = $temp . $this->encrypt->encrypt(substr($packet, 4));
4250 $length = $this->lengthEncrypt->encrypt($packet & "\xFF\xFF\xFF\xFF");
4261 $packet = $length . $this->encrypt->encrypt(substr($packet, 4));
4264 $packet = $this->hmac_create instanceof Hash && $this->hmac_create_etm ?
4265 … ($packet & "\xFF\xFF\xFF\xFF") . $this->encrypt->encrypt(substr($packet, 4)) :
4266 $this->encrypt->encrypt($packet);
4273 $hmac = $this->hmac_create->hash($packet);
4275 $hmac = $this->hmac_create->hash(pack('Na*', $this->send_seq_no, $packet));
4281 $packet .= $this->encrypt && $this->encrypt->usesNonce() ? $this->encrypt->getTag() : $hmac;
4284 $sent = @fputs($this->fsock, $packet);
4296 if (strlen($packet) != $sent) {
4298 throw new \RuntimeException("Only $sent of " . strlen($packet) . " bytes were sent");
4408 $packet = Strings::packSSH2(
4415 $this->send_binary_packet($packet);