[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: lengths of some specifiers



Stephen Kent wrote:
> 
> Scott,
> 
>         The protocol ID size for IPsec was determined by the size of the
> next protocol field in IP, i.e., 8 bits.  We had long discussions about the
> SPI size on the list several years ago and decided to go with 32 bits to
> allow allocation of multicast SPIs in a separate part of the space, without
> trying to be bit-wise and alignment-foolish.  Given the current fondness
> for 32-bit and 64-bit aligned data structures, the SPI size also makes
> sense.
> 
> Steve

I don't know if you're responding to my whole stream-of-consciousness
posting (3 posts, I promise I won't do it again) or just the one post,
but it looks like all of them. So, let me see if I understand correctly
in that light: the SA attributes are given 2 octets for alignment, while
the proto ID's were given 1 octet for IPv4 consistency?

Scott


Follow-Ups: References: