lvs-users
|
To: | lvs-users@xxxxxxxxxxxxxxxxxxxxxx |
---|---|
Subject: | Re: [PATCH] additional proc entries for synchronisation |
From: | Roberto Nibali <ratz@xxxxxx> |
Date: | Thu, 21 Nov 2002 16:49:42 +0100 |
ADDENDUM: #define NR_CONNS (1 << (8 * sizeof((struct ip_vs_sync_mesg *)->nr_conns))) - 1 This should actually work (maybe it can be done even easier): #define NR_CONNS ((1 << \ (8 * sizeof((*((struct ip_vs_sync_mesg *(*)(void))0))()->nr_conns)))-1) Best regards, Roberto Nibali, ratz -- echo '[q]sa[ln0=aln256%Pln256/snlbx]sb3135071790101768542287578439snlbxq' | dc |
Previous by Date: | HTTPD, John Mozurkewich |
---|---|
Next by Date: | Re: [PATCH] additional proc entries for synchronisation, Jacob Coby |
Previous by Thread: | Re: [PATCH] additional proc entries for synchronisation, Roberto Nibali |
Next by Thread: | Re: [PATCH] additional proc entries for synchronisation, Jacob Coby |
Indexes: | [Date] [Thread] [Top] [All Lists] |