tech-net archive

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

Re: if_flags



On Mon, Jan 26, 2009 at 04:25:33PM -0500, der Mouse wrote:
> How much of a pain would it be to grow it?  struct ifnet is prepared
> for it; if_flags is 32-bit-aligned and the next field after it is a pad
> field.

As long as you add a second field, it should not be a problem. If you
want to make if_flags itself 32bit, you have to deal with endianess,
don't you?

Joerg


Home | Main Index | Thread Index | Old Index