K 10 svn:author V 5 harti K 8 svn:date V 27 2003-03-13T12:44:06.000000Z K 7 svn:log V 480 This corrects a longstanding endian bug in processing LLC/SNAP encoded frames. A comment in if_atm.h suggests that both macros, that for extracting the ethertype and that for inserting it, handle their argument in host byte order. In fact, the inserting macro treated its argument as an opposite host order short and the calling code feeds it the result of htons(). This happens to work on i386, but fails on sparc. Make the macro use real host endianess. Reviewed by: kjc, atm@ END