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

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


(Please CC: me responses; I'm not subscribed)

Hey, this one-line patch (I diffed it against 2.4.17-rc2) defines the
ARPHRD_IEEE80211_PRISM arp type.

A little background. The prism2 series of wireless ethernet cards are
capable of operating in true promiscious mode, capturing raw 802.11
frames. When it's doing this, the driver prepends a special monitoring
header onto the packet with useful information.

Since the v0.1.6 release of the driver, this was handled via NETLINK
broadcasts.. but that's Bad(tm). Instead, the next version (0.1.14) of
the driver will support raw capture using the PF_PACKET interface, which
means that it'll need its own arp type for libpcap to recognize and
handle the special headers. (without the header, it sends standard
ARPHRD_IEEE80211 frames)

libpcap/ethereal/etc already have dissectors for this special header, so
all that's left is to define a fixed arp type.

So, I humbly submit this patch for inclusion.

Thanks!

-- 
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