[Swan-dev] state m/c 1of3: cleanups

Andrew Cagney andrew.cagney at gmail.com
Tue Mar 3 19:03:49 EET 2015


These should be straight forward:

commit 26a3f0094ab6b737d5c34fc25550fbc384d25281
Author: Andrew Cagney <cagney at gnu.org>
Date:   Fri Feb 13 15:04:16 2015 -0500

    pluto: rename ISAKMP_NEXT_v2E to ISAKMP_NEXT_v2SK, matching RFC 7296.

-> lets match the V2 RFC.

    Also update packet.[hc] and ikev2_sk_desc.
    TODO: Update e_pbs in ikev2_parent.c.

commit 3826dedcbcd1ffba969cc48a1f9d040bf069ce5f
Author: Andrew Cagney <cagney at gnu.org>
Date:   Fri Feb 13 12:14:19 2015 -0500

    pluto: define PINDEX, use it to compute payload lset_t indexes

-> makes a magic bit calculation more transparent

commit 52562a709616c3ad64371e0ee83565bf4f17362c
Author: Andrew Cagney <cagney at gnu.org>
Date:   Fri Feb 13 12:12:43 2015 -0500

    pluto: split payload_desc into v1 and v2 variants

This comment is for v1 payloads not v2 payloads.  So don't combine/confuse them:
-/* descriptor for each payload type
+/* descriptor for each V1 payload type
  *
  * There is a slight problem in that some payloads differ, depending
  * on the mode.  Since this is table only used for top-level payloads,


More information about the Swan-dev mailing list