diff options
author | 2005-08-09 19:31:17 -0700 | |
---|---|---|
committer | 2005-08-29 15:31:42 -0700 | |
commit | 6f1cf16582160c4839f05007c978743911aa022b (patch) | |
tree | 78c87b929e9c0469869db1c91a6691fe6ca689c6 /include/linux/hippidevice.h | |
parent | [NET]: Introduce SO_{SND,RCV}BUFFORCE socket options (diff) | |
download | linux-6f1cf16582160c4839f05007c978743911aa022b.tar.gz linux-6f1cf16582160c4839f05007c978743911aa022b.tar.bz2 linux-6f1cf16582160c4839f05007c978743911aa022b.zip |
[NET]: Remove HIPPI private from skbuff.h
This removes the private element from skbuff, that is only used by
HIPPI. Instead it uses skb->cb[] to hold the additional data that is
needed in the output path from hard_header to device driver.
PS: The only qdisc that might potentially corrupt this cb[] is if
netem was used over HIPPI. I will take care of that by fixing netem
to use skb->stamp. I don't expect many users of netem over HIPPI
Signed-off-by: Stephen Hemminger <shemminger@osdl.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/linux/hippidevice.h')
-rw-r--r-- | include/linux/hippidevice.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/include/linux/hippidevice.h b/include/linux/hippidevice.h index 9debe6bbe5f0..9bc3b688d2ee 100644 --- a/include/linux/hippidevice.h +++ b/include/linux/hippidevice.h @@ -26,6 +26,11 @@ #include <linux/if_hippi.h> #ifdef __KERNEL__ + +struct hippi_cb { + __u32 ifield; +}; + extern unsigned short hippi_type_trans(struct sk_buff *skb, struct net_device *dev); |