]> git.puffer.fish Git - matthieu/frr.git/commit
Rationalize CMSG_SPACE usage:
authorgdt <gdt>
Mon, 15 Nov 2004 18:51:15 +0000 (18:51 +0000)
committergdt <gdt>
Mon, 15 Nov 2004 18:51:15 +0000 (18:51 +0000)
commit69e1325faf47762fd08917b8f20a20abb59d41e6
tree60d6df8c1d754c84fa3108a5f19bbf91cb084ab1
parentfbb6709986ee29b57a8a6103c592de80647ead00
Rationalize CMSG_SPACE usage:

  in lib/zebra.h, ensure that RFC3542-required CMSG_SPACE and CMSG_LEN
  are defined.  Warn if alignment assumptions are made, since they are
  i386-centric.

  in lib/sockopt.h, declare that sockopt sizes are without
  CMSG_SPACE-required padding - just simple sizeof.

  in ospfd/ospf_packet.c, simply use CMSG_SPACE

This should remove all instances of CMSG_ALIGN from the source code.
This is a nonstandard, though rational, construct; quagga should use
only those defines in RFC3542.
lib/ChangeLog
lib/sockopt.h
lib/zebra.h
ospfd/ChangeLog
ospfd/ospf_packet.c