tech-net archive

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

Re: if_flags



In article <20090126213819.GA8006%britannica.bec.de@localhost>,
Joerg Sonnenberger  <joerg%britannica.bec.de@localhost> wrote:
>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?

I don't think that there is a binary compatibility issue since ifnet
is not used in ioctls from what I can see.

christos



Home | Main Index | Thread Index | Old Index