rtems_bsdnet_ifconfig issue on big endian platform

Sebastian Huber sebastian.huber at embedded-brains.de
Thu Aug 22 08:43:34 UTC 2013


On 2013-08-22 10:27, ruizx wrote:
> On Thursday, August 22, 2013 3:09 PM Sebastian Huber wrote:
>
>> Hello,
>>
>> thanks for the bug report.  The attached patch should fix the problem.
>>
>>
>>> _______________________________________________
>>> rtems-users mailing list
>>> rtems-users at rtems.org
>>> http://www.rtems.org/mailman/listinfo/rtems-users
>
> Hi, I have other question.
>
> When use ifr_flagshigh? I can't find any reference of this variable.
> Some if flags need high bits, like IFF_PPROMISC.
>
> In other word, why not change ifr_flags type from short to int?
>
> Thanks.
>

Yes, this looks pretty inconsistent.  I don't know why it was done this way. 
You can provide a patch if you like.

-- 
Sebastian Huber, embedded brains GmbH

Address : Dornierstr. 4, D-82178 Puchheim, Germany
Phone   : +49 89 189 47 41-16
Fax     : +49 89 189 47 41-09
E-Mail  : sebastian.huber at embedded-brains.de
PGP     : Public key available on request.

Diese Nachricht ist keine geschäftliche Mitteilung im Sinne des EHUG.



More information about the users mailing list