Re: [PATCH] - 2.4.17 - if_arp.h - Add the Prism2 ARP type

From: Stuffed Crust (pizza@shaftnet.org)
Date: Sat Dec 22 2001 - 00:42:28 EST


On Fri, Dec 21, 2001 at 09:06:55PM -0800, David S. Miller wrote:
> From: Stuffed Crust <pizza@shaftnet.org>
> Date: Sat, 22 Dec 2001 00:01:05 -0500
>
> Hey, this one-line patch (I diffed it against 2.4.17-rc2) defines the
> ARPHRD_IEEE80211_PRISM arp type.
>
> Is the allocation of this number standardized somewhere?

Yes and no. There are a handful of standard hardware ARP types defined
in RFC826, I believe. [checks.] No, I guess not. But those are
definately standardized, probably by the IEEE or somesuch.

Meanwhile, the "Dummy types for non ARP hardware" list in if_arp.h seems
to be the authoratitive non-standard standard, as it starts at 256 and
seems to pretty much sequentially count up with the occasional large
gap.

Linux's PF_SOCKET code uses this to identify the packet type
coming off the wire.

The ARPHRD_IEEE80211 type was defined in 2.4.6 by incrementing the
number by one and appending it to the end of the list. I just
incremented the protocol number by one for the _PRISM type.

I have no idea if there was some master list somewhere; google didn't
seem to return any hits other than the linux source.

 - Pizza

-- 
Solomon Peachy                                    pizzaATfucktheusers.org
I ain't broke, but I'm badly bent.                           ICQ# 1318344
Patience comes to those who wait.
    ...It's not "Beanbag Love", it's a "Transanimate Relationship"...


- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Sun Dec 23 2001 - 21:00:26 EST