summary refs log tree commit diff
path: root/config.h
blob: 0c43c8643627ad75761b681a3056623b1966922a (plain)
1
2
3
4
5
6
7
8
9
10
/* common config */

#define PASSWORD_BUF_SZ 512 /* 256 russian utf8 chars */

/* do not forget to set MTU on tap: MAX_PKT_SZ - HMAC_SZ - NONCE_SZ - 14 */
#define MAX_PKT_SZ 1440

/* hardcode the password here if you don't want the program to ask for it
 * when it starts. */
char password[PASSWORD_BUF_SZ];