stun

simple point to point tunnel
git clone git://git.2f30.org/stun.git
Log | Files | Refs | README

commit c55de559732ffd1750c5a90c4923664497caee6c
parent 5cb07984b76d82b26414c071e1c6c3db0e0f09ee
Author: sin <sin@2f30.org>
Date:   Tue Mar 29 10:30:13 +0100

add note about internal error types

Diffstat:
stun.c | 4++++
1 file changed, 4 insertions(+), 0 deletions(-)
diff --git a/stun.c b/stun.c @@ -33,6 +33,10 @@ * the length of the unpadded payload. When the receiver processes a packet * it needs to pad the payload len in order to decrypt the packet. The unpadded * length is then used to determine the size of the actual decrypted payload. + * + * The maximum payload length allowed is 4095 bytes. The maximum padded payload + * length is therefore 4096 bytes. Values at 0x8000 or above are reserved for internal + * error conditions. */ #include <sys/types.h>