A few weeks ago on #lisp I suggested extending the defbitfield syntax to allow defining elements in terms of preceding elements in the bitfield (see http://paste.lisp.org/display/87065 for a sample usage and implementation). Does this sound like something that would be worth adding to cffi?
-- 3b