adding POLICY_* bits to Pluto [was Re: [Users] (no subject)]

"D. Hugh Redelmeier" <[email protected]> Wed, 12 Mar 2003 13:56:46 -0500 (EST)
Newsgroups gmane.network.freeswan.devel
Message-ID <[email protected]>
| From: Roberto Barcellona <[email protected]>
| To: [email protected]
| Cc: [email protected]
| Subject: [Users] (no subject)

| I need to know if it is possible to add some option to the variable
| policy in pluto. I have seen that the option of policy are defined as
| LELEM(x) with 1<x<12 so that the first 13 bi1 of policy bitmask are
| used. If I want to add another option, can I define it as LELEM (13)? Or
| does it create some conflict with other use of this bit?

All the bits are referenced by name.  So yes, you could add names for
new bits beyond the last.  In HEAD, the last is currently LELEM(16).
If we start to use more of the bits (and we will), you just have to
change your name to refer to a new bit.

Hugh Redelmeier
[email protected]  voice: +1 416 482-8253