On Monday 24 October 2005 18:07, Andi Kleen wrote:
>
> ETH_P_* is managed by the IEEE (part of the ethernet standard) You would
> need to ask them.
I need a pseudo protocol like it is already done for some internal protocol,
e.g.:
/*
* Non DIX types. Won't clash for 1500 types.
*/
[.....]
#define ETH_P_WAN_PPP 0x0007 /* Dummy type for WAN PPP frames*/
#define ETH_P_PPP_MP 0x0008 /* Dummy type for PPP MP frames */
#define ETH_P_LOCALTALK 0x0009 /* Localtalk pseudo type */
#define ETH_P_PPPTALK 0x0010 /* Dummy type for Atalk over PPP*/
[....]
> Normally Linux doesn't pre-allocate ABIs for out of tree code, mostly
> because it is not guaranteed that the interface won't change there.
Could you clarify? What interface do you fear that could change?
My main concern is that without an ARPHRD_ constant guaranteed to be unique I
wouldn't be able to propose a patch for libpcap people to map the (already
allocated) DLT_ to the correct ARPHRD_.
Bye,
--
Daniele Orlandi
|