aboutsummaryrefslogtreecommitdiffstats
path: root/net/802/hippi.c
diff options
context:
space:
mode:
Diffstat (limited to 'net/802/hippi.c')
-rw-r--r--net/802/hippi.c28
1 files changed, 0 insertions, 28 deletions
diff --git a/net/802/hippi.c b/net/802/hippi.c
index 2e03f8259dd5..ade1a52cdcff 100644
--- a/net/802/hippi.c
+++ b/net/802/hippi.c
@@ -91,33 +91,6 @@ static int hippi_header(struct sk_buff *skb, struct net_device *dev,
91 91
92 92
93/* 93/*
94 * Rebuild the HIPPI MAC header. This is called after an ARP has
95 * completed on this sk_buff. We now let ARP fill in the other fields.
96 */
97
98static int hippi_rebuild_header(struct sk_buff *skb)
99{
100 struct hippi_hdr *hip = (struct hippi_hdr *)skb->data;
101
102 /*
103 * Only IP is currently supported
104 */
105
106 if(hip->snap.ethertype != htons(ETH_P_IP))
107 {
108 printk(KERN_DEBUG "%s: unable to resolve type %X addresses.\n",skb->dev->name,ntohs(hip->snap.ethertype));
109 return 0;
110 }
111
112 /*
113 * We don't support dynamic ARP on HIPPI, but we use the ARP
114 * static ARP tables to hold the I-FIELDs.
115 */
116 return arp_find(hip->le.daddr, skb);
117}
118
119
120/*
121 * Determine the packet's protocol ID. 94 * Determine the packet's protocol ID.
122 */ 95 */
123 96
@@ -186,7 +159,6 @@ EXPORT_SYMBOL(hippi_neigh_setup_dev);
186 159
187static const struct header_ops hippi_header_ops = { 160static const struct header_ops hippi_header_ops = {
188 .create = hippi_header, 161 .create = hippi_header,
189 .rebuild = hippi_rebuild_header,
190}; 162};
191 163
192 164