stun

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

commit f8deec0b4e40a96f11fdceadd0eeaaeb5d00e857
parent a2ae33abf71547552e0ec89532d74e6ff024b0a9
Author: sin <sin@2f30.org>
Date:   Fri,  1 Apr 2016 12:25:25 +0100

reorder defines

Diffstat:
Mstun.c | 6+++---
1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/stun.c b/stun.c @@ -85,10 +85,10 @@ #define NOPRIVUSER "nobody" #define RCVTIMEO 250 /* in milliseconds */ #define RECONNECTTIMEO 60 /* in seconds */ -#define MAXPAYLOADLEN 1428 -#define HDRLEN 2 -#define IVLEN 12 #define TAGLEN 16 +#define IVLEN 12 +#define HDRLEN 2 +#define MAXPAYLOADLEN 1428 #define MAXPKTLEN (TAGLEN + IVLEN + HDRLEN + MAXPAYLOADLEN) #define BADPKT 0x1000