On Sunday, May 03, 2015 09:31:01 PM Peter Wemm wrote: > On Friday, April 17, 2015 06:39:16 AM Gleb Smirnoff wrote: > > Author: glebius > > Date: Fri Apr 17 06:39:15 2015 > > New Revision: 281643 > > URL: https://svnweb.freebsd.org/changeset/base/281643 > > > > Log: > > Bring in if_types.h from projects/ifnet, where types are > > defined in enum. > > > > Modified: > > head/sys/net/if_types.h > > I'm sorry, but this breaks the freebsd.org cluster. > > 281642 works > 281643 fails > head with 281643 reverted works > > IPv6 doesn't work on systems with pf, carp and multiple interfaces. I have > nothing more specific than that.
The kernel is smaller with the enums: text data bss dec hex 11438123 730686 2998048 15166857 0xe76d89 11437787 730686 2998048 15166521 0xe76c39 The first is with the #defines, the second is enums. The enums caused 336 bytes less code to be generated, so presumably the enums enabled some "optimization" that wasn't expected. -- Peter Wemm - pe...@wemm.org; pe...@freebsd.org; pe...@yahoo-inc.com; KI6FJV UTF-8: for when a ' or ... just won\342\200\231t do\342\200\246
signature.asc
Description: This is a digitally signed message part.