• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /freebsd-13-stable/crypto/openssl/ssl/

Lines Matching defs:subpkt

102  * Peek ahead and initialize |subpkt| with the next |len| bytes read from |pkt|.
103 * Data is not copied: the |subpkt| packet will share its underlying buffer with
104 * the original |pkt|, so data wrapped by |pkt| must outlive the |subpkt|.
107 PACKET *subpkt, size_t len)
112 return PACKET_buf_init(subpkt, pkt->curr, len);
116 * Initialize |subpkt| with the next |len| bytes read from |pkt|. Data is not
117 * copied: the |subpkt| packet will share its underlying buffer with the
118 * original |pkt|, so data wrapped by |pkt| must outlive the |subpkt|.
121 PACKET *subpkt, size_t len)
123 if (!PACKET_peek_sub_packet(pkt, subpkt, len))
475 * the contents in |subpkt|. |pkt| can equal |subpkt|.
476 * Data is not copied: the |subpkt| packet will share its underlying buffer with
477 * the original |pkt|, so data wrapped by |pkt| must outlive the |subpkt|.
478 * Upon failure, the original |pkt| and |subpkt| are not modified.
481 PACKET *subpkt)
492 subpkt->curr = data;
493 subpkt->remaining = length;
503 PACKET *subpkt)
515 subpkt->curr = data;
516 subpkt->remaining = length;
523 * the contents in |subpkt|. |pkt| can equal |subpkt|.
524 * Data is not copied: the |subpkt| packet will share its underlying buffer with
525 * the original |pkt|, so data wrapped by |pkt| must outlive the |subpkt|.
526 * Upon failure, the original |pkt| and |subpkt| are not modified.
529 PACKET *subpkt)
541 subpkt->curr = data;
542 subpkt->remaining = length;
552 PACKET *subpkt)
565 subpkt->curr = data;
566 subpkt->remaining = length;
573 * the contents in |subpkt|. |pkt| can equal |subpkt|.
574 * Data is not copied: the |subpkt| packet will share its underlying buffer with
575 * the original |pkt|, so data wrapped by |pkt| must outlive the |subpkt|.
576 * Upon failure, the original |pkt| and |subpkt| are not modified.
579 PACKET *subpkt)
590 subpkt->curr = data;
591 subpkt->remaining = length;