LVS
lvs-users
Google
 
Web LinuxVirtualServer.org

Re: [PATCH] additional proc entries for synchronisation

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



<Prev in Thread] Current Thread [Next in Thread>