struct radmsg *msg;
struct client *from;
char *origusername;
- char origauth[16];
- uint8_t origid;
+ uint8_t rqid;
+ uint8_t rqauth[16];
int udpsock; /* only for UDP */
uint16_t udpport; /* only for UDP */
};
struct client {
struct clsrvconf *conf;
- int sock; /* for tcp/dtls */
+ int sock;
SSL *ssl;
- pthread_mutex_t lock; /* used for updating rqs */
struct request *rqs[MAX_REQUESTS];
struct queue *replyq;
struct queue *rbios; /* for dtls */