> I've since solved the mystery, and it turns out to be a bug in
> <sys/dld_impl.h>. As part of the IP tunneling work, spd.c (linked into
> the ip module) includes <inet/iptun/iptun_impl.h>, which in turn
> includes <sys/dld_impl.h>. The definition of dld_str_t in dld_impl.h is
> botched:
>
> typedef struct dld_str dld_str_t;
>
> /*
> * dld_str_t object definition.
> */
> struct dld_str {
> ...
> } dld_str;Nice find! -- meem
