]> git.ipfire.org Git - thirdparty/gnutls.git/commitdiff
clarified format of sequence number in gnutls_record_recv_seq.
authorNikos Mavrogiannopoulos <nmav@gnutls.org>
Tue, 13 Sep 2011 20:03:36 +0000 (22:03 +0200)
committerNikos Mavrogiannopoulos <nmav@gnutls.org>
Tue, 13 Sep 2011 20:03:36 +0000 (22:03 +0200)
lib/gnutls_buffers.c
lib/gnutls_record.c

index 4f946f44457b895811f3e1072e182f0ae5fa93de..b93d4c4532ec18ad10e2b7a58f4f618e70efee5e 100644 (file)
@@ -21,9 +21,8 @@
  *
  */
 
-/* This is the only file that uses the berkeley sockets API.
- * 
- * Also holds all the buffering code used in gnutls.
+/* 
+ * This file holds all the buffering code used in gnutls.
  * The buffering code works as:
  *
  * RECORD LAYER: 
index 7ef94cc5c30761b90c033cc2beb738725992b39f..874099f3df6af0d77a1dfaac6d8ac1f369e3dfba 100644 (file)
@@ -1247,8 +1247,9 @@ gnutls_record_recv (gnutls_session_t session, void *data, size_t data_size)
  * This function is the same as gnutls_record_recv(), except that
  * it returns in addition to data, the sequence number of the data.
  * This is useful in DTLS where record packets might be received
- * out-of-order. The returned 8-byte sequence number should be
- * treated as a unique message identification.
+ * out-of-order. The returned 8-byte sequence number is an
+ * integer in big-endian format and should be
+ * treated as a unique message identification. 
  *
  * Returns: The number of bytes received and zero on EOF.  A negative
  *   error code is returned in case of an error.  The number of bytes